Remco Burema
32b52c6166
Qt5->Qt6: Rectify constant locations: UserRole, CppOwnership
...
part of CURA-8591
2021-12-28 14:54:56 +01:00
Remco Burema
abe7c1bf7f
Search/replace Qt5->Qt6.
...
part of upgrading Qt to v6.2: CURA-8591
2021-12-28 14:46:02 +01:00
Ghostkeeper
23904e1dca
Don't cache machine manager and application
...
This makes testing harder. Also fixed the typing of the application this way.
Contributes to issue CURA-6793.
2019-10-08 14:16:19 +02:00
Jaime van Kessel
17ce0f5eb1
Remove unused imports
2019-10-08 10:59:37 +02:00
Ghostkeeper
99bf82dee3
Fix displaying list of nozzles
...
Make it use the ContainerTree structure since the original VariantManager's structure is not populated any more.
Contributes to issue CURA-6600.
2019-08-23 13:22:25 +02:00
Ghostkeeper
0302ae4257
Don't find any variants if the machine says it doesn't have them
...
Even if there might be a matching variant...
Contributes to issue CURA-6600.
2019-08-22 15:44:41 +02:00
Lipu Fei
a02bccf74d
Fix NozzleModel to work with new ListModel data update
...
CURA-6015
ListModels should not modify items directly. All ListModels should use
setItems() and the insertions/removals/modifications will be done in
setItems() itself.
2018-12-14 13:00:06 +01:00
Lipu Fei
a303f394c8
Move VariantType to VariantType.py
...
Less circular dependencies for imports.
2018-08-02 16:11:55 +02:00
Ghostkeeper
0078340175
Only update NozzleModel when machine changes
...
The available nozzles only change upon changing machines.
Contributes to issue CURA-4606.
2018-03-12 16:19:47 +01:00
Lipu Fei
220e4a64c6
Fix VariantManager.getVariant() and simplify NozzleModel
...
CURA-4606
2018-03-12 15:25:29 +01:00
Ghostkeeper
bb7fccbd48
Add logging for every setting model update
...
You can clearly see that some models are updated 4 times or so now.
Contributes to issue CURA-4606.
2018-03-12 14:48:56 +01:00
Ghostkeeper
d8853b8a98
Sort profile models case-insensitively
...
Cast every sorting key to uppercase before doing this. Don't cast to lowercase or there will be problems with characters that don't have lowercase and with Turkish dotted i vs. undotted i.
Fixes #3460 .
2018-03-09 11:40:33 +01:00
Lipu Fei
76f431af76
WIP: Only fetch variants if the machine has any
2018-02-21 11:06:28 +01:00
Lipu Fei
1c8f63e47f
WIP: Fix for buildplate
2018-02-17 15:08:47 +01:00
Lipu Fei
236bd09d08
WIP: Refactor quality model files
2018-02-17 14:58:56 +01:00
Lipu Fei
13d745f07d
WIP: Move NozzleModel.py
2018-02-16 14:23:11 +01:00