jspijker
ea1a6d1a6e
capitalize M
...
Contribute to CURA-10208
2023-03-07 07:57:59 +01:00
Joey de l'Arago
f60463a237
Add left padding
...
CURA-9424
2022-11-18 11:33:00 +01:00
Joey de l'Arago
1d1800e440
Remove print statements
...
CURA-9424
2022-11-17 17:03:05 +01:00
Joey de l'Arago
dd510a5dfc
Cleanup
...
CURA-9424
2022-11-17 16:58:16 +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
4d2f6b9655
Previously there would always be one item in the updateableMachinesModel ("Create new"). This was moved to a button instead of being part of the model.
...
This fixes new machines being incorrectly created when a machine already exists.
CURA-9424
2022-11-17 16:21:57 +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
c.lamboo
dc65e801d0
Set machine isAbractMachine
in workspace dialog initialisation
2022-11-15 15:35:16 +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
28862c89e5
Show online badge and printer icon when initially loading machine selector
...
CURA-9424
2022-11-15 15:03:23 +01:00
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
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
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
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
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
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
Joey de l'Arago
8e56631972
3mf project files saved with an abstract printer would crash on loading when selecting a non abstract printer to load the project with.
...
This was because the metadata "is_abstract_machine" was being loaded into the non abstract machine. This caused a crash in MachineListModel.py by trying to delete this non abstract machine from a list where it didn't exist.
The solution is to ignore the "is_abstract_machine" metadata when loading settings from saved machines in 3mf files.
CURA-9711
2022-10-05 15:27:39 +02:00
Jaime van Kessel
2f1325259c
Fix 3mf workspace reader crashing on certain invalid files
...
CURA-4DP (Sentry crash)
2022-09-06 14:47:32 +02: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