4694 Commits

Author SHA1 Message Date
jelle Spijker
2986d50745
Update QtQuick and QtQuick.Controls
CURA-7813
2021-03-29 17:55:19 +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
Remco Burema
729d3afd32
Workaround discinction model/models/group.
Fixes #9448
2021-03-26 11:26:03 +01:00
Jaime van Kessel
2e88a3463c
Merge branch 'CURA-8014_welcome_pages_attract_mode' of github.com:Ultimaker/Cura 2021-03-25 15:53:59 +01:00
Jaime van Kessel
4e80ac5138
Use alignment instead of anchors
Since it's within a layout, you can't use anchors

CURA-8014
2021-03-25 15:53:08 +01:00
Remco Burema
839ac63241
Darker inactive dots in Whats New.
CURA-8014
2021-03-25 15:35:53 +01:00
Kostas Karmas
179d77ef5c Transfer the "What's new" and "Changelog" pages at the end of wizard
To match the requirements specified in the ticket.

CURA-8014
2021-03-25 13:29:17 +01:00
Jaime van Kessel
ab95af167c
Merge branch 'CURA-8094_onoarding_flow' of github.com:Ultimaker/Cura 2021-03-25 13:12:44 +01:00
Kostas Karmas
7af6ea5cc5 Remove unnecessary horizontalCenter anchor
Left and right anchors can't work at the same time with the horizontalCenter. In this case it
makes more sence to remove the horizontalCenter, since the left and right ones also define the
width of the rectangle.

CURA-8014
2021-03-25 12:51:07 +01:00
Jaime van Kessel
46c4a70b50
Merge branch 'CURA-8066_Change_tableView_colors' of github.com:Ultimaker/Cura 2021-03-25 11:33:54 +01:00
Kostas Karmas
e55e157925 Change label text to not contain a new line character
CURA-8094
2021-03-25 09:05:49 +01:00
Kostas Karmas
18c0510727 Fix review comments in WelcomeContent.qml
CURA-8094
2021-03-25 09:00:14 +01:00
Kostas Karmas
d6c1ffdda3 Fix review comments in CloudContent.qml
CURA-8094
2021-03-25 08:58:37 +01:00
Remco Burema
7304226aca
Increase reliance on anchors instead of width-height.
CURA-8014
2021-03-24 16:44:58 +01:00
Remco Burema
98ed2bc8b6
Adopt code-review remark.
Use height instead of implicit height.

Co-authored-by: Jaime van Kessel <nallath@gmail.com>
2021-03-24 15:59:22 +01:00
Remco Burema
d033e066f7
Adopt code-review remark.
Use width instead of implicit width.

Co-authored-by: Jaime van Kessel <nallath@gmail.com>
2021-03-24 15:58:44 +01:00
Remco Burema
b04bbfdee2
Adopt code-review remark.
Co-authored-by: Jaime van Kessel <nallath@gmail.com>
2021-03-24 15:57:41 +01:00
Remco Burema
5083db8d44
On new install or update, have highlights not just changelog.
Place images in resources/images/whats_new/N.format and texts in resources/texts/whats_new/N.format where N is the ordinal and format the respective allowed formats.

CURA-8014
2021-03-24 12:00:05 +01:00
Jelle Spijker
1b8d261e95
Correct spacing in Welcome screen
CURA-8094 Cura onboarding flow
2021-03-23 12:57:38 +01:00
Jelle Spijker
778db451ad
fixed typo
CURA-8094 Cura onboarding flow
2021-03-23 11:40:23 +01:00
Jelle Spijker
c727fe5e0c
Updated Sign in screen first run
CURA-8094 Cura onboarding flow
2021-03-23 11:20:38 +01:00
Jelle Spijker
ccf18a7443
Updated Welcome screen first run
CURA-8094 Cura onboarding flow
2021-03-23 11:18:25 +01:00
Ghostkeeper
1f9b4c3964
Handle deleting profiles better
When deleting profiles, the current item is set to null.
The Activate button was checking if the current profile was already active, and disabling the button if it was. But the button was still enabled if the current item is null because isCurrentItemActivated is only true if there is a current item. So to properly disable the button we need to check also if there is a current item.
The onItemsChanged signal can also trigger if the item that matches the toSelectItemName has no quality_changes_group, i.e. a built-in profile.

Probably fixes Sentry issue CURA-43.
2021-03-18 02:21:14 +01: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
Kostas Karmas
547698cffc Change TableView row color and text color when the row is selected
CURA-8066
2021-03-12 17:30:17 +01:00
Jaime van Kessel
cc1aadde12
Set & use enabled property for saving projects when ufp/gcode is loaded
CURA-8034
2021-03-05 14:09:39 +01:00
Ghostkeeper
593cd516ce
Fix typo in variable name
Otherwise you can't open any files any more. How did we not see this earlier?

Contributes to issue CURA-7996.
2021-02-09 14:24:09 +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
Jaime van Kessel
464c19f592
Show print weight with single decimal in the details view
Fixes #9176
CURA-7992
2021-01-26 10:29:55 +01:00
Ghostkeeper
63deea4721
Fix model to use for comboboxes to check if they are empty
This was checking against the wrong model, it seems.

Contributes to issue CURA-7865.
2021-01-22 13:52:27 +01:00
Kostas Karmas
cdedb56a9a Restore arguments in the SaveProjectMenu
Or else the LocalFileOutputDevice will output a mesh 3mf file and not a Cura 3mf project when
being called from the 'File -> Save Project -> To Disk' submenu item.

CURA-7865
2021-01-20 21:13:36 +01:00
Remco Burema
0ba3833995
Merge pull request #9153 from Ultimaker/CURA-7865_Save_file_in_existing_project_mvp
CURA-7865 Save file in existing project mvp
2021-01-20 19:18:39 +01:00
Kostas Karmas
b7e613a271 Remove file_type argument from the saveWorkspaceDialog
Because we also want to export ufp files, which are not workspace files.

CURA-7865
2021-01-19 21:39:16 +01:00
Kostas Karmas
f1e152955c Correct the Menu title
CURA-7865
2021-01-18 18:00:05 +01:00
Jaime van Kessel
ffccd687ac
Merge branch 'fix_machinesettings_floats' of https://github.com/fieldOfView/Cura 2021-01-18 15:53:57 +01:00
Kostas Karmas
fc718892d9 Add default text in the ComboBox
The Cura.ComboBox component can now display a default text when there are no items in its model
and another text when there is no item selected.

CURA-7865
2021-01-18 12:10:15 +01:00
Kostas Karmas
2774ec7bdf Remove unnecessary kwargs
CURA-7865
2021-01-15 17:42:42 +01:00
Kostas Karmas
a45af1da25 Add save projects submenu
CURA-7866
2021-01-15 09:50:23 +01:00
Kostas Karmas
fd3c985440 Fix ambiguous Ctrl+O shortcut not opening the local file dialog
Ctrl+O was assigned as a shortcut in two places:
  1. To the "File->Open File(s)" menu item, which is visible when only the local file
	 provider is enabled (i.e. the DF file provider is disabled)
  2. To the "File->Open File(s)->From Disk" menu item, which is visible when there are
     more than one file providers enabled.

This was creating an ambiguous shortcut, thus never opening the local file dialog.

This is now fixed by disabling the shortcuts when the respective items are not visible.

CURA-7868
2021-01-11 17:50:26 +01:00
Kostas Karmas
96c4d66029 Revert making the open file dialog a separate LocalFileProvider plugin
This reverts commits 00de7497a4c2986cf8fd13be8f598a0f615f3d63 to 5f6b3b52c1848416c98f7d276fe02f08d067f675

CURA-7868
2021-01-07 16:35:40 +01:00
Kostas Karmas
606ec587fe Change the row height in the table view
CURA-7868
2021-01-06 11:51:29 +01:00
Kostas Karmas
adcdf7bad9 Remove unnecessary QML imports
CURA-7868
2021-01-05 14:54:28 +01:00
Kostas Karmas
dc02038513 Add a Cura-themed, re-usable TableView component
CURA-7868
2021-01-05 14:47:46 +01:00
Ghostkeeper
5f6b3b52c1
Don't trigger open menu upon starting Cura
That would be very annoying.

Contributes to issue CURA-7868.
2021-01-04 18:13:18 +01:00
Ghostkeeper
b266904d76
Replace other references to the open action with the file provider model
This adds a function 'triggerFirst' to the file provider that triggers the first file provider in the model. That should then be the local file provider, but if the plug-in is disabled for some reason it would use another plug-in.

Contributes to issue CURA-7868.
2021-01-04 18:12:15 +01:00
Ghostkeeper
de80461954
Remove open action, fixing ambiguous overload of Ctrl+O
The action was no longer in the menu, but the hotkey still functioned. Then there were two actions for Ctrl+O, which was ambiguous to Qt.

Contributes to issue CURA-7868.
2021-01-04 18:11:00 +01:00