64 Commits

Author SHA1 Message Date
Ghostkeeper
adf3f51a4e
Use buttons from QtQuick.Controls 2
This is to make it look more consistent with the open dialog, which needed Controls 2 in order to make the drop-downs work on MacOS.

As discussed in the CCB.
2021-06-15 16:28:20 +02:00
Kostas Karmas
dadda742ec Add pywin32 to the requirements
Allows the keyring library to use the Windows Credential Manager as a backend.

CURA-7180
2021-03-29 16:31:31 +02:00
Jelle Spijker
0070866afc
Removed unused dependencies from about dialog
CURA-7180 keyring storage
2021-03-16 11:47:00 +01:00
Jelle Spijker
392ee68557
Updated about dialog with new dependencies
CURA-7180 keyring storage
2021-03-15 16:18:16 +01:00
Ghostkeeper
d8fba53952
Document addToRecent property
Contributes to issue CURA-7996.
2021-02-09 10:07:23 +01:00
Kostas Karmas
f8a9e7f2d2 Pass the "add to recent" as an input var to dialogs that open projects
This way it is clear before to the dialog whether it should add the file to the recent files list,
before the dialog opens.

CURA-7996
2021-02-08 11:55:28 +01:00
Kostas Karmas
ee22be74b9 Properly check whether the file should be added to recent
When importing only the models of a project file, Cura wasn't checking whether the file should
be added to the recent files list. This commit fixes that.

CURA-7996
2021-02-05 12:14:01 +01:00
Remco Burema
06666bddca
Fix recent files hint when file opens via dialoges. 2021-01-29 14:49:32 +01:00
Ghostkeeper
4b375ce2fe
Remove unused hasMesh signal
This is logic that shouldn't be in QML anyway. It's not used by anything at this point. Let's remove it.

Contributes to issue CURA-7868.
2021-01-04 18:11:00 +01:00
Ghostkeeper
a2d2043b3c
Don't create DiscardOrKeepProfileChangesDialog on start-up
Just whenever we need it, please.
This removes a warning from the start-up sequence, but the warning is still there when you open the dialogue. It's complaining that a model has size -13 and another has size -14, but I don't know which model that is. The UserChangesModel seems to be fine at a size of 1 or so.

Contributes to issue CURA-7501.
2020-10-30 17:45:58 +01:00
Ghostkeeper
0f86481ac2
Add libnest2d and pynest2d to list of dependencies
Contributes to issue CURA-7781.
2020-10-19 13:11:46 +02:00
Ghostkeeper
222d6604e0
Clarifications and fixes to source strings
Found during work on CURA-7622.
2020-08-21 16:40:24 +02:00
Remco Burema
302e0c6277
Remove redundant button.
As discussed in the CCB this morning. Since the new profile will be the _changed to_ profile rather than the _changed from_ (the latter of which would make the button useful, but since the profile is already switched at that point it would be a lot of work), the 'Create New Profile ...' button (in  the Keep/Discard dialog) is redundant, since you can always create a new profile if you select keep changes.
2020-07-22 11:04:58 +02:00
Kostas Karmas
7362e3f227 Update list of dependencies in "About" dialog
CURA-7542
2020-07-02 13:29:54 +02:00
Jaime van Kessel
6a3e96aa0e
Don't re-create translation catalog in workspace summary 2020-06-29 17:06:16 +02:00
Ghostkeeper
09298eac93
Elide setting name if it's too long
This keeps the text readable.

Fixes #7926.
2020-06-15 12:24:39 +02:00
Ghostkeeper
c7929fa053
Fix theming of width/height of this dialogue
Also allow resizing it, because why not.

Contributes to #7926.
2020-06-15 12:22:20 +02:00
Kostas Karmas
5c898b8c57 Allow the machine manager to set an empty active machine
Gracefully handle the case where the machine manager is requested to
delete the last machine in Cura. In this case, instead of deleting
everything of this machine and still keep it as an active machine,
the machine manager will set the active machine to None.

The QML files which depend on the active machine were changed to
properly handle themselves when there is no active machine.

