41 Commits

Author SHA1 Message Date
Ghostkeeper
8e5485330f
Align sizes of prepare and preview menus
For some reason, the prepare menu is still one pixel too small. I think it's got to do with that one being a layout rather than a normal row.

Contributes to issue CURA-8202.
2021-07-07 11:36:10 +02:00
Konstantinos Karmas
1a273714a3 Make the width of the PreviewMenu headers dynamic
CURA-8011
2021-07-05 10:37:19 +02:00
Konstantinos Karmas
a7446d681f Set header border and color by default in ExpandablePopup and Component
CURA-8202
2021-07-01 14:20:57 +02:00
Konstantinos Karmas
0505842235 Remove DropShadow from ExpandablePopup and ExpandableComponent
Since they are not used anywhere anymore

CURA-8202
2021-07-01 12:07:35 +02:00
Konstantinos Karmas
bf40ccc3f2 Replace shadow with border in headerbar in simulation view
CURA-8202
2021-07-01 11:55:24 +02:00
Remco Burema
c3a9ceaa18 Remove a line of commented-out code. [CURA-6478] 2019-04-25 22:42:52 +02:00
Remco Burema
c4265c1f67 Scale instead of center for preview/prepare-menus. [CURA-6478] 2019-04-25 21:50:24 +02:00
Diego Prado Gesto
17f0c12858 Make the middle component to have zero width if there is no component to
fill the gap.

Contributes to CURA-6020.
2018-12-13 14:31:34 +01:00
Diego Prado Gesto
c804610fa6 Make the stage menu in the preview using 85 percent of the total width in order to prevent the print setup panel to be in the middle 2018-12-11 15:19:40 +01:00
Diego Prado Gesto
7dc3320b06 Remove all the signal propagation for the tooltip and allow only Cura.qml to handle them
Contributes to CURA-5941.
2018-12-02 20:32:55 +01:00
Diego Prado Gesto
f3bf20ca1b Separate the view selector into a different file. 2018-11-25 18:24:21 +01:00
Jaime van Kessel
a9f0402f63 Made size of viewselector themable
CURA-5785
2018-11-22 09:37:36 +01:00
Jaime van Kessel
bd636e61a0 Minor changes suggested in review
CURA-5785
2018-11-21 13:17:36 +01:00
Jaime van Kessel
eef6ad662d Added enum for the roundedCorner property
This makes it a whole lot easier to read what is being set.

CURA-5785
2018-11-21 11:50:39 +01:00
Jaime van Kessel
b826a42026 Add the RoundedRectangle as background to the ExpandableComponent
This way the expandable components can have rounded corners only on one side,
thus preventing the need to do add backgrounds to the rows that they are in.

CURA-5785
2018-11-21 11:37:58 +01:00
Jaime van Kessel
d74393498b Fixed view selector header not updating correctly
CURA-5785
2018-11-21 09:35:35 +01:00
Lipu Fei
b0f3fedc94 Fix import QtQuick versions to suit Qt 5.10
CURA-5785
2018-11-19 13:42:22 +01:00
Jaime van Kessel
a490e420f0 Prevent the setting items from being recreated every stage switch
CURA-5785
2018-11-19 11:42:04 +01:00
Jaime van Kessel
e3ebf89092 Ensure that width of popup does not get set to 0
CURA-5785
2018-11-16 17:26:10 +01:00
Jaime van Kessel
6b55490af8 Fix final QML warnings
CURA-5785
2018-11-16 16:30:47 +01:00
Jaime van Kessel
bc5a2ce5b0 Make ViewSelector panel close upon selecting different view
CURA-5785
2018-11-16 16:16:15 +01:00
Jaime van Kessel
320efa443e Merge branch 'CURA-5785-Restyle_stage_menu' of github.com:Ultimaker/Cura into CURA-5785-Restyle_stage_menu 2018-11-16 14:58:47 +01:00
Jaime van Kessel
3fd1cc0e8c Ensure that the added labels are also themable
CURA-5785
2018-11-16 14:58:11 +01:00
Ghostkeeper
e087db7c2e
Code style and fixes to comments
Contributes to issue CURA-5785.
2018-11-16 14:11:22 +01:00
Ghostkeeper
81b6f3ab11
Update unclear qml ID's
CURA-5785

Co-Authored-By: nallath <nallath@gmail.com>
2018-11-16 14:03:39 +01:00
Ghostkeeper
de020b4c75
Remove commented out code
Co-Authored-By: nallath <nallath@gmail.com>
2018-11-16 14:02:00 +01:00
Jaime van Kessel
20b7a925a0 Remove unused code & outdated todo comment
CURA-5785
2018-11-14 16:49:01 +01:00
Jaime van Kessel
9aa5b6fe3f Hide one spacer if there is no viewPanel
CURA-5785
2018-11-14 16:47:53 +01:00
Jaime van Kessel
c27f51d944 Make the view selector also use the expandableComponent
CURA-5785
2018-11-14 16:44:36 +01:00
Jaime van Kessel
fb72f9a059 Fixed size of expandableItem not being the correct width
CURA-5785
2018-11-14 09:59:56 +01:00
Jaime van Kessel
a9fdd455eb Add seperator lines for the stageMenu's
CURA-5785
2018-11-13 16:47:39 +01:00
Jaime van Kessel
551bc2fbd4 Removed line around the headerbar
I was checking an old design, the new one doesn't have a line around it

CURA-5785
2018-11-13 16:40:51 +01:00
Jaime van Kessel
b83175a380 Add rounded corners to stage menus
CURA-5785
2018-11-13 16:32:24 +01:00
Jaime van Kessel
20e2f317de Add background to viewModeSelection
CURA-5785
2018-11-13 16:02:45 +01:00
Jaime van Kessel
785c2661a2 Make SimulationViewMenuComponent also use the ExpandableComponent
CURA-5785
2018-11-13 15:57:00 +01:00
Jaime van Kessel
deb5fd1926 Fix PrintSetupSelector for previewStage
CURA-5785
2018-11-13 15:35:05 +01:00
Ghostkeeper
20b3b6da79
Document PreviewStage.py
Some stuff I had to ask the original implementer to explain to me. So I wrote that down so that the next guy doesn't have to do that.

Contributes to issue CURA-5829.
2018-11-02 15:11:49 +01:00
Jaime van Kessel
0a3803d665 Add CuraView, which does something similar to CuraStage
So instead of relying on strange activeViewProxy, it's up to the CuraView to provide a set of components.
These can subsequently be used by the active stage again.

CURA-5829
2018-10-29 16:21:16 +01:00
Jaime van Kessel
d8dd9bf363 Set SolidView to invisible.
Since we don't have a selector in the prepare stage anymore, solidview must be invisible

CURA-5829
2018-10-29 14:54:42 +01:00
Jaime van Kessel
ebe533bdc8 Move active view panel to previewStage
CURA-5829
2018-10-29 13:39:00 +01:00
Jaime van Kessel
9cc7a7ca23 Moved view selection to previewStage
CURA-5829
2018-10-29 13:27:47 +01:00