Ensure that settingPickDialog uses the themed controls

CURA-8685
This commit is contained in:
Jaime van Kessel 2022-02-15 15:38:08 +01:00
parent b45b3faa3c
commit 713a5cb4e5
3 changed files with 7 additions and 6 deletions

View file

@ -4,8 +4,8 @@
import QtQuick 2.2 import QtQuick 2.2
import QtQuick.Controls 2.1 import QtQuick.Controls 2.1
import UM 1.1 as UM import UM 1.5 as UM
import Cura 1.0 as Cura
import ".." import ".."
Button { Button {
@ -33,7 +33,7 @@ Button {
source: UM.Theme.getIcon(definition.icon) source: UM.Theme.getIcon(definition.icon)
color: base.hovered ? palette.highlight : palette.buttonText color: base.hovered ? palette.highlight : palette.buttonText
} }
Label UM.Label
{ {
id: label id: label
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter

View file

@ -6,6 +6,7 @@ import QtQuick.Layouts 1.1
import QtQuick.Controls 2.1 import QtQuick.Controls 2.1
import UM 1.2 as UM import UM 1.2 as UM
import Cura 1.0 as Cura
UM.TooltipArea UM.TooltipArea
{ {
@ -15,7 +16,7 @@ UM.TooltipArea
width: childrenRect.width; width: childrenRect.width;
height: childrenRect.height; height: childrenRect.height;
CheckBox Cura.CheckBox
{ {
id: check id: check

View file

@ -42,7 +42,7 @@ UM.Dialog
listview.model.filter = new_filter listview.model.filter = new_filter
} }
TextField Cura.TextField
{ {
id: filterInput id: filterInput
selectByMouse: true selectByMouse: true
@ -60,7 +60,7 @@ UM.Dialog
onTextChanged: settingPickDialog.updateFilter() onTextChanged: settingPickDialog.updateFilter()
} }
CheckBox Cura.CheckBox
{ {
id: toggleShowAll id: toggleShowAll
anchors anchors