3432 Commits

Author SHA1 Message Date
Diego Prado Gesto
72d972c8b4 Remove PrinterStatusIcon that is not used anymore.
Contributes to CURA-5942.
2018-11-26 11:03:58 +01:00
Diego Prado Gesto
21bfa6e4c2 Fix code style. Add brackets in new line.
Contributes to CURA-5942.
2018-11-26 10:58:38 +01:00
Diego Prado Gesto
fa1ef5c45c Rename function name to be more clear to what it does.
Contributes to CURA-5942.
2018-11-26 10:51:08 +01:00
Diego Prado Gesto
63fab9f038 Use theme sizes.
Contributes to CURA-5942.
2018-11-26 10:49:43 +01:00
Diego Prado Gesto
5b940b5242 Use thick margin and change some anchors.
Contributes to CURA-5942.
2018-11-26 10:28:36 +01:00
Jaime van Kessel
c8e065d7a7
Fix code-style
Contributes to CURA-5942.

Co-Authored-By: diegopradogesto <d.pradogesto@ultimaker.com>
2018-11-26 10:21:15 +01:00
Jaime van Kessel
09af7a9435 Slice button will now be disabled on error
CURA-5959
2018-11-26 09:34:27 +01:00
Diego Prado Gesto
c5d0ed2651 Define the look and feel of the view selector button. Adjust the sizes. 2018-11-25 20:13:56 +01:00
Diego Prado Gesto
68c96a2577 Modify the header item of the view selector. 2018-11-25 19:42:00 +01:00
Diego Prado Gesto
f3bf20ca1b Separate the view selector into a different file. 2018-11-25 18:24:21 +01:00
Diego Prado Gesto
9e92542eee Fix the height of the IconLabel to avoid getting binding loops.
Contributes to CURA-5942.
2018-11-25 18:14:01 +01:00
Jaime van Kessel
b82ea58bc8 Changed all the action buttons to either use primary or secondary button
CURA-5959
2018-11-23 18:07:50 +01:00
Jaime van Kessel
af1ee53578 Fix the hover effect of action button
CURA-5959
2018-11-23 17:41:58 +01:00
Aleksei S
2e262dd9d2 Added Icons to SidebarSimple 2018-11-23 17:35:55 +01:00
Jaime van Kessel
e1f3e07f04 Changed Marketplace button to no longer use the action button
The actionButton is weirdly named and overly used. That being said, the marketplace button is unique, so
there is little sense in re-using it
2018-11-23 17:11:20 +01:00
Diego Prado Gesto
a3bcdaf3b6 Make the popup in the printer selector resizable depending on the
contents. Also there is a maximum height that will fit 9 printers.

Contributes to CURA-5942.
2018-11-23 16:58:57 +01:00
Aleksei S
c4d0207cc1 Added close button in right top corner
CURA-5941
2018-11-23 13:10:48 +01:00
Jaime van Kessel
1a8df9e10e Removed blue border if slicing is not possible
CURA-5959
2018-11-23 11:46:38 +01:00
Aleksei S
666ed595e5 Added space 2018-11-23 11:36:31 +01:00
Aleksei S
6d34218012 Merge branch 'ui_rework_4_0' into CURA-5941_restyle_setting_dropdown 2018-11-23 11:34:46 +01:00
Jaime van Kessel
3ba4b9fd81 Add shadows to various used actionbuttons
CURA-5959
2018-11-23 11:20:53 +01:00
Diego Prado Gesto
67dc415b58 Add the connected icon to the printer selector that shows a blue icon
when the printer is connected. If not connected then there is no icon.

Contributes to CURA-5942.
2018-11-23 10:46:55 +01:00
Diego Prado Gesto
1d84bd7356 Improve the machine selector header to show an icon in case it is a
network printer.

Contributes to CURA-5942.
2018-11-22 17:37:10 +01:00
Ghostkeeper
4c26262054
Use re-usable TabRow component
Contributes to issue CURA-5876.
2018-11-22 17:06:56 +01:00
Diego Prado Gesto
692868a0b4 Create a function that given a printer type name, it will return and
abbreviated name.

