Nino van Hooff
8322a36548
Fix some QML warnings in the MaterialsPage
2019-10-16 16:59:52 +02:00
Ghostkeeper
4a68e7ec95
Fix favorite materials without material manager
...
We just track it via the preference value itself rather than duplicating that in any other data structure. It's simple enough.
Contributes to issue CURA-6776.
2019-09-20 09:57:36 +02:00
Jaime van Kessel
914d2e98e9
Fix the disabling of the material setting fields.
...
This was caused by using 2 different modelsItems.
2019-07-30 11:29:49 +02:00
Ghostkeeper
be4e754984
Remove cache of material manager
...
It doesn't make the code much simpler because the cache is also not a local variable.
Contributes to issue CURA-6679.
2019-07-24 16:04:40 +02:00
Remco Burema
fea8262656
Listen to 'material-changed' since it doesn't update immediately.
...
part of CURA-6590
2019-07-03 16:14:08 +02:00
Jaime van Kessel
99e6ec9509
Fix the last material qml warnings
2019-05-16 14:29:05 +02:00
Ghostkeeper
5bf260f524
Don't break binding of is_favorite upon clicking star
...
We shouldn't override it here because doing that causes the binding to break. Just remove the favourite and let the model update itself, thus removing the star.
Contributes to issue CURA-6032.
2018-12-20 14:40:37 +01:00
Ghostkeeper
f3a0b44d5e
Simplify is_favorite condition
...
No stupid ternary operators necessary.
Contributes to issue CURA-6032.
2018-12-20 14:40:29 +01:00
Ghostkeeper
c0c45519a0
Change another useless rectangle into an item
...
It's more efficient to render. Also changed some code style.
Contributes to issue CURA-6032.
2018-12-18 16:49:41 +01:00
Ghostkeeper
4d87c46423
Remove sourceSize.width: width from all RecolorImages
...
It is now the default in Uranium.
Contributes to issue CURA-5876.
2018-12-04 15:04:51 +01:00
Jaime van Kessel
d1a51b26f7
Simplified QML expression
2018-10-08 17:22:04 +02:00
Aleksei S
51e7b6c388
Change font style for active material in preferences
...
CURA-5747
2018-10-03 10:30:48 +02:00
Diego Prado Gesto
bafc2b98c9
Reuse MaterialBrandSection component for Favorites, Generic and branded
...
materials.
This component will show different children depending on the
hasMaterialTypes flag.
Adjust some small UI issues.
Contributes to CURA-5682.
2018-09-17 12:08:41 +02:00
Diego Prado Gesto
56dcc2dded
Highlight the material that is currently selected.
...
Contributes to CURA-5682.
2018-09-12 14:09:29 +02:00
Diego Prado Gesto
f298d37134
WIP: Moving current selected material to the material list instead of
...
the page.
Change all the previous references to the currentItem in the page.
Automatically and correctly select the element that is selected in the
extruder.
Contributes to CURA-5682.
2018-09-11 22:12:54 +02:00
Ghostkeeper
c1ef9abf1d
Fix code style
...
These changed in the same pull request so I'll remove them here.
Contributes to issue CURA-5682.
2018-09-06 17:23:16 +02:00
Ian Paschal
9e56d6d29f
Improved expansion behavior
...
Contributes to CURA-5682
- Active material is now expanded by default when opening the manager
- Expanded and collapsed sections are saved to preferences
- Sections are now highlighted when collapsed and having a selected material inside
- Bug with losing focus between fields is not yet fixed
2018-09-05 17:16:06 +02:00
Ian Paschal
13069a2f99
Some file renaming
...
Contributes to CURA-5378
2018-08-24 11:06:44 +02:00