4442 Commits

Author SHA1 Message Date
Remco Burema
b56c09bcf4 Fix recommended-menu layer-height-label for Qt-5.10.0
part of CURA-6598
2019-08-29 11:53:25 +02:00
Jaime van Kessel
c7b6133e3d Some UI polishing
CURA-6598
2019-08-29 11:53:25 +02:00
Jaime van Kessel
a3d3580e2a Remove buildplate menu
The menu wasn't used anymore and leaving it in just makes things more complicated
2019-08-29 11:53:25 +02:00
Jaime van Kessel
6220dfd153 Remove profile menu
CURA-6598
2019-08-29 11:53:25 +02:00
Jaime van Kessel
7c832e7ea3 Intents are now also displayed in active profile labels
CURA-6598
2019-08-29 11:53:25 +02:00
Jaime van Kessel
4520ee7e1c Added rounded corners to the intent menu
CURA-6598
2019-08-29 11:53:25 +02:00
Jaime van Kessel
0891abf8af Fix hover & highlighting for the qualities& intent menu
CURA-6598
2019-08-29 11:53:25 +02:00
Jaime van Kessel
5ab31df738 Add hover effect to quality/intent selector
CURA-6598
2019-08-29 11:53:25 +02:00
Jaime van Kessel
210a2aa6bb Add arrow indicator to the custom print setup
CURA-6598
2019-08-29 11:53:25 +02:00
Jaime van Kessel
d5bbc3f205 Remove reference to unknown component
CURA-6598
2019-08-29 11:53:25 +02:00
Jaime van Kessel
f7e6f22e6c Fix typo
CURA-6598
2019-08-29 11:53:25 +02:00
Jaime van Kessel
8445ebe8cf Remove menu that is no longer used
CURA-6598
2019-08-29 11:53:25 +02:00
Jaime van Kessel
87fedc2620 Fix elide for the variant in configuration menu 2019-08-29 11:53:25 +02:00
Jaime van Kessel
5acc3111e0 Some minor UI fixes
CURA-6598
2019-08-29 11:53:25 +02:00
Jaime van Kessel
6751dc4fc8 Remove unused QML component
CURA-6598
2019-08-29 11:53:25 +02:00
Jaime van Kessel
92be261178 Update the profile selector to new style for the intents
CURA-6598
2019-08-29 11:53:25 +02:00
Jaime van Kessel
7d65951f43 Refactor ComboBox to use states
CURA-6598
2019-08-29 11:53:25 +02:00
Jaime van Kessel
c51dfec29f Ensure that the intent category names are displayed coorectly in recommended
CURA-6598
2019-08-29 11:53:25 +02:00
Jaime van Kessel
94c2211e7f Further simplify the recommended print setup
CURA-6598
2019-08-29 11:53:25 +02:00
Jaime van Kessel
a9e09c6f54 Removed unused timer
CURA-6598
2019-08-29 11:53:25 +02:00
Jaime van Kessel
5401a4db15 Ensure that each intent gets it's own bar in recommended
CURA-6598
2019-08-29 11:53:19 +02:00
Jaime van Kessel
8d53ee90b4 Ensure that profile bar has no options selected if a quality_changes is active
CURA-6598
2019-08-29 11:40:02 +02:00
Jaime van Kessel
9e5082a42f Cleanup the qml a bit
CURA-6598
2019-08-29 11:40:02 +02:00
Jaime van Kessel
6b90975391 Replace the old settingSlider with the RadioButtonbar
CURA-6598
2019-08-29 11:40:02 +02:00
Jaime van Kessel
3b93a1914a Ensure the Label bar uses the theme
CURA-6598
2019-08-29 11:40:02 +02:00
Jaime van Kessel
ae406e2480 Fix the RadioCheckbar to work in Cura 2019-08-29 11:40:02 +02:00
Jaime van Kessel
a275e3de2b Add LabelBar component
CURA-6598
2019-08-29 11:40:02 +02:00
Jaime van Kessel
a66c074e97 Simplify the alignment code
CURA-6598
2019-08-29 11:40:02 +02:00
Jaime van Kessel
e47514d6dd Fix horizontal bar not coloring correct if last item is checkbox
CURA-6598
2019-08-29 11:40:02 +02:00
Jaime van Kessel
cc4dc6a27c Fix overlap if first option is radioButton
CURA-6598
2019-08-29 11:40:02 +02:00
Jaime van Kessel
abc6e5950b Fix alignment of inactiveMarker
CURA-6598
2019-08-29 11:40:02 +02:00
Jaime van Kessel
11c23b4fe9 Add first draft of the radiocheckbar
CURA-6598
2019-08-29 11:40:02 +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
21412986d3
Remove material manager from MaterialsPage
It is no longer used now that everything relevant has been moved to a separate class for this page specifically.

