17050 Commits

Author SHA1 Message Date
Marijn Deé
a382b77eaa Added validation to the models 2018-11-26 14:30:17 +01:00
Diego Prado Gesto
12f78fa21a Remove border of the popup selector for the output devices.
Contributes to CURA-5959.
2018-11-26 14:29:42 +01:00
ChrisTerBeke
68a90ec510 Use simple models instead of namedtuples
Named tuples would throw a TypeError if an unknown attribute was set, but we just want to ignore those
2018-11-26 14:08:21 +01:00
Diego Prado Gesto
b63c4f7a74 Add header in new files. Remove unused imports.
Contributes to CURA-5959.
2018-11-26 14:06:34 +01:00
Jaime van Kessel
a654499752 Re-enable hover for marketplace button
CURA-5959
2018-11-26 13:47:22 +01:00
Diego Prado Gesto
ebae4347a8 Fix unit tests that were failing after adding the getAbbreviatedMachineName to the machine manager.
Contributes to CURA-5942.
2018-11-26 13:44:32 +01:00
Mark
8bae9fa667 Merge branch 'master' into ui_rework_4_0 2018-11-26 13:41:25 +01:00
Jaime van Kessel
3c86c0ae6c Fix spacing
CURA-5959
2018-11-26 13:36:45 +01:00
Jaime van Kessel
1fe6501358 Removed unused entries from theme 2018-11-26 13:35:41 +01:00
Jaime van Kessel
098714254d Remove unused code
CURA-5959
2018-11-26 13:35:02 +01:00
Jaime van Kessel
eea6490e75 Hover of output device now spans the popup
CURA-5959
2018-11-26 13:27:26 +01:00
Lipu Fei
6bed1c1390 Move monitor_checkable_button_style out to styles.qml
CURA-5943
2018-11-26 13:21:55 +01:00
Lipu Fei
d6614941dc Update QtQuick import versions in styles.qml
CURA-5943
2018-11-26 13:15:25 +01:00
Lipu Fei
6bb010e74a Move MonitorButtonStyle to styles.qml
CURA-5943
2018-11-26 13:14:26 +01:00
Lipu Fei
845b320981 Fix adjustable monitor component width
CURA-5943

 - Add rounding
 - If there's no sidebar, use full width
2018-11-26 13:08:33 +01:00
Diego Prado Gesto
5397cda2b4 Add a label to the action panel when auto slice is ON, indicating that the process runs automatically.
Contributes to CURA-5942.
2018-11-26 12:00:06 +01:00
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
4d6d0ed70c Merge branch 'CURA-5942_printer_selector' of github.com:Ultimaker/Cura into CURA-5942_printer_selector 2018-11-26 10:56:16 +01:00
Jaime van Kessel
4990f20566
Use QStringList instead of QVariantList since the return value is a list of strings.
Co-Authored-By: diegopradogesto <d.pradogesto@ultimaker.com>
2018-11-26 10:55:32 +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
Marijn Deé
59510487fa Merge branch 'tests-for-um3networkplugin' of github.com:Ultimaker/Cura into tests-for-um3networkplugin 2018-11-26 09:50:40 +01:00
Ghostkeeper
5469613c17
Don't fail the samefile check if second file didn't exist
If the backup file didn't exist but the original did, then apparently they are not the same file so the copy should be allowed.
2018-11-26 09:40:14 +01:00
Jaime van Kessel
09af7a9435 Slice button will now be disabled on error
CURA-5959
2018-11-26 09:34:27 +01:00
Ghostkeeper
c9eb57cead
Don't copy preference file to the same location
This crashes Cura on start-up for some people.
2018-11-26 09:32:59 +01:00
Ghostkeeper
8f9d6bee62
Document dependency on fdm_materials
Without it, Cura simply won't start if you had a printer loaded with material profiles.

Fixes #4460.
2018-11-26 08:30:24 +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
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
Jaime van Kessel
1a8df9e10e Removed blue border if slicing is not possible
CURA-5959
2018-11-23 11:46:38 +01:00
ChrisTerBeke
e3894c291c Merge branch 'tests-for-um3networkplugin' of https://github.com/Ultimaker/Cura into tests-for-um3networkplugin 2018-11-23 11:27:41 +01:00
Jaime van Kessel
3ba4b9fd81 Add shadows to various used actionbuttons
CURA-5959
2018-11-23 11:20:53 +01:00
Jaime van Kessel
a71e75508c Merge branch 'ui_rework_4_0' of github.com:Ultimaker/Cura into CURA-5959-action-panel-ui-fixes 2018-11-23 11:00:11 +01:00
Ghostkeeper
48c24b1034
Remove log entry for bonjour services added
For most networks that would not be a problematic log entry. But for our own debugging on Ultimaker's network this is a very spammy log entry and doesn't add much value anyway.
2018-11-23 10:50:16 +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
alekseisasin
45076d9ca6
Merge pull request #4859 from Ultimaker/CURA-5878_gcode_file_association
CURA-5878 Update desktop and mimeinfo to add gcode mime type
2018-11-23 10:37:10 +01:00
Marijn Deé
76542a82d5 Removed the asserts on internals 2018-11-23 10:33:57 +01:00
Ian Paschal
9f1ce72b9e Add Cura 4.0 printer cards
Contributes to CL-1150
2018-11-23 10:03:08 +01:00
Marijn Deé
294527f7fe Review changes 2018-11-23 09:21:09 +01:00
Marijn Deé
bb5c0326de Used duoble quotes iso single quotes 2018-11-23 09:20:19 +01:00
Lipu Fei
1c4f7c7fb7 Merge branch 'ui_rework_4_0', remote-tracking branch 'origin' into CURA-5943_ui_usb_printing 2018-11-23 08:06:43 +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