Jaime van Kessel
f9e76aa6c9
Merge branch 'feature_resize_settings_panel' of github.com:Ultimaker/Cura into 4.0
2018-12-31 10:09:33 +01:00
Ghostkeeper
abe684c1bd
Use Item instead of rectangle without defined colour
...
Item should be faster to render.
Contributes to issue CURA-6056.
2018-12-27 13:36:17 +01:00
Ghostkeeper
f2a32e62fc
Rename 'Protected profiles' to 'Default profiles'
...
We agreed that it looks better, especially when listed right above 'Custom profiles'.
2018-12-27 11:06:09 +01: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
c66257bf4d
Use item instead of transparent rectangle
...
This is faster to render.
Contributes to issue CURA-6032.
2018-12-18 16:18:01 +01:00
Ghostkeeper
279812e4ff
Round width of buttons
...
They were getting rendered a bit weird if your pixel scale was not an integer (for me it's 1.25).
2018-12-18 13:58:21 +01:00
Lipu Fei
620790ae3d
Reduce the creations of ExtrudersModels
...
CURA-6015
2018-12-13 14:12:23 +01:00
Ghostkeeper
024bf409c9
Merge branch 'CURA-5876-Configuration_dropdown' into ui_rework_4_0
2018-12-05 13:29:06 +01:00
Lipu Fei
a13fb4a81e
Merge remote-tracking branch 'origin/master' into ui_rework_4_0
2018-12-04 17:12:24 +01:00
Jaime van Kessel
b2238420fb
Ensure that reset always correctly gets set to basic
...
The old code that simply resetted the preferences was still active, but this could cause a race condition
in some situations. In those cases it would first set it to basic and then clear the preferences (thus
resulting in no settings being visible)
CURA-5981
2018-12-04 15:46:13 +01:00
Ghostkeeper
b5bb3232f3
Merge branch 'ui_rework_4_0' into CURA-5876-Configuration_dropdown
...
Conflicts:
resources/qml/ActionPanel/OutputProcessWidget.qml -> Due to removed theme entry.
2018-12-04 15:21:36 +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
Lipu Fei
0d086008ae
Merge remote-tracking branch 'origin/master' into ui_rework_4_0
2018-12-04 11:38:47 +01:00
Lipu Fei
9ec7428620
Fix setting visiblity current index
...
CURA-5981
2018-12-04 10:55:01 +01:00
Ghostkeeper
7df4c01814
Merge branch 'ui_rework_4_0' into CURA-5876-Configuration_dropdown
...
Conflicts:
cura/Settings/MachineManager.py -> rowCount vs. count
resources/qml/ExtruderIcon.qml -> Someone changed stuff that I had overwritten.
resources/qml/Menus/ConfigurationMenu/PrintCoreConfiguration.qml -> Someone changed stuff that I had removed.
resources/qml/Toolbar.qml -> Git was wrong, not a conflict.
resources/themes/cura-light/theme.json -> Git was wrong, not a conflict.
2018-12-03 11:45:05 +01:00
Ghostkeeper
f3af5a72ad
Use ListModel.count instead of rowCount
...
The .count property properly updates when the model is changed.
Contributes to issue CURA-5876.
2018-12-03 11:13:26 +01:00
Diego Prado Gesto
e73a91e746
Merge branch 'master' into ui_rework_4_0
2018-12-02 12:11:12 +01:00
Jaime van Kessel
ad26962cb9
Fix setting visibility not working in settingVisibilityPage
...
CURA-5981
2018-11-30 15:49:50 +01:00
Jaime van Kessel
384c359db1
Merge branch 'master' of github.com:Ultimaker/Cura into ui_rework_4_0
2018-11-30 15:34:47 +01:00
Jaime van Kessel
a4a619370e
Fix QML warnings
2018-11-30 15:33:57 +01:00
Ghostkeeper
266e08fdff
Merge branch 'master' into ui_rework_4_0
...
Conflicts:
plugins/Toolbox/resources/qml/ToolboxCompatibilityChart.qml - The compatibility chart being added in 3.6 which was kind of hacky.
resources/qml/SidebarHeader.qml - Removed in UI rework, edited on master.
2018-11-13 16:23:36 +01:00
Ghostkeeper
fe66d15b9e
Disable Polish language
...
The translation didn't arrive in time for the 3.6 release.
Contributes to issue CURA-5870.
2018-11-12 15:47:42 +01:00
Diego Prado Gesto
54f32a1d82
Merge branch 'ui_rework_4_0' into cura4.0_header
2018-10-18 19:33:39 +02:00
Ghostkeeper
1bcd134f85
Fix code style
...
Most stuff here was recently changed. Some of it was where I found a pattern in something that was likely copy-pasted from somewhere else, so I did a global search and replace on that.
Contributes to issue CURA-5784.
2018-10-18 14:30:33 +02:00
Jaime van Kessel
4c5bf3297c
Merge branch 'master' of github.com:Ultimaker/Cura into CURA-5734-rework-and-unit-test-setting-visibility-preset
2018-10-17 10:49:29 +02:00
Ghostkeeper
b37252f124
Minor code style fixes
...
Contributes to issue CURA-5734.
2018-10-10 14:18:37 +02:00
Jaime van Kessel
d1a51b26f7
Simplified QML expression
2018-10-08 17:22:04 +02:00
Jaime van Kessel
d98eafe041
Merge branch '3.5' of github.com:Ultimaker/Cura
2018-10-08 17:03:25 +02:00
Diego Prado Gesto
6abd43f690
Add Polish to the list of available languages. Forgotten by mistake.
2018-10-04 17:37:28 +02:00
Aleksei S
51e7b6c388
Change font style for active material in preferences
...
CURA-5747
2018-10-03 10:30:48 +02:00
Jaime van Kessel
fc9f05fc8b
Moved SettingVisibilityPreset loading to it's own class
...
Since there was so much debate regarding the unit testing of the visiblity presets, i had another look at it.
The old version was almost untestable because all functionalities were mushed together into a single class.
CURA-5734
2018-10-01 11:32:55 +02:00
Lipu Fei
51f2386db1
Merge remote-tracking branch 'origin/3.5'
2018-09-25 11:56:12 +02:00
Lipu Fei
8837ffc06d
Fix mateial management QML reference
...
CURA-5682
2018-09-25 11:52:53 +02:00
Diego Prado Gesto
e31f35ec95
Merge branch '3.5'
2018-09-25 09:36:08 +02:00
Aleksei S
b44fb7ca24
Select correct material according to the active extruder
...
CURA-5682
2018-09-21 17:35:46 +02:00
Aleksei S
86d8f8517d
In material page was not defined the used extruder nr, for generic materials
...
CURA-5682
2018-09-21 13:48:46 +02:00
Lipu Fei
6929d96119
Merge remote-tracking branch 'origin/3.5'
2018-09-17 16:14:49 +02:00
Ghostkeeper
c6fa9474d6
Merge branch '3.5'
2018-09-17 14:41:45 +02:00
Diego Prado Gesto
6c9c68e004
Active the focus when the selected item changes.
...
In this case, if the user was updating some information in one material
and then select other material, the new data is stored.
Contributes to CURA-5682.
2018-09-17 14:41:45 +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
f871a89825
Clean up the code by removing duplicate code. Also try to unify the
...
MaterialsBrandSection to use the same component for favorites, generic
and branded materials.
Contributes to CURA-5682.
2018-09-17 09:09:14 +02:00
Diego Prado Gesto
972f0bef43
WIP Fix an error in which the current selected material was not
...
correctly selected when there is more than one brand (stupid mistake).
Also fix problems when the user changes some material information.
Contributes to CURA-5682.
2018-09-14 10:54:07 +02:00
Diego Prado Gesto
6dc53cc60a
Select the next selected material when it is activated or removed.
...
Contributes to CURA-5682.
2018-09-12 18:39:19 +02:00
Diego Prado Gesto
3368428dbb
Fix text field alignment.
...
The color text field was too short in many cases, when the color name is
long.
Contributes to CURA-5682.
2018-09-12 16:57:43 +02:00
Diego Prado Gesto
e3f67f1147
Fix code style.
...
Contributes to CURA-5682.
2018-09-12 16:37:16 +02:00
Diego Prado Gesto
6183a07d76
Activate the material right after it was created or duplicated.
...
Contributes to CURA-5682.
2018-09-12 16:35:01 +02:00
Diego Prado Gesto
921b11974c
Improve the way the categories are highlighted.
...
When a material is selected, but the brand or the type is collapsed,
those components are also highlighted to indicate the path to the
material.
Reuse the MaterialBrandSection also for the generic materials, that
allow us to only mantain one component.
Contributes to CURA-5682.
2018-09-12 15:42:02 +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