mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Ensure that settingPickDialog uses the themed controls
CURA-8685
This commit is contained in:
parent
b45b3faa3c
commit
713a5cb4e5
3 changed files with 7 additions and 6 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue