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
Jaime van Kessel
fe8a3fc61d
Prevent crash when setting non default intent category
2021-12-10 09:51:09 +01:00
Ghostkeeper
a0decbf8c4
Code style: Spaces around binary operators
...
Contributes to issue CURA-7672.
2020-08-27 14:38:40 +02:00
Jaime van Kessel
2b4d9f648e
Ensure that quality_changes profile is correctly created on profile duplication
...
I have no idea why it wasn't being created, but it has been wrong for a very long time.
Fixes #8245
2020-08-27 14:34:09 +02:00
Jaime van Kessel
eb17e146bc
Fix some quality_changes being incorrectly shown for some configurations
...
CURA-7589
2020-08-06 16:59:30 +02:00
Jaime van Kessel
c9239ed32e
Hide unavailable quality groups in profile preferences
...
CURA-7589
2020-08-06 16:01:11 +02:00
Ghostkeeper
e98c26a33c
Don't use deprecated extruders property
...
Done during Turbo Testing and Tooling.
2020-05-29 18:07:08 +02:00
Nino van Hooff
89f0970a88
Remove trailing whitespace from Python files
2020-05-29 14:30:33 +02:00
Jelle Spijker
120541a8db
Updated comments in Models
...
Converted doxygen style comments to reStructuredText style in the files
found in Cura/cura/Model directory recursively using the script
dox_2_rst.py (provided in the Uranium repo). Comments were manually
checked and changed if needed.
Note: dox_2rst.py struggles with decorated functions.
2020-05-08 18:59:38 +02:00
Jaime van Kessel
04304c1515
Correctly sort the intents in QualityManagementModel
...
CURA-6956
2019-11-05 14:59:44 +01:00
Jaime van Kessel
ff8d8735de
Make the intents in QualityManagementModel also translated
...
CURA-6956
2019-11-05 14:57:44 +01:00
Lipu Fei
5149baf593
Fix custom quality fetching
...
CURA-6913
2019-10-21 09:06:07 +02:00
Lipu Fei
ae6f0eb77e
Re-fix quality model update
...
CURA-6883
2019-10-15 15:55:21 +02:00
Ghostkeeper
f93f26444b
Revert "Fix QualityManagementModel update"
...
This reverts commit fe8b7a48e6c4e7d4dc05d21f417a9968bef73cb3.
This commit caused Cura to crash when creating a custom quality profile.
Contributes to issue CURA-6883.
2019-10-15 15:33:41 +02:00
Lipu Fei
fe8b7a48e6
Fix QualityManagementModel update
...
CURA-6883
2019-10-15 14:23:50 +02:00
Lipu Fei
54f7892f2d
Sort built-in qualities by layer height for all
...
CURA-6883
2019-10-14 15:25:30 +02:00
Lipu Fei
e4fa89ea4b
Simplify quality display name (label name) generation
...
CURA-6706
2019-10-07 13:28:12 +02:00
Lipu Fei
2033f24a17
Use catalog to translate intent category name
...
CURA-6706
2019-10-07 12:41:52 +02:00
Lipu Fei
c42feae11c
Make intents work on quality management page
...
CURA-6706
2019-10-07 09:22:47 +02:00
Lipu Fei
a93fd982dd
Fix renaming custom profile
...
CURA-6842
2019-10-02 23:59:48 +02:00
Ghostkeeper
f1299589c9
Remove debug prints
...
Contributes to issue CURA-6600.
2019-09-12 15:49:27 +02:00
Ghostkeeper
cb146b586d
Emit ContainerRegistry's containerMetaDataChanged when name changes
...
If we properly call the setName() function on the container it'll emit the signal that the metadata changes.
This fixes the updating of the profiles list when you rename a container.
Contributes to issue CURA-6600.
2019-09-12 13:22:57 +02:00
Ghostkeeper
d6e010f22b
Fix iterating over all stacks
...
Contributes to issue CURA-6600.
2019-09-11 17:29:10 +02:00
Ghostkeeper
f865151e82
Don't create intent for global stack when duplicating
...
Contributes to issue CURA-6600.
2019-09-11 17:28:42 +02:00
Ghostkeeper
2b96543cd3
Store intent category in metadata of quality_changes as well
...
This is necessary in order to restore it properly.
Contributes to issue CURA_6600.
2019-09-11 16:58:11 +02:00
Ghostkeeper
f8472d6414
Fix changing name of profiles in quality changes group
...
Because quality changes don't have nodes any more.
Contributes to issue CURA-6600.
2019-09-02 18:00:04 +02:00
Ghostkeeper
a1e6ba615c
Don't use isinstance to check for extruder stack vs. global
...
Just use the metadata available.
Contributes to issue CURA-6600.
2019-09-02 17:44:28 +02:00
Ghostkeeper
297b430712
Fix getting container registry
...
It's not in the fields of this class.
Contributes to issue CURA-6600.
2019-09-02 17:42:17 +02:00
Ghostkeeper
b5d32a9b70
Move createQualityChanges function to QualityManagementModel
...
This function is specific to the management page (for the most part; some things seem to call the _createQualityChanges private function nonetheless).
Contributes to issue CURA-6600.
2019-09-02 17:07:18 +02:00
Ghostkeeper
9614cef135
Move duplicateQualityChanges to QualityManagementModel
...
This is specific to the quality management page, so moving it here prevents QualityManager from becoming a big ball of spaghetti again.
Contributes to issue CURA-6600.
2019-08-29 09:02:18 +02:00
Ghostkeeper
b046ff6683
Fix updating quality management page profile list
...
When a custom profile gets added, deleted or renamed we need to update our model.
Contributes to issue CURA-6600.
2019-08-28 16:54:41 +02:00
Ghostkeeper
5fadc7019d
Move renameQualityChangesGroup to QualityManagementModel
...
Contributes to issue CURA-6600.
2019-08-28 16:31:50 +02:00
Ghostkeeper
b3fd310d37
Move removeQualityChangesGroup to QualityManagementModel
...
This is an operation specific to the quality management page, so it should be located there.
Contributes to issue CURA-6600.
2019-08-28 15:21:33 +02:00
Ghostkeeper
972531b0a6
No longer update upon switching active profile
...
It's not necessary since our model doesn't depend on that.
Contributes to issue CURA-6600.
2019-08-28 08:49:28 +02:00
Ghostkeeper
944d1090cf
Use ContainerTree to get current quality groups and MachineManager to update
...
This removes all dependencies from the quality manager.
Contributes to issue CURA-6600.
2019-08-28 08:42:39 +02:00
Remco Burema
d5a8b2640f
Fix 'getQualityChangesGroups' now gives a list issues.
...
part of CURA-6600
2019-08-27 15:46:47 +02:00
Ghostkeeper
d4cd5a7ea5
Add convenience function to get quality groups for current printer
...
This is used very often all over the code.
Contributes to issue CURA-6600.
2019-08-15 17:01:22 +02:00
Ghostkeeper
3f944462ed
Use ContainerTree to get quality groups
...
Contributes to issue CURA-6600.
2019-08-15 17:01:22 +02:00
Ghostkeeper
c49f912276
Merge branch '3.3'
2018-04-18 10:43:31 +02:00
Lipu Fei
1d4a70e839
Show all quality_changes on the quality management page
...
CURA-5218
2018-04-18 10:35:53 +02:00
Ghostkeeper
74a0da14bf
Don't crash if showing this before any machine is added
...
There must be no quality profiles then.
Contributes to issue CURA-5045.
2018-03-27 09:37:04 +02: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
b74e2553e7
Use more descriptive variable names
2018-03-01 15:47:52 +01:00
Lipu Fei
d1c518f6d7
Fix the usage of protected variables in quality models
2018-03-01 15:44:06 +01:00
Lipu Fei
a395f93706
Add docs for quality models
2018-03-01 15:28:58 +01:00
Lipu Fei
27f7d16a57
WIP: Make import/export profile work
2018-02-19 21:47:12 +01:00
Jack Ha
7a78f9821f
CURA-4606 fixed Create profile
2018-02-19 16:15:35 +01:00
Lipu Fei
236bd09d08
WIP: Refactor quality model files
2018-02-17 14:58:56 +01:00