16 Commits

Author SHA1 Message Date
Diego Prado Gesto
75b827d373 Modify the hover behavior by removing the mouse area.
Contributes to CURA-5942.
2018-11-27 11:26:20 +01:00
Diego Prado Gesto
e2f85fcdc4 Add extra space to printer button.
Contributes to CURA-5942.
2018-11-27 11:25:43 +01:00
Diego Prado Gesto
0a1c0e18d1 Reuse the component SecondaryButton in the printer selector.
Contributes to CURA-5942.
2018-11-26 14:38:43 +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
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
f3bf20ca1b Separate the view selector into a different file. 2018-11-25 18:24:21 +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
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
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
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
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
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