17050 Commits

Author SHA1 Message Date
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
Diego Prado Gesto
8e47d04756 Adjust sizes and alignments to the print selector panel.
Contributes to CURA-5942.
2018-11-21 11:12:59 +01:00
Lipu Fei
0e17e54420
Merge pull request #4842 from Ultimaker/improve_toolbar_styling
Improve the toolbar style
2018-11-21 11:09:13 +01:00
Marijn Deé
7b0f8882a2 Reverted models to namedtuples from collections because
NamedTuple is a Python3.6 feature
2018-11-21 11:01:26 +01:00
Marijn Deé
9e8be286af Used NamedTuple from typing iso namedtuple from collections so we can at least give type hints 2018-11-21 10:12:53 +01:00
Jaime van Kessel
e25a61d4d6 Merge branch 'CURA-5785-Restyle_stage_menu' of github.com:Ultimaker/Cura into CURA-5785-Restyle_stage_menu 2018-11-21 09:43:09 +01:00
Jaime van Kessel
d74393498b Fixed view selector header not updating correctly
CURA-5785
2018-11-21 09:35:35 +01:00
Diego Prado Gesto
23744e42d1 Remove SaveButton file, since it's not used anymore.
Contributes to CURA-5942
2018-11-21 09:15:18 +01:00
ChrisTerBeke
60ed0ddc24
Revert "Revert "Merge branch 'fix-oauth2-client' into CURA-5785-Restyle_stage_menu""
This reverts commit 791929d6897942e971a112a26839c0fa6f94f847.
2018-11-20 23:49:33 +01:00
ChrisTerBeke
791929d689
Revert "Merge branch 'fix-oauth2-client' into CURA-5785-Restyle_stage_menu"
This reverts commit 4caf770a62f07b71a646b7f09a08623485b89582, reversing
changes made to 0cdcd61ff2dfe2677e636cc2f1ee993cbd9d641d.
2018-11-20 23:47:46 +01:00
ChrisTerBeke
8b085aa877
Revert "Switch Ultimaker Account OAuth2 client"
This reverts commit 4e8979334e0d794b2cd8cae72ce9c351890577c8.
2018-11-20 23:47:25 +01:00
ChrisTerBeke
4caf770a62
Merge branch 'fix-oauth2-client' into CURA-5785-Restyle_stage_menu
* fix-oauth2-client:
  Switch Ultimaker Account OAuth2 client
  Fix the title's top margin size in the add machine dialog.
2018-11-20 20:48:52 +01:00
ChrisTerBeke
4e8979334e
Switch Ultimaker Account OAuth2 client
The new client has access to more permissions and is labeled as "Ultimaker Cura" instead of "Cura Backups Plugin".
Also removes `self._cloud_api_root` as that's not used anymore now that `self._oauth_root` is used for the redirect URLs.
2018-11-20 19:18:48 +01:00
ChrisTerBeke
c1c3f3abf3
Merge branch 'master' into tests-for-um3networkplugin
* master:
  Fix the title's top margin size in the add machine dialog.
  Use generated Makefiles to run tests
  Add option test-verbose build option to CuraTests
2018-11-20 18:59:31 +01:00
Marijn Deé
f3338aa187 Fixed the failing tests 2018-11-20 16:53:01 +01:00
Marijn Deé
ca60744292 Made the tests work with the named tuples
Tests only use the _onGetRemoteMaterial
2018-11-20 16:34:11 +01:00
Marijn Deé
481ca8cd2f Fixed some bugs and added the color_code field to the named tuple 2018-11-20 16:33:52 +01:00
Diego Prado Gesto
669648d3e1 Improve the toolbar style by modifying the rectangles and the behavior
to get a rounded rectangle on the right-top and right-bottom.

Contributes to CURA-5962.
2018-11-20 16:28:21 +01:00
Ian Paschal
2f84339f5c Finalize queue
Contributes to CL-1148
2018-11-20 15:58:09 +01:00
Jaime van Kessel
0cdcd61ff2 Merge branch 'CURA-5785-Restyle_stage_menu' of github.com:Ultimaker/Cura into CURA-5785-Restyle_stage_menu 2018-11-20 14:36:41 +01:00
Jaime van Kessel
3b4d728d6a Fix Simulation view popup not sizing down
I have no idea why implictHeight does work and childrenRect.height doesn't (eg;
childrenRect.height only scales up for some reason, never down)

CURA-5785
2018-11-20 14:35:13 +01:00
Diego Prado Gesto
895590c3d0 Change the size of the progress bar control. Also add the rounded
rectangle.

Contributes to the new Cura UI-Flow.
2018-11-20 14:28:54 +01:00
Ian Paschal
fb3cb67da0 Add printer configuration components
Contributes to CL-1148
2018-11-20 13:46:41 +01:00
Diego Prado Gesto
fab0d5a4b7 Rename the color of the sidebar to main_background, since it was deleted
but not updated in the usages.

Contributes to CURA-5785.
2018-11-20 13:25:15 +01:00
Diego Prado Gesto
76f2aeb43c Fix the title's top margin size in the add machine dialog. 2018-11-20 11:27:45 +01:00
Diego Prado Gesto
20285f26d6 Merge branch 'ui_rework_4_0' into CURA-5785-Restyle_stage_menu 2018-11-20 11:20:26 +01:00
Diego Prado Gesto
1844a9bed2 Merge branch 'master' into ui_rework_4_0 2018-11-20 11:08:05 +01:00
Lipu Fei
e6d9ad31ab Use generated Makefiles to run tests 2018-11-20 09:53:17 +01:00
ChrisTerBeke
1c5adb5a72 Merge branch 'master' into tests-for-um3networkplugin 2018-11-19 17:03:37 +01:00
Jaime van Kessel
2b88e82a2a Add option test-verbose build option to CuraTests 2018-11-19 16:52:02 +01:00
Ian Paschal
421a64c7b0 Replace queued print job cards with new design
Contributes to CL-1148
2018-11-19 16:42:36 +01:00
ChrisTerBeke
2497325d60 Test with named tuples, not working yet 2018-11-19 16:35:19 +01:00
Jaime van Kessel
10621aacee Merge branch 'CURA-5785-Restyle_stage_menu' of github.com:Ultimaker/Cura into CURA-5785-Restyle_stage_menu 2018-11-19 16:17:07 +01:00
Jaime van Kessel
8683a1e07e Add previewStage to bundled cura package list
CURA-5785
2018-11-19 16:16:41 +01:00
ChrisTerBeke
c04ce7fce8 Use call_count on specific method to be more precise 2018-11-19 15:44:07 +01:00
ChrisTerBeke
60dd130393 Use logException where possible 2018-11-19 15:39:12 +01:00
ChrisTerBeke
66fbadf2de Convert all single quotes to double quotes 2018-11-19 15:37:56 +01:00
ChrisTerBeke
9d8583a3b6 Revert "Fix running tests in plugin using pytest"
This reverts commit f8f133d2ef92dfabb636eac70b09e681bd4b4d63.
2018-11-19 15:10:35 +01:00
ChrisTerBeke
d65114bd56 use call_count to assert device was not called 2018-11-19 15:08:58 +01:00
ChrisTerBeke
0b1ac87354 Fix some formatting, cleanup import 2018-11-19 15:03:43 +01:00
ChrisTerBeke
dc17bd8499 Fix the first tests 2018-11-19 13:54:45 +01:00
ChrisTerBeke
f8f133d2ef Fix running tests in plugin using pytest 2018-11-19 13:42:28 +01:00
Lipu Fei
b0f3fedc94 Fix import QtQuick versions to suit Qt 5.10
CURA-5785
2018-11-19 13:42:22 +01:00
Dario Minnucci
2f624cc78f Add BIBO2 printer (dual and single extruder settings) 2018-11-19 12:37:57 +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
ChrisTerBeke
951a21ead7 Merge branch 'master' into tests-for-um3networkplugin 2018-11-19 10:58:07 +01:00
ChrisTerBeke
ee9210d8d1 Rewrite tests 2018-11-19 10:57:47 +01:00
ChrisTerBeke
23e957e1c5 Some more refactoring, splitting up methods 2018-11-19 10:44:24 +01:00
Jaime van Kessel
6fe89e3d54 Fix width of simulationView component not being set correctly
CURA-5785
2018-11-19 10:33:19 +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