mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-04 02:34:45 +00:00
visible button
This commit is contained in:
parent
3b33ffc49c
commit
7347c671a3
1 changed files with 4 additions and 12 deletions
|
|
@ -22,7 +22,7 @@ import QtQuick.Layouts 1.1
|
||||||
import QtQuick.Window 2.2
|
import QtQuick.Window 2.2
|
||||||
import org.kde.taskmanager 0.1 as TaskManager
|
import org.kde.taskmanager 0.1 as TaskManager
|
||||||
import org.kde.plasma.core 2.1 as PlasmaCore
|
import org.kde.plasma.core 2.1 as PlasmaCore
|
||||||
import org.kde.plasma.components 2.0 as PlasmaComponents
|
import org.kde.plasma.components 3.0 as PlasmaComponents
|
||||||
import org.kde.plasma.private.nanoshell 2.0 as NanoShell
|
import org.kde.plasma.private.nanoshell 2.0 as NanoShell
|
||||||
|
|
||||||
NanoShell.FullScreenOverlay {
|
NanoShell.FullScreenOverlay {
|
||||||
|
|
@ -184,23 +184,15 @@ NanoShell.FullScreenOverlay {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Rectangle {
|
PlasmaComponents.RoundButton {
|
||||||
color: theme.textColor
|
|
||||||
anchors {
|
|
||||||
fill: showDesktopButton
|
|
||||||
margins: -showDesktopButton.width/4
|
|
||||||
}
|
|
||||||
radius: width
|
|
||||||
}
|
|
||||||
Button {
|
|
||||||
id: showDesktopButton
|
id: showDesktopButton
|
||||||
height: units.iconSizes.medium
|
height: units.iconSizes.large
|
||||||
width: height
|
width: height
|
||||||
anchors {
|
anchors {
|
||||||
horizontalCenter: parent.horizontalCenter
|
horizontalCenter: parent.horizontalCenter
|
||||||
bottom: parent.bottom
|
bottom: parent.bottom
|
||||||
}
|
}
|
||||||
iconSource: "start-here-kde"
|
icon.name: "start-here-kde"
|
||||||
onClicked: {
|
onClicked: {
|
||||||
currentTaskIndex = -1;
|
currentTaskIndex = -1;
|
||||||
window.hide();
|
window.hide();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue