-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Add module interface Change-Id: I3554094c7c339d53ea20338f1b6a5031975a1cb3
- Loading branch information
1 parent
a3fcf55
commit 1dba994
Showing
19 changed files
with
331 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"groups": [ | ||
{ | ||
"key": "introduce", | ||
"name": "introduce", | ||
"groups": [ | ||
{ | ||
"key": "introduce", | ||
"name": "introduce", | ||
"options": [ | ||
{ | ||
"key": "DesktopMode", | ||
"name": "DesktopMode", | ||
"type": "desktopMode" | ||
} | ||
] | ||
}, | ||
{ | ||
"key": "desktopmode", | ||
"name": "desktopmode", | ||
"options": [ | ||
{ | ||
"key": "wmmode", | ||
"name": "wmmode", | ||
"type": "wmMode" | ||
} | ||
] | ||
}, | ||
{ | ||
"key": "iconmode", | ||
"name": "iconmode", | ||
"options": [ | ||
{ | ||
"key": "iconmode", | ||
"name": "iconmode", | ||
"type": "iconMode" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* | ||
* Copyright (C) 2017 ~ 2018 Deepin Technology Co., Ltd. | ||
* | ||
* Author: kirigaya <kirigaya@mkacg.com> | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
#include "moduleinterface.h" | ||
|
||
ModuleInterface::ModuleInterface(QWidget *parent) | ||
: QFrame(parent) | ||
, m_model(Model::Instance()) | ||
, m_worker(Worker::Instance()) | ||
{ | ||
|
||
} | ||
|
||
void ModuleInterface::setIconType(Model::IconType type) | ||
{ | ||
switch (type) { | ||
case Model::Big: | ||
updateBigIcon(); | ||
break; | ||
case Model::Small: | ||
updateSmaillIcon(); | ||
break; | ||
default: | ||
break; | ||
} | ||
} |
Oops, something went wrong.