Remco Burema
55dcf31e3c
Fix QML binding loop warnings for CustomConfiguration.
2019-04-11 16:24:51 +02:00
Lipu Fei
4d3211e651
Merge remote-tracking branch 'origin/4.0'
2019-02-22 13:38:29 +01:00
Lipu Fei
2694ef98e0
Merge pull request #5338 from Ultimaker/CURA-6232_config_menu_tab_fix
...
Fix tab-bar of config.-menu always on idex 0 on reshow. [CURA-6232]
2019-02-22 13:37:10 +01:00
Jaime van Kessel
dd59b9167b
Merge branch '4.0' of github.com:Ultimaker/Cura
2019-02-22 11:37:58 +01:00
Jaime van Kessel
7221b23457
Add a property to temporarily disable the material models from updating.
...
This allows the QMl to stop the updating when it's not even visible
2019-02-21 20:50:44 +01:00
Jaime van Kessel
41f2a0e222
Add a property to temporarily disable the material models from updating.
...
This allows the QMl to stop the updating when it's not even visible
2019-02-21 20:47:38 +01:00
Jaime van Kessel
dee739db8b
Merge branch '4.0' of github.com:Ultimaker/Cura
2019-02-21 20:19:30 +01:00
Jaime van Kessel
d9c4edf093
Prevent a few expensive conversions from happening in the QML
2019-02-21 16:36:14 +01:00
Remco Burema
b4e4b7125d
Fix tab-bar of config.-menu always on idex 0 on reshow. [CURA-6232]
2019-02-20 13:27:05 +01:00
Remco Burema
a392f50a67
Small fix for glue-warning height in Ext.-config.
2019-02-14 11:21:01 +01:00
Jaime van Kessel
5c94a8223d
Added button that is shown when instruction_link is set in the profile
...
CURA-5916
2019-02-07 16:08:50 +01:00
Jaime van Kessel
c15089cd59
Some minor cleanup of the QML
...
CURA-5916
2019-02-07 14:13:00 +01:00
Ghostkeeper
ae5d548f02
Merge branch '4.0'
2019-02-04 16:19:14 +01:00
Ghostkeeper
185e9cc726
Fix font size of buildplate warning
...
This was most likely copied from an old release but the font in question was deleted.
2019-02-04 15:24:59 +01:00
Ghostkeeper
61475a79cf
Fix font size of buildplate warning
...
This was most likely copied from an old release but the font in question was deleted.
2019-02-04 15:23:57 +01:00
Ghostkeeper
430be551d3
Fix link to properties of row
...
This fixes a QML warning and probably fixes the visibility of these elements.
2019-01-30 12:59:27 +01:00
Lipu Fei
e2e856a5cd
Add adhesion warning message back
...
CURA-6070
2019-01-28 14:41:57 +01:00
Ghostkeeper
60a5438db6
Make expandable component header fonts larger
...
As per the design.
Contributes to issue CURA-6025.
2018-12-31 13:43:31 +01:00
Diego Prado Gesto
ed8292c472
Adjust size and margins of the icon in the action button
...
Contributes to CURA-5876.
2018-12-11 17:00:02 +01:00
Diego Prado Gesto
f99c788eb6
Change some colors for the arrows in some setting selectors
...
Contributes to CURA-5876.
2018-12-11 16:35:59 +01:00
Diego Prado Gesto
b993a7b0d9
Change the header color and font in the configuration popup
...
Also fix some alignments with the printer type selector.
Contributes to CURA-5876.
2018-12-11 16:05:24 +01:00
Ghostkeeper
ffcac04f9e
Add printer type selector if connected to cluster
...
If there are 2 or more printer types in your connected cluster, you can switch the printer type here.
Contributes to issue CURA-5876.
2018-12-07 15:21:53 +01:00
Diego Prado Gesto
1d33fe081f
Clean up the code
...
Remove all the references to the sidebar and use the term print_setup instead.
Contributes to CURA-5941.
2018-12-07 12:07:41 +01:00
Lipu Fei
677edd51ee
Remove unnecessary visibles
...
CURA-5941
Because the parent Rows already have it set.
2018-12-07 10:55:22 +01:00
Diego Prado Gesto
3b8b70bddf
Merge branch 'ui_rework_4_0' into CURA-5941_restyle_setting_dropdown
2018-12-06 16:35:07 +01:00
Diego Prado Gesto
05075c44ee
Add renderType to some labels in the Configuration panel
...
Contributes to CURA-5876.
2018-12-06 14:19:34 +01:00
Lipu Fei
85f2a7e8f6
Move visible to Rows for extruder configs
...
CURA-5941
So the whole row, such as "material", will be shown/hiden based on
whether the machine has materials.
2018-12-06 14:06:18 +01:00
Ghostkeeper
5ba8820f18
Remove unnecessary setting height to 0 when invisible
...
Turns out that it doesn't count for the childrenRect.height anyway when the item is invisible.
Contributes to issue CURA-5876.
2018-12-05 14:10:51 +01:00
Ghostkeeper
5d95d11437
Use setCurrentIndex to switch tabs at activeExtruderChanged
...
This fixes a mysterious segfault. We still don't know why the segfault occurred though. All we know is that QML logs something about a binding loop on currentIndex, and Qt logs something about removing range [-1 through 0] from VisualItemModel. When the tab bar is then made visible, Cura crashes. It is a nondeterministic crash. After this change, we are not seeing it any more (but with any nondeterministic bug, it's hard to verify that it was actually fixed).
Contributes to issue CURA-5876.
2018-12-05 09:52:43 +01:00
Jaime van Kessel
a62da4e523
Use setCurrentIndex instead of direct assignment
...
This should prevent the binding from breaking and hopefully the segfault
CURA-5876
2018-12-05 09:13:48 +01:00
Ghostkeeper
de78c44461
Fix configuration drop-down for dark theme
...
This actually changes the secondary colour to be darker for the dark theme, to be more in line with the general theme then.
Contributes to issue CURA-5876.
2018-12-04 16:43:13 +01:00
Jaime van Kessel
8a257f0184
Change valueWarning property to bool instead of var
...
A bit more specific.
Contributes to issue CURA-5876.
Co-Authored-By: Ghostkeeper <Ghostkeeper@users.noreply.github.com>
2018-12-04 14:39:39 +01:00
Jaime van Kessel
023100f4c3
Changed valueError property to bool instead of var
...
A bit more specific.
Contributes to issue CURA-5876.
Co-Authored-By: Ghostkeeper <Ghostkeeper@users.noreply.github.com>
2018-12-04 14:39:08 +01:00
Ghostkeeper
af747ae09c
Don't hide tab bar when disabling all but one extruder
...
And make sure the checkbox for enabling also disappears.
We don't want to make this dependent on the number of enabled extruders, but on the total number of extruders. This way you can actually re-enable an extruder again because the tab bar shouldn't disappear.
Contributes to issue CURA-5876.
2018-12-03 11:19:25 +01:00
Ghostkeeper
db05d7853a
Remove background colour from tab window
...
The colour is the same as what is behind it anyway.
Contributes to issue CURA-5876.
2018-12-03 09:04:35 +01:00
Ghostkeeper
82e66eeaa1
Remove tabs and lining with single-extruder printers
...
There's no sense in showing tabs if the user can't use them.
Contributes to issue CURA-5876.
2018-12-03 09:02:41 +01:00
Ghostkeeper
0a6e420710
Make active tab white
...
Contributes to issue CURA-5876.
2018-11-30 17:05:25 +01:00
Ghostkeeper
d5d49fcec8
Disable extruder enabled checkbox if it's the last one
...
You can't disable the last extruder.
Contributes to issue CURA-5876.
2018-11-30 16:43:48 +01:00
Ghostkeeper
82d4897ba4
Use MouseArea to catch click instead of onClicked
...
This is necessary because when you click it, the 'checked' property no longer depends on the active extruder. So prevent it from being clicked at all and handle the click separately in this MouseArea.
Contributes to issue CURA-5876.
2018-11-30 16:18:46 +01:00
Ghostkeeper
ed37e692a3
Don't disable enable checkbox before machine is loaded
...
It is unnecessary because you can't see it or click on it before adding a machine.
Contributes to issue CURA-5876.
2018-11-30 15:45:04 +01:00
Ghostkeeper
ede50ef3ca
Simplify dependencies on activeStack
...
The properties, being formulas, were not properly updated when the active stack changed.
Contributes to issue CURA-5876.
2018-11-30 15:44:15 +01:00
Ghostkeeper
1d9a13cac2
Reset tab index when repeater's model is rebuilt
...
We can't prevent the model from being rebuilt. At least, not without a major refactor.
Contributes to issue CURA-5876.
2018-11-30 15:40:59 +01:00
Ghostkeeper
e93bbf07a4
Fix circular dependency with tab index and active stack
...
Only when actually clicking the tab should it change the active extruder index; not when the current index is changed for any other reason.
Next up: Don't change the current index for any other reason.
Contributes to issue CURA-5876.
2018-11-30 14:53:10 +01:00
Ghostkeeper
26c7558a53
Don't show labels if controls themselves are not shown
...
The height of the popup is luckily automatically adjusted now.
Contributes to issue CURA-5876.
2018-11-27 16:44:16 +01:00
Ghostkeeper
4b897ffd67
Fix width of content in tabbed content
...
Contributes to issue CURA-5876.
2018-11-26 16:03:40 +01:00
Ghostkeeper
ac5f79ba2c
Add tab style to tabbed content
...
It now gets a proper background colour, lining and radius.
Contributes to issue CURA-5876.
2018-11-26 15:47:32 +01:00
Ghostkeeper
90a73f351d
Fix positioning of tabs in custom menu
...
The label's bottom side is at its top, so we must add its height so that it gets positioned correctly.
Contributes to issue CURA-5876.
2018-11-26 14:12:34 +01:00
Ghostkeeper
4c26262054
Use re-usable TabRow component
...
Contributes to issue CURA-5876.
2018-11-22 17:06:56 +01:00
Ghostkeeper
7f11142d50
Fix height and vertical layout of popup
...
Many things were made simpler. This took some time to fix...
Contributes to issue CURA-5876.
2018-11-22 14:57:55 +01:00
Ghostkeeper
eb056ee17b
Fix display of custom configuration
...
Since it had no width, everything was resized to 0.
Contributes to issue CURA-5876.
2018-11-21 16:06:26 +01:00