CURA-7454
2020-06-09 15:33:22 +02:00
Remco Burema
4b4864485c
CURA-7409 Update keep/discard dialog more. 2020-04-29 16:23:06 +02:00
Remco Burema
3604e75cce
CURA-7409 Update keep/discard dialog. 2020-04-29 13:02:48 +02:00
Ghostkeeper
92e520b230
Fix translation with an argument
There are multiple issues with that line:
* Other languages might have the application name before their version of 'About'. The previous line can't account for those languages because the application name is always appended at the end.
* The old one was trying to translate CuraApplication.applicationDisplayName which can't be statically determined.
* The old one had no explanation towards the translator.
2020-02-24 13:09:29 +01:00
Nino van Hooff
fcaac91d5b Add "Enterprise" About dialog
CURA-7011
2019-12-11 16:26:17 +01:00
Jaime van Kessel
80719d4724
Mark disabled extruders when saving project 2019-11-25 11:13:07 +01:00
Jaime van Kessel
c6f42766c7
Remove hardcoded sizes from dialogs & popups
Contributes to #6670
2019-11-19 13:00:39 +01:00
Jaime van Kessel
377a21071b
Remove color from discard dialog text, since it uses system style
Originally a lot of text would not be readable when in dark theme
because the text would be light, but the background would always be
white.
2019-11-18 11:33:36 +01:00
Jaime van Kessel
f1b9ac1c21
Fix aspect ratio of logo in about window
CURA-6934
2019-11-04 16:15:40 +01:00
Lipu Fei
227b76d6f0 Remove deprecated currentExtruderPositions
CURA-6858
2019-10-22 14:11:31 +02:00
Lipu Fei
570dfdab4b Fix project saving summary
CURA-6865
2019-10-08 15:15:13 +02:00
Jaime van Kessel
e6d19d9244
Merge branch 'feature_intent' of github.com:Ultimaker/Cura into feature_intent 2019-10-08 10:37:40 +02:00
Jaime van Kessel
cfd577f235
Remove buildplate info from workspace save dialog 2019-10-08 10:37:19 +02:00
Lipu Fei
32747d2abe Merge remote-tracking branch 'origin/master' into feature_intent 2019-10-07 21:20:54 +02:00
Nino van Hooff
11d0462c7a Fix recent files python function calls 2019-10-07 10:44:30 +02:00
Nino van Hooff
2df0d96923 Consider user preference when opening project files from cli.
The logic using just a "skip_project_file_check" boolean was too obscure
imho, so used a string value with more explicit values
to improve readability

CURA-6824
2019-10-01 11:54:53 +02:00
Lipu Fei
79f938a39c Add intent for project saving summary
CURA-6800
2019-09-23 11:44:11 +02:00
Jaime van Kessel
ff0a18603b Remove a few more usages of deprecated functions 2019-05-16 15:20:38 +02:00
Jaime van Kessel
c3a373e2a2 Remove usages of deprecated activeMachineName 2019-05-03 13:38:06 +02:00
Jaime van Kessel
d42f446d70 Remove usages of deprecated function 2019-05-03 13:17:10 +02:00
Lipu Fei
7d096e5734 Merge remote-tracking branch 'origin/master' into CURA-6435_new_style_add_machine 2019-04-08 09:09:07 +02:00
Jaime van Kessel
ed503cb6ec Removed platform check that always had the same result
The UM.Application.platform property has been removed by someone for quite some time.
I don't know why the check was in there, but it doesn't seem needed at all as the property was always undefined
2019-04-05 17:07:12 +02:00
Lipu Fei
b269dc95b0 Remove old AddMachineDialog
CURA-6435
2019-04-05 09:10:58 +02:00
Jaime van Kessel
2dd4a30586 Prevent machines without an extruder from showing "undefined" in the workspace dialog
This fixes #5572
2019-04-04 20:07:27 +02:00
Ghostkeeper
2ccc30b824
Only show add machine dialogue if your stack got corrupt, not whole onboarding
We don't need to accept the EULA again or whatever. Just add the printer that got lost.

Contributes to issue CURA-6057.
2019-04-03 15:52:07 +02:00
Jaime van Kessel
5c354eb6a3 Switch the order of name & id in addMachine call
This makes it possible for the name to not be set, in which case it will
default to the name provided by the definition

CURA-6179
2019-02-26 10:45:18 +01:00
Jaime van Kessel
b2df5c3445 Remove the numSettingsVisible property from the workspace dialog
This slows down the booting of Cura and it's probably not something people care about.
2019-02-21 15:08:41 +01:00
Diego Prado Gesto
ef73453874 Fix height in the about dialog to show the logo correctly 2019-02-15 14:36:58 +01:00
Jaime van Kessel
c1b53f0a90 Change header color in about window
This makes it work for both light & dark theme
2019-02-14 10:42:25 +01:00
Jaime van Kessel
d59889a4ab Fix logo in about popup 2019-02-05 11:13:47 +01:00
Diego Prado Gesto
77ede1ae6b Unify the fonts to only have 8 instead of 13.
Contributes to CURA-6025.
2018-12-12 17:50:21 +01:00
Jaime van Kessel
6c70543d11 Only set the containerID when the dialog is visible
This prevents unneeded updates

CURA-6016
2018-12-11 12:46:11 +01:00
Diego Prado Gesto
47626f6033 Fix the color and proportions of the cura logo in the about panel 2018-12-06 11:57:55 +01:00