136 Commits

Author SHA1 Message Date
casper
72c038a8b1 Update AskOpenAsProjectOrModelsDialog
CURA 8687
2022-02-09 12:36:56 +01:00
casper
f59a23fd82 Update OpenFiles Dialog
CURA 8687
2022-02-09 12:36:00 +01:00
casper
8fc0fb2737 Update AboutDialog
CURA 8687
2022-02-09 12:34:18 +01:00
casper
6b85423948 Update WorkSpaceSummaryDialog
CURA 8687
2022-02-09 12:31:26 +01:00
Ghostkeeper
ee81326d6a
Fix remaining merge conflicts
- When both branches added Controls1 as OldControls, it's not marked as a merge conflict. But the merge removed the need for OldControls, so the import can be removed.
- There was one instance where I had removed the OldControls for a checkbox but there it should remain since the checkboxes are updated in a separate ticket.

Contributes to issue CURA-8684.
2022-01-31 17:08:56 +01:00
Ghostkeeper
6db4a55f6e
Merge branch 'replace_controls_1_for_controls_2' into CURA-8684_QtControls_replacement_Buttons,_Actions_&_'Exclusivity'
Conflicts:
	plugins/ImageReader/ConfigUI.qml
	plugins/PerObjectSettingsTool/PerObjectSettingsPanel.qml
	plugins/PerObjectSettingsTool/SettingPickDialog.qml
	resources/qml/Dialogs/DiscardOrKeepProfileChangesDialog.qml
	resources/qml/Menus/ConfigurationMenu/CustomConfiguration.qml
	resources/qml/Preferences/GeneralPage.qml
	resources/qml/Preferences/Materials/MaterialsPage.qml
	resources/qml/Preferences/Materials/MaterialsView.qml
	resources/qml/Preferences/ProfilesPage.qml

These conflicts are all arising from headers/includes being updated at the same time, or from the two branches marking the other one's components as needing OldControls.
This introduced more OldControls markers which don't get marked as merge conflicts by Git. This happens when an element could just be left as the original name but from the new import (e.g. a Button stays a Button in Controls 2, but should be marked as from OldControls on the branch that doesn't update the Button).
2022-01-31 16:53:45 +01:00
Casper Lamboo
69de60eb14
Update resources/qml/Dialogs/OpenFilesIncludingProjectsDialog.qml
Co-authored-by: Ghostkeeper <Ghostkeeper@users.noreply.github.com>
2022-01-27 16:03:58 +01:00
Ghostkeeper
7a1c3e1bd5
Use customised TableView for Keep/Discard Changes dialogue
Had to make some more modifications to get it to work again this time, due to the way the width of the table scales with the dialogue. But it's nice now.

Contributes to issue CURA-8686.
2022-01-26 16:30:50 +01:00
j.delarago
05d542c8d0 Bump UM version for CheckBox 2022-01-26 09:53:17 +01:00
casper
b45707af54 Update ask open project or models dialog to QtControls 2
CURA-8684
2022-01-24 21:58:23 +01:00
casper
4c0ee058e4 Update discard keep or discard changes dialog to QtControls 2
CURA-8684
2022-01-24 18:21:52 +01:00
casper
9e5fd998f4 Update open files dialog to QtControls 2
CURA-8684
2022-01-24 14:11:02 +01:00
j.delarago
5788ea8d00 The visibility settings in the preferences is defined in Uranium rather than Cura. The CheckBox has been moved to Uranium so that all parts of the project have access to this default styled component. 2022-01-24 14:03:47 +01:00
j.delarago
670872f8d1 Specify width and height in Cura.Checkbox
Update Dialogs to use Cura.CheckBox instead of QtQuick. This will make it easier to update the QtQuick checkbox version.
2022-01-20 17:31:00 +01:00
Ghostkeeper
1cc3aecd8c
Use correct scrollbar and clip contents
We've not been clipping this for so long, but the text really does overlap with the label and the buttons if we don't (and the text is sufficiently large).

Contributes to issue CURA-8686.
2022-01-18 17:56:31 +01:00
Ghostkeeper
c605b45b7c
Use styled scroll bar, and no ScrollView
Make sure the text aligns next to the scrollbar instead of behind it, too.

Contributes to issue CURA-8686.
2022-01-18 17:51:37 +01:00
Ghostkeeper
e0a6cb3383
Merge branch 'master' into replace_controls_1_for_controls_2
Conflicts:
	resources/qml/Actions.qml -> Translation fixes on master, while the QML elements were changed here for Controls2.
2022-01-18 17:17:10 +01:00
Jaime van Kessel
58a3aef8d4 Remove styles 2022-01-04 10:36:55 +01:00
Ghostkeeper
05bbebf2f7
Remove traces of Shapely
It's been replaced by Pyclipper. We were only importing Shapely here, not actually using it.

Contributes to issue CURA-8592.
2021-12-31 14:06:31 +01:00
Jaime van Kessel
54b52b6d4d Convert AboutDialog to controls 2 2021-11-11 15:53:24 +01:00
Jaime van Kessel
0cc46b514c Convert workspace summary dialog to Controls 2 2021-11-11 15:51:42 +01:00
jelle Spijker
f730959f78 fixed discard or keep combobox on Mac
Use the new controls ComboBox
2021-08-30 16:15:02 +02:00
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