mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-10 08:17:49 -06:00
Suggested changes
CURA-8849
This commit is contained in:
parent
142f1823b3
commit
6f8470167f
3 changed files with 3 additions and 4 deletions
|
@ -25,7 +25,7 @@ class IntentSelectionModel(ListModel):
|
||||||
DescriptionRole = Qt.ItemDataRole.UserRole + 4
|
DescriptionRole = Qt.ItemDataRole.UserRole + 4
|
||||||
IconRole = Qt.ItemDataRole.UserRole + 5
|
IconRole = Qt.ItemDataRole.UserRole + 5
|
||||||
|
|
||||||
def __init__(self, parent=QAbstractListModel) -> None:
|
def __init__(self, parent = None) -> None:
|
||||||
super().__init__(parent)
|
super().__init__(parent)
|
||||||
|
|
||||||
self.addRoleName(self.NameRole, "name")
|
self.addRoleName(self.NameRole, "name")
|
||||||
|
|
|
@ -14,7 +14,7 @@ Rectangle
|
||||||
id: base
|
id: base
|
||||||
height: 60
|
height: 60
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
color: mouseArea.containsMouse || selected ? UM.Theme.getColor("um_blue_1") : UM.Theme.getColor("background_1")
|
color: mouseArea.containsMouse || selected ? UM.Theme.getColor("background_3") : UM.Theme.getColor("background_1")
|
||||||
|
|
||||||
property bool selected: false
|
property bool selected: false
|
||||||
property string profileName: ""
|
property string profileName: ""
|
||||||
|
|
|
@ -206,8 +206,7 @@
|
||||||
"um_orange_9": [64, 45, 32, 255],
|
"um_orange_9": [64, 45, 32, 255],
|
||||||
"um_yellow_1": [255, 248, 225, 255],
|
"um_yellow_1": [255, 248, 225, 255],
|
||||||
"um_yellow_5": [253, 209, 58, 255],
|
"um_yellow_5": [253, 209, 58, 255],
|
||||||
"um_yellow_9": [64, 58, 36, 255],
|
"um_yellow_9": [64, 58, 36, 255]
|
||||||
"um_blue_1": [232, 240, 253, 255]
|
|
||||||
},
|
},
|
||||||
|
|
||||||
"colors": {
|
"colors": {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue