125 Commits

Author SHA1 Message Date
Saumya Jain
80d7536763
Merge branch 'main' into CURA-11561_mockup_pap 2024-02-16 11:47:32 +01:00
saumya.jain
f54d6099cd removed the preference made it a member of class platformphysics
CURA-10542
2024-02-15 11:23:34 +01:00
saumya.jain
32d9e6b45c preference does not change after user changes drop to buildplate for a model
CURA-10542
2024-02-14 12:59:41 +01:00
saumya.jain
aa2abfbd2e removing id of checkbox
CURA-10542
2024-02-09 15:15:44 +01:00
saumya.jain
91a84674f0 Adding the preference drop to buildplate while opening Cura project
CURA-10542
2024-02-09 15:11:56 +01:00
Erwan MATHIEU
671698d1a3 Restore useless import version bump
CURA-11561
2024-02-07 08:49:05 +01:00
Erwan MATHIEU
9afe5b46db We now display the global and extruder settings in the dialog
CURA-11561
2024-02-05 12:39:56 +01:00
Erwan MATHIEU
ab0a52063d Now loading user settings
CURA-11561
2024-02-02 16:05:36 +01:00
Erwan MATHIEU
733ef4d3d8 UI now displays an option to select the same profile
CURA-11561
2024-02-02 12:17:34 +01:00
c.lamboo
31cb11ce63 Update more copies
CURA-10719
2023-07-27 10:31:38 +02:00
c.lamboo
42002dac36 Update copy
Now more then just materials can be installed. Update copy to reflect this.

CURA-10719
2023-07-27 10:14:43 +02:00
Joey de l'Arago
f60463a237 Add left padding
CURA-9424
2022-11-18 11:33:00 +01:00
Joey de l'Arago
d286f50fe9 Check for translated string
CURA-9424
2022-11-17 16:39:59 +01:00
Joey de l'Arago
da71983891 Make combobox font and padding customizable.
Style WorkspaceDialog comboboxes similar to MachineSelector

CURA-9424
2022-11-17 14:41:14 +01:00
Joey de l'Arago
70f7f68a51 Color icons in workspace dialog so they are themed correctly in dark mode.
Don't show name when defaulting to create new printer.

CURA-9424
2022-11-17 13:01:20 +01:00
Joey de l'Arago
156004cb17 Move logic for deciding the initially selected printer that was inside WorkspaceDialog.qml before into WorkspaceDialog.py.
A block of code is run after dialog.show() and most of the dialog assignment. This is because dialog.show() resets the _result dictionary, we want to update the values in _result afterwards.

CURA-9424
2022-11-16 16:11:19 +01:00
Joey de l'Arago
a30fbf5a8f Disable connection status icon for drop down in WorkspaceDialog. It is not possible to display the correct status for LAN printers without making them the active printer anyway.
CURA-9424
2022-11-15 15:10:44 +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
7f9c183072 Remove redundant assignments
CURA-9424
2022-11-14 13:35:03 +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
c59f5a5c00 Add tooltip in WorkspaceDialog over the printer selection drop down.
CURA-9424
2022-11-10 14:48:38 +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
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
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
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
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
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
c.lamboo
0afab9f9e9 Add label-string to translations 2022-07-18 10:40:41 +02:00
Remco Burema
ca36b4f2ef Set proper background color for open project dialogs.
part of CURA-9402
2022-07-01 14:22:27 +02:00
c.lamboo
2f22002fd5 Add header and footer components to Dialog
This provides control over how the header (the header is newly introduced in this commit) and footer components are rendered. The footer is the area where the `leftButtoons` and `rightButtons` are rendered. Having control over how this is rendered introduces for instance the possibility to render the buttons within a warning area (an example of this can bee seen in the WorkspaceDialog).

CURA-6990
2022-06-06 21:45:48 +02:00
c.lamboo
34004df7af Un-capitalise materials
CURA-6990
2022-06-03 16:25:43 +02:00
c.lamboo
fccfcb0e2b Add scroll bar to the WorkSpaceDialog
The warning message took out some space from the dialog. Added a scroll bar to make sure the content can still be read.

CURA-6990
2022-06-02 16:58:41 +02:00
c.lamboo
812b728636 Show warning when opening file without installing missing materials
CURA-6990
2022-06-02 15:36:53 +02:00
j.delarago
0df21e6073 Refactor missing packages dialog into model (MissingPackageList) and controller (InstallMissingPackagesDialog.qml)
Rename classes and files to have unified naming.

CURA-6990
2022-06-01 16:50:53 +02:00
c.lamboo
cd18bfb893 Set warning only if there are missing materials
CURA-6990
2022-06-01 10:09:23 +02:00