Contributes to issue CURA-6600.
2019-08-27 18:01:35 +02:00
Ghostkeeper
3952366798
Move createMaterial to MaterialManagementModel and simplify it a bit
We can reuse our duplicateMaterial function again but in a simpler way. Also finding the preferred material is simpler with our container tree.
However there seems to be a problem with finding the preferred material; it's not finding generic_pla for UM3 and AA0.4 anyway, and then falls back on a random material. This needs to be fixed in the variant node class.

Contributes to issue CURA-6600.
2019-08-27 17:21:22 +02:00
Ghostkeeper
1874a6453d
Move duplicateMaterial into MaterialManagementModel
To move away from the deprecated MaterialManager class.

Contributes to issue CURA-6600.
2019-08-27 17:21:21 +02:00
Remco Burema
c71660cc11 Fix occasional crash when entering profiles section.
Make QualityManagementModel into a singleton.
part of CURA-6600
2019-08-27 16:21:30 +02:00
Ghostkeeper
8346e465f6
Turn MaterialManagementModel into a singleton
Just like MaterialManager used to be. There can be only one instance of the page then.
This prevents a crash when Qt deletes the QObject because it's no longer used in the page when you close the preferences screen. But when you open it again it doesn't construct a new one. Now there is always one instance so that's not a problem any more. Also it allows other pages to access this item.

Contributes to issue CURA-6600.
2019-08-27 15:47:41 +02:00
Ghostkeeper
3dc7c7b61c
Move removeMaterial to MaterialManagementModel
Moving away from the MaterialManager.

Contributes to issue CURA-6600.
2019-08-27 15:47:40 +02:00
Ghostkeeper
99ccddefa4
Move setMaterialName to MaterialManagementModel
No longer use the material manager which is deprecated.

Contributes to issue CURA-6600.
2019-08-27 15:47:40 +02:00
Ghostkeeper
5b8ed91b04
Create new MaterialManagementModel and move canMaterialBeRemoved
Just like the QualityManagementModel, this class is intended to be used as proxy for the material management page in the preferences. I'm intending to move all relevant pyqtSlots from the material manager into this one. The advantage of this switch is that the material manager had no well-bounded scope and so tended to become a big mess of all sorts of functions. This one has a clear scope: serve as a proxy for the buttons you can press in the preferences screen for materials.

Contributes to issue CURA-6600.
2019-08-27 15:47:40 +02:00
Jaime van Kessel
d1a8ce54a1 Merge branch 'feature_intent' of github.com:Ultimaker/Cura into feature_intent_container_tree 2019-08-27 14:18:41 +02:00
Jaime van Kessel
1d9d411732 Merge branch 'master' of github.com:Ultimaker/Cura into feature_intent 2019-08-27 14:17:57 +02:00
Jaime van Kessel
867a881de9 Ensure bool and enum settings get control highlighted on hover 2019-08-27 13:38:55 +02:00
Jaime van Kessel
e7609fadf4 Deprecated the allActiveMaterialIds and replaced the single location where it was used
CURA-6600
2019-08-21 17:08:35 +02:00
Jaime van Kessel
7979fcd633 Fix warnings in the settings menu
CURA-6600
2019-08-21 17:07:58 +02:00
Ghostkeeper
9122d0cca4
Remove misleading text that says you could enter hostnames
We don't resolve the hostnames ever. You can only enter IP addresses.
2019-08-21 09:56:32 +02:00
Jaime van Kessel
8759aae73e Fix crash when materialManager could not be converted to QObject
No idea why this was causing issues, but this should also be a bit faster.

CURA-6600
2019-08-19 12:47:07 +02:00
Ghostkeeper
20201c65e6
Merge branch 'master' into feature_intent
Conflicts:
	resources/bundled_packages/cura.json -> 4.1 to 4.2 upgrade package added simultaneously
	tests/TestMachineManager.py -> Due to changes in conftest.py
	tests/conftest.py -> Simultaneously expanding the magic mocks to have some correct properties
2019-08-13 14:43:28 +02:00
Jaime van Kessel
7a3f9d621a Add save shortcut to save
No idea why it wasn't there in the first place.
2019-08-07 10:46:51 +02:00