leftPadding: 0
spacing: 0
+ // TODO: Rather than setting all these palette colours manually,
+ // create a custom style and do it for all components globally
+ palette {
+ text: Style.ncTextColor
+ windowText: Style.ncTextColor
+ buttonText: Style.ncTextColor
+ brightText: Style.ncTextBrightColor
+ highlight: Style.lightHover
+ highlightedText: Style.ncTextColor
+ light: Style.lightHover
+ midlight: Style.lightHover
+ mid: Style.ncSecondaryTextColor
+ dark: Style.menuBorder
+ button: Style.menuBorder
+ window: Style.ncTextColor // NOTE: Fusion theme uses darker window colour for the border of the checkbox
+ base: Style.backgroundColor
+ toolTipBase: Style.backgroundColor
+ toolTipText: Style.ncTextColor
+ }
+
onToggled: function() {
selectedChanged()
}
Layout.fillWidth: true
+ // TODO: Rather than setting all these palette colours manually,
+ // create a custom style and do it for all components globally
+ palette {
+ text: Style.ncTextColor
+ windowText: Style.ncTextColor
+ buttonText: Style.ncTextColor
+ brightText: Style.ncTextBrightColor
+ highlight: Style.lightHover
+ highlightedText: Style.ncTextColor
+ light: Style.lightHover
+ midlight: Style.lightHover
+ mid: Style.ncSecondaryTextColor
+ dark: Style.menuBorder
+ button: Style.menuBorder
+ window: Style.ncTextColor // NOTE: Fusion theme uses darker window colour for the border of the checkbox
+ base: Style.backgroundColor
+ toolTipBase: Style.backgroundColor
+ toolTipText: Style.ncTextColor
+ }
+
text: qsTr('All local versions')
leftPadding: 0
Layout.fillWidth: true
+ // TODO: Rather than setting all these palette colours manually,
+ // create a custom style and do it for all components globally
+ palette {
+ text: Style.ncTextColor
+ windowText: Style.ncTextColor
+ buttonText: Style.ncTextColor
+ brightText: Style.ncTextBrightColor
+ highlight: Style.lightHover
+ highlightedText: Style.ncTextColor
+ light: Style.lightHover
+ midlight: Style.lightHover
+ mid: Style.ncSecondaryTextColor
+ dark: Style.menuBorder
+ button: Style.menuBorder
+ window: Style.ncTextColor // NOTE: Fusion theme uses darker window colour for the border of the checkbox
+ base: Style.backgroundColor
+ toolTipBase: Style.backgroundColor
+ toolTipText: Style.ncTextColor
+ }
+
text: qsTr('All server versions')
leftPadding: 0
DialogButtonBox {
Layout.fillWidth: true
+ // TODO: Rather than setting all these palette colours manually,
+ // create a custom style and do it for all components globally
+ palette {
+ text: Style.ncTextColor
+ windowText: Style.ncTextColor
+ buttonText: Style.ncTextColor
+ brightText: Style.ncTextBrightColor
+ highlight: Style.lightHover
+ highlightedText: Style.ncTextColor
+ light: Style.lightHover
+ midlight: Style.lightHover
+ mid: Style.ncSecondaryTextColor
+ dark: Style.menuBorder
+ button: Style.menuBorder
+ window: Style.backgroundColor
+ base: Style.backgroundColor
+ toolTipBase: Style.backgroundColor
+ toolTipText: Style.ncTextColor
+ }
+
Button {
text: qsTr("Resolve conflicts")
DialogButtonBox.buttonRole: DialogButtonBox.AcceptRole
}
Rectangle {
- color: Theme.systemPalette.window
+ color: Style.backgroundColor
anchors.fill: parent
z: 1
}