Contributes to CURA-5942.
2018-11-22 15:45:38 +01:00
Jaime van Kessel
3f4d379908 Added shadow to slice button
CURA-5959
2018-11-22 15:35:40 +01:00
Diego Prado Gesto
5c30df2a68 Create a reusable component for the printer type label. Other parts of
the UI can just reuse it.

Contributes to CURA-5942.
2018-11-22 15:00:35 +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
Diego Prado Gesto
0211122b12 Add a proper component with a label and a rectangle in the background
that shows the type of printer.

Contributes to CURA-5942.
2018-11-22 14:46:13 +01:00
Lipu Fei
d8c3078d78 Add connectedPrinter to HeatedBedBox
CURA-5943
2018-11-22 14:10:41 +01:00
Lipu Fei
8eb0f66df3 Add connectedPrinter to ExtruderBox
CURA-5943
2018-11-22 14:08:50 +01:00
Lipu Fei
75661d9bba Fix MonitorSidebar due to widget renaming
CURA-5943
2018-11-22 14:08:50 +01:00
Lipu Fei
e65f2d66a6 Add connectedPrinter to MonitorItem
CURA-5943
2018-11-22 14:06:43 +01:00
Lipu Fei
5a16918391 Update ManualPrinterControl
CURA-5943
2018-11-22 14:03:03 +01:00
Lipu Fei
cf0994037c Move MonitorButtonSytle to a separate QML file
CURA-5943
2018-11-22 14:03:03 +01:00
Lipu Fei
45d4f2ad3d Update MonitorSection
CURA-5943
2018-11-22 14:03:03 +01:00
Lipu Fei
698409803d Fix null warning in QML
CURA-5943
2018-11-22 14:03:03 +01:00
Diego Prado Gesto
9720512f50 Add a new printer selector button that is connected to the output
devices and shows labels containing the type of printers that are in the
same group.

Contributes to CURA-5942.
2018-11-22 13:54:10 +01:00
Jaime van Kessel
a1613c7f81 Set the variable types of the Action button to the right kind.
Because of boyscouting; these must be colors (and not generic vars)
2018-11-22 13:53:27 +01:00
Diego Prado Gesto
b890e40e81 Close the popup panel when the user clicks in some of the buttons in the
printer selector.

Contributes to CURA-5942.
2018-11-22 10:54:25 +01:00
Diego Prado Gesto
3434b30ee0 Merge branch 'CURA-5785-Restyle_stage_menu' into CURA-5942_printer_selector 2018-11-21 17:08:15 +01:00
Diego Prado Gesto
cbee18597e Merge branch 'ui_rework_4_0' into CURA-5785-Restyle_stage_menu 2018-11-21 16:59:03 +01:00
Diego Prado Gesto
f866390c7b Fix an issue in the action panel.
When the panel is created while the user is in the preview stage, the
row has no width.

Contributes to CURA-5786.
2018-11-21 16:56:25 +01:00
Diego Prado Gesto
fe7d1825d4 Add styling to the buttons in the printer list.
Contributes to CURA-5942.
2018-11-21 16:54:57 +01:00
Ghostkeeper
a826dfb156
Fix binding loop in height of view selection bar
Since these were part of the childrenRect of the bar, and attached to the bottom of the bar, the childrenRect depended on the position of the children and that depends on the childrenRect again. So just attach it to the top, it's logical.

Contributes to issue CURA-5876.
2018-11-21 16:12:00 +01:00
Ghostkeeper
a052b8ec69
Use Theme.getIcon instead of Theme.icons
This is better for performance, according to the deprecation warning I got.

Contributes to issue CURA-5876.
2018-11-21 16:08:29 +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
Diego Prado Gesto
a1f3ebc25b Fix typo.
Contributes to CURA-5785.
2018-11-21 13:58:21 +01:00
Jaime van Kessel
a9672458fd Update extruderIcon to be more in line with the design
CURA-5785
2018-11-21 13:46:50 +01:00
Diego Prado Gesto
406fac9e60 Remove duplicate entries of renderType.
Contributes to CURA-5942.
2018-11-21 13:38:08 +01:00