works
This commit is contained in:
@@ -19,12 +19,12 @@ FloatingWindow {
|
||||
|
||||
visible: false
|
||||
|
||||
color: Pywal.special.background
|
||||
color: Settings.special.background
|
||||
|
||||
WrapperMouseArea {
|
||||
ClippingRectangle {
|
||||
//anchors.fill: parent
|
||||
color: Pywal.special.background
|
||||
color: Settings.special.background
|
||||
id: main
|
||||
|
||||
radius: root.radius
|
||||
@@ -55,7 +55,7 @@ FloatingWindow {
|
||||
implicitWidth: 40
|
||||
implicitHeight: 40
|
||||
radius: root.radius
|
||||
color: index == selected ? Pywal.colors.color13 : Pywal.colors.color4
|
||||
color: index == selected ? Settings.colors.color13 : Settings.colors.color4
|
||||
//LauncherButton { anchors.centerIn: parent }
|
||||
Text {
|
||||
font.pointSize: 14
|
||||
@@ -82,14 +82,14 @@ FloatingWindow {
|
||||
return "";
|
||||
}
|
||||
anchors.centerIn: parent
|
||||
color: Pywal.colors.color0
|
||||
color: Settings.colors.color0
|
||||
}
|
||||
}
|
||||
onEntered: child.color = Qt.binding(() => index == selected ? Pywal.colors.color13 : Pywal.colors.color12)
|
||||
onExited: child.color = Qt.binding(() => index == selected ? Pywal.colors.color13 : Pywal.colors.color4)
|
||||
onEntered: child.color = Qt.binding(() => index == selected ? Settings.colors.color13 : Settings.colors.color12)
|
||||
onExited: child.color = Qt.binding(() => index == selected ? Settings.colors.color13 : Settings.colors.color4)
|
||||
onClicked: {
|
||||
selected = index
|
||||
child.color = Qt.binding(() => index == selected ? Pywal.colors.color13 : Pywal.colors.color4)
|
||||
child.color = Qt.binding(() => index == selected ? Settings.colors.color13 : Settings.colors.color4)
|
||||
}
|
||||
hoverEnabled: true
|
||||
}
|
||||
@@ -101,7 +101,7 @@ FloatingWindow {
|
||||
implicitWidth: parent.width - tabs.width - 2 * parent.spacing - rTabs.width - 2 * parent.spacing
|
||||
implicitHeight: parent.height
|
||||
radius: root.radius
|
||||
color: Pywal.colors.color1
|
||||
color: Settings.colors.color1
|
||||
|
||||
Loader {
|
||||
anchors.fill: parent
|
||||
@@ -159,7 +159,7 @@ FloatingWindow {
|
||||
implicitHeight: 40
|
||||
radius: root.radius
|
||||
property bool use: false
|
||||
color: use ? Pywal.colors.color13 : Pywal.colors.color4
|
||||
color: use ? Settings.colors.color13 : Settings.colors.color4
|
||||
//LauncherButton { anchors.centerIn: parent }
|
||||
Text {
|
||||
font.pointSize: 14
|
||||
@@ -186,11 +186,11 @@ FloatingWindow {
|
||||
return "";
|
||||
}
|
||||
anchors.centerIn: parent
|
||||
color: Pywal.colors.color0
|
||||
color: Settings.colors.color0
|
||||
}
|
||||
}
|
||||
onEntered: child.color = Qt.binding(() => child.use ? Pywal.colors.color13 : Pywal.colors.color12)
|
||||
onExited: child.color = Qt.binding(() => child.use ? Pywal.colors.color13 : Pywal.colors.color4)
|
||||
onEntered: child.color = Qt.binding(() => child.use ? Settings.colors.color13 : Settings.colors.color12)
|
||||
onExited: child.color = Qt.binding(() => child.use ? Settings.colors.color13 : Settings.colors.color4)
|
||||
onClicked: {
|
||||
child.use = !child.use
|
||||
|
||||
|
||||
Reference in New Issue
Block a user