mirror of
https://gitgud.io/wackyideas/aerothemeplasma.git
synced 2024-08-15 00:43:43 +00:00
Updated SevenStart
This commit is contained in:
parent
11d45faf9f
commit
ccbd602d6e
2 changed files with 3216 additions and 7 deletions
File diff suppressed because it is too large
Load diff
After Width: | Height: | Size: 115 KiB |
|
@ -44,11 +44,33 @@ Item {
|
||||||
|
|
||||||
property QtObject globalFavorites: rootModel.favoritesModel
|
property QtObject globalFavorites: rootModel.favoritesModel
|
||||||
property QtObject systemFavorites: rootModel.systemFavoritesModel
|
property QtObject systemFavorites: rootModel.systemFavoritesModel
|
||||||
|
PlasmaCore.DataSource {
|
||||||
|
id: menu_executable
|
||||||
|
engine: "executable"
|
||||||
|
connectedSources: []
|
||||||
|
onNewData: {
|
||||||
|
var exitCode = data["exit code"]
|
||||||
|
var exitStatus = data["exit status"]
|
||||||
|
var stdout = data["stdout"]
|
||||||
|
var stderr = data["stderr"]
|
||||||
|
exited(sourceName, exitCode, exitStatus, stdout, stderr)
|
||||||
|
disconnectSource(sourceName)
|
||||||
|
}
|
||||||
|
function exec(cmd) {
|
||||||
|
if (cmd) {
|
||||||
|
connectSource(cmd)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
signal exited(string cmd, int exitCode, int exitStatus, string stdout, string stderr)
|
||||||
|
}
|
||||||
|
|
||||||
function action_menuedit() {
|
function action_menuedit() {
|
||||||
processRunner.runMenuEditor();
|
processRunner.runMenuEditor();
|
||||||
}
|
}
|
||||||
|
function action_taskman() {
|
||||||
|
menu_executable.exec("ksysguard");
|
||||||
|
}
|
||||||
|
|
||||||
Component {
|
Component {
|
||||||
id: compactRepresentation
|
id: compactRepresentation
|
||||||
CompactRepresentation {}
|
CompactRepresentation {}
|
||||||
|
@ -56,7 +78,9 @@ Item {
|
||||||
|
|
||||||
Component {
|
Component {
|
||||||
id: menuRepresentation
|
id: menuRepresentation
|
||||||
MenuRepresentation {}
|
MenuRepresentation {
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Kicker.RootModel {
|
Kicker.RootModel {
|
||||||
|
@ -67,14 +91,14 @@ Item {
|
||||||
appNameFormat: plasmoid.configuration.appNameFormat
|
appNameFormat: plasmoid.configuration.appNameFormat
|
||||||
flat: true
|
flat: true
|
||||||
sorted: true
|
sorted: true
|
||||||
showSeparators: false
|
showSeparators: true
|
||||||
appletInterface: plasmoid
|
appletInterface: plasmoid
|
||||||
|
|
||||||
paginate: true
|
paginate: false
|
||||||
pageSize: plasmoid.configuration.numberColumns * plasmoid.configuration.numberRows
|
pageSize: plasmoid.configuration.numberColumns * plasmoid.configuration.numberRows
|
||||||
|
|
||||||
showAllApps: true
|
showAllApps: false
|
||||||
showRecentApps: false
|
showRecentApps: true
|
||||||
showRecentDocs: false
|
showRecentDocs: false
|
||||||
showRecentContacts: false
|
showRecentContacts: false
|
||||||
showPowerSession: false
|
showPowerSession: false
|
||||||
|
@ -168,7 +192,7 @@ Item {
|
||||||
|
|
||||||
visible: false
|
visible: false
|
||||||
|
|
||||||
imagePath: "widgets/viewitem"
|
imagePath: "widgets/menuitem"
|
||||||
prefix: "hover"
|
prefix: "hover"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -179,7 +203,12 @@ Item {
|
||||||
|
|
||||||
imagePath: "widgets/panel-background"
|
imagePath: "widgets/panel-background"
|
||||||
}
|
}
|
||||||
|
PlasmaCore.Svg {
|
||||||
|
id: arrowsSvg
|
||||||
|
|
||||||
|
imagePath: "widgets/arrows"
|
||||||
|
size: "16x16"
|
||||||
|
}
|
||||||
PlasmaComponents.Label {
|
PlasmaComponents.Label {
|
||||||
id: toolTipDelegate
|
id: toolTipDelegate
|
||||||
|
|
||||||
|
@ -197,6 +226,7 @@ Item {
|
||||||
|
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
plasmoid.setAction("menuedit", i18n("Edit Applications..."));
|
plasmoid.setAction("menuedit", i18n("Edit Applications..."));
|
||||||
|
plasmoid.setAction("taskman", i18n("Task Manager"));
|
||||||
|
|
||||||
rootModel.refreshed.connect(reset);
|
rootModel.refreshed.connect(reset);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue