9724 Commits

Author SHA1 Message Date
Joey de l'Arago
cd07647b24 Change misleading variable names
CURA-9424
2022-11-15 14:57:39 +01:00
Joey de l'Arago
dd0411f171 isOnline was incorrectly being used instead of isNetworked. This caused offline printers not to show an Icon.
Fixed

CURA-9424
2022-11-15 14:56:25 +01:00
Joey de l'Arago
7254c8ac78 Merge remote-tracking branch 'origin/CURA-9424_update_loading_projects_design' into CURA-9424_update_loading_projects_design 2022-11-15 14:14:11 +01:00
Joey de l'Arago
e4ad9cb48c Move base hovered logic out of ComboBox.qml since base is undefined in most places the component is used.
CURA-9424
2022-11-15 14:08:47 +01:00
Joey de l'Arago
cac9d67352
Apply suggestions from code review
Co-authored-by: Casper Lamboo <c.lamboo@ultimaker.com>
2022-11-15 13:49:55 +01:00
Joey de l'Arago
7f9c183072 Remove redundant assignments
CURA-9424
2022-11-14 13:35:03 +01:00
Joey de l'Arago
959c42d96a The printer to override was not being set initially, causing file loading to fail when not selecting a printer in the MachineSelector.
Fix is to set it on initialization from the WorkspaceReader

CURA-9424
2022-11-14 13:34:46 +01:00
Joey de l'Arago
d6cab972c6 Fix call to incorrect function after revert.
CURA-9424
2022-11-14 12:57:38 +01:00
Joey de l'Arago
e947959ca9 Merge branch 'main' into CURA-9424_update_loading_projects_design 2022-11-14 12:56:47 +01:00
Joey de l'Arago
62274c4dac Revert Some of "Fix show/hide button in WorkSpaceDialog printer selector"
This reverts commit 0c79ec73
2022-11-11 17:04:39 +01:00
Joey de l'Arago
44d9df57e4 Update drop down to show correct printer icons in header
CURA-9424
2022-11-11 16:34:22 +01:00
Joey de l'Arago
1d34cd01c1 Removed unused UpdatableMachinesModel.py
CURA-9424
2022-11-11 16:34:08 +01:00
Joey de l'Arago
ebbefb5439
Merge pull request #13718 from discip/patch-2
minor fixes + layer_no instead of height
2022-11-11 11:17:22 +01:00
Joey de l'Arago
c59f5a5c00 Add tooltip in WorkspaceDialog over the printer selection drop down.
CURA-9424
2022-11-10 14:48:38 +01:00
c.lamboo
0c79ec738e Fix show/hide button in WorkSpaceDialog printer selector
CURA-9424
2022-11-09 23:05:06 +01:00
c.lamboo
27267deb22 Fix clicking PrepareMenu
CURA-9424
2022-11-09 17:16:47 +01:00
c.lamboo
79a7b1e064 Round width to prevent drawing text on non-integer offsets
Contribution from @fieldOfView

CURA-9424
2022-11-09 16:56:07 +01:00
c.lamboo
8ee5bc2bd4 Remove column with single child
Just rendering the single child produces the same result

CURA-9424
2022-11-09 16:04:39 +01:00
c.lamboo
95e0021cce Align dropdown in open project dialog
CURA-9424
2022-11-09 15:55:48 +01:00
c.lamboo
948ac84070 Add create new button
CURA-9424
2022-11-09 15:49:04 +01:00
c.lamboo
dd4e1c66b7 Make MachineSelector more generic by detaching logic from view
By detaching the logic from the view custom handlers can be added to selecting printers. This was needed as the MachineSelector in the `WorkspaceDialog` needed to do something different from the `PreparMenu`.

CURA-9424
2022-11-09 14:16:33 +01:00
Remco Burema
3d645140f2 Fix: Sort updateables on top of others instead of vice-versa. 2022-11-09 10:37:49 +01:00
Joey de l'Arago
088ea0a768 Swap out UpdatableMachinesModel for MachineListModel.
This has to be instantiated with the WorkspaceDialog but attaching the listeners throws an error because it is done too early. The listeners are not needed anyway, so they have been disabled.

Update WorkspaceDialog.qml to use MachineListModel

CURA-9424
2022-11-04 16:44:04 +01:00
Joey de l'Arago
ccb4d181e6 Allow buttons to be passed in for drop down.
The change also remove the "Add Printer" and "Manage Printer" buttons from the monitor page drop down.

CURA-9424
2022-11-04 15:37:57 +01:00
Joey de l'Arago
2019d8f3af Start MachineSelector refactor by allowing list model to be passed in.
CURA-9424
2022-11-04 15:11:04 +01:00
Remco Burema
997b6f830d Manually revert part of PR.
It shouldn't really be nescesary, but you _can_ put any gcode flavour in relative or absolute, so we should also deal with that in the pause-at-height script.
2022-11-04 09:12:47 +01:00
Remco Burema
b1138e12d9 Merge branch 'main' 2022-11-04 08:47:50 +01:00
Joey de l'Arago
f8ed660d58 Update icons
CURA-9424
2022-11-03 16:54:56 +01:00
Joey de l'Arago
e954de7f01 Adjust dialog margins.
Move title into full width white square.

CURA-9424

Co-authored-by: Casper Lamboo <casper.lamboo@ultimaker.com>
2022-11-03 16:43:19 +01:00
Joey de l'Arago
6126135adb Adjust dialog margins.
Move title into full width white square.

CURA-9424

Co-authored-by: Casper Lamboo <casper.lamboo@ultimaker.com>
2022-11-03 16:43:01 +01:00
discip
d5099111bb
minor fixes + layer_no instead of height 2022-11-03 00:45:42 +01:00
Joey de l'Arago
c987ef5315 Adjust warning label margins
CURA-9424
2022-11-02 18:30:46 +01:00
Joey de l'Arago
8bb6083481 Create custom component for rows in WorkplaceDialog.
CURA-9424
2022-11-02 18:25:05 +01:00
Joey de l'Arago
b1e559ff1a Add padding below section titles
CURA-9424
2022-11-02 18:09:49 +01:00
Joey de l'Arago
7171249d3f Adjust margins on dialog to match designs
CURA-9424
2022-11-02 15:33:47 +01:00
Joey de l'Arago
1764c338a0 fix visibility check
CURA-9424
2022-11-02 14:23:36 +01:00
Joey de l'Arago
25ecb0e621 Make types specific
Remove unused imports

CURA-9424
2022-11-02 14:21:37 +01:00
Joey de l'Arago
3a07d14b4b remove comboboxheight
CURA-9424
2022-11-02 14:19:35 +01:00
Joey de l'Arago
cde07b9fe4 move signal function to bottom of file
CURA-9424
2022-11-02 14:18:47 +01:00
Joey de l'Arago
d12b59ec0f Refactor workspace sections into separate qml file.
Refactor an existing hack to force trigger the onIndexChanged functions of the comboboxes.

CURA-9424
2022-11-02 14:17:05 +01:00
Joey de l'Arago
f72c980c20 Add icons to the left of titles
Align title text with values in table

CURA-9424
2022-11-01 18:19:50 +01:00
Joey de l'Arago
b01ff2f57e Add open with above printer drop down.
CURA-9424
2022-11-01 17:10:59 +01:00
Joey de l'Arago
41fd36a038 Adjust margins
CURA-9424
2022-11-01 17:10:24 +01:00
Joey de l'Arago
fa317a9e14 Use unique id for WorkspaceDialog
CURA-9424
2022-11-01 16:31:24 +01:00
Joey de l'Arago
afd3d92c5e Use wide button spacing
CURA-9424
2022-11-01 16:28:23 +01:00
Joey de l'Arago
25a0355cfe Update dialog size
CURA-9424
2022-11-01 16:20:09 +01:00
Remco Burema
45fb71e966 Engine should know to (not) offset the nozzles w.r.t. disallowed areas.
part of CURA-9066
2022-10-30 17:07:21 +01:00
c.lamboo
efe3014d55 Merge branch '5.2' of github.com:Ultimaker/Cura into 5.2
# Conflicts:
#	plugins/UFPWriter/UFPWriter.py
2022-10-06 16:05:59 +02:00
c.lamboo
598e093b5e Revert "Flatten equation in UFP settings export"
This reverts commit ccf9a47f085ac66bf57ec04e99a04bd984770641.
2022-10-06 16:05:53 +02:00
c.lamboo
ccf9a47f08 Flatten equation in UFP settings export 2022-10-06 15:49:51 +02:00