qmlformat
This commit is contained in:
parent
ff7dff8a6d
commit
0c044c7b81
9 changed files with 338 additions and 333 deletions
|
|
@ -25,7 +25,7 @@ Rectangle {
|
|||
anchors.fill: parent
|
||||
cursorShape: Qt.PointingHandCursor
|
||||
hoverEnabled: true
|
||||
onEntered: root.onEntered()
|
||||
onEntered: root.onEntered()
|
||||
onExited: root.onExited()
|
||||
onClicked: root.onClicked()
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,16 +16,19 @@ Loader {
|
|||
sourceComponent: panel
|
||||
|
||||
onActiveChanged: {
|
||||
if (active && item && item.show) item.show()
|
||||
if (active && item && item.show)
|
||||
item.show()
|
||||
}
|
||||
|
||||
onItemChanged: {
|
||||
if (active && item && item.show) item.show()
|
||||
if (active && item && item.show)
|
||||
item.show()
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: loader.item
|
||||
function onDismissed() { loader.isLoaded = false }
|
||||
function onDismissed() {
|
||||
loader.isLoaded = false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ PanelWindow {
|
|||
property bool showOverlay: Settings.settings.dimPanels
|
||||
property int topMargin: Style.barHeight * scaling
|
||||
property color overlayColor: showOverlay ? Colors.overlay : "transparent"
|
||||
signal dismissed()
|
||||
signal dismissed
|
||||
|
||||
function hide() {
|
||||
visible = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue