luz paz
d68f375e38
Fix various typos
...
Found via `codespell -q 3 -S *.po,*.pot -L childs,initialy,lod,ned,te,slicable,sur,tutoriels,wont`
2021-09-07 11:33:54 -04:00
Konstantinos Karmas
26a17e0603
Code-style improvement
...
CURA-8112
Co-authored-by: Ghostkeeper <Ghostkeeper@users.noreply.github.com>
2021-07-15 10:02:57 +02:00
Konstantinos Karmas
11f66b2a78
Add brackets
...
CURA-8112
2021-07-14 12:54:31 +02:00
Konstantinos Karmas
9ddb3b7713
Fix icon being ignored in message action buttons
...
CURA-8112
2021-07-13 16:53:02 +02:00
Konstantinos Karmas
d4c254dcab
Make the Link button in the Messages similar to the Cura Tertiary button
...
CURA-8012
2021-07-06 13:59:05 +02:00
Ghostkeeper
912a65b0f3
Add missing source argument to onTriggered handler
...
Otherwise the source variable is always undefined.
Fixes #9621 .
2021-05-07 02:25:05 +02:00
Kostas Karmas
16cb42b3c7
Set the size of the "What's New" dialog equal to the "Welcome" dialog
...
CURA-8154
2021-04-09 11:39:43 +02:00
Konstantinos Karmas
504f6dbe70
Revert "Cura 7813 qml modules version bump"
2021-03-30 09:48:28 +02:00
Konstantinos Karmas
180732788b
Merge pull request #9472 from Ultimaker/CURA-7813_QML_warnings
...
Cura 7813 qml modules version bump
2021-03-30 09:42:59 +02:00
Kostas Karmas
7827b36ab7
Fix QML warnings due to depricated on<signal> calls in Connections
...
As of 5.12, the signals used in connections should not be declared as on<signal>, but as
function on<signal>(arguments).
2021-03-30 09:02:48 +02:00
jelle Spijker
3baa71fd48
Update QtGraphicalEffects, Window and Dialogs
...
CURA-7813
2021-03-29 18:12:35 +02:00
jelle Spijker
9da321ffb9
Update Layouts, Control.Styles and Dialogs
...
CURA-7813
2021-03-29 18:04:47 +02:00
jelle Spijker
2986d50745
Update QtQuick and QtQuick.Controls
...
CURA-7813
2021-03-29 17:55:19 +02: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
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
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
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
00de7497a4
Move open dialogue to separate file provider plug-in
...
We can now define plug-ins that specify where to open files from. This is one of the places where you can open files.
This breaks the main button to open files in the interface. It needs to be redirected to trigger the plug-in to show the open file dialogue.
Contributest o issue CURA-7868.
2021-01-04 18:11:00 +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
95f1b11c45
Set initial page through currentPage after initialising
...
This has a delayed effect through a signal being emitted. That is necessary because the pagesList itself is also updated delayed, so at this time page 0 doesn't exist yet.
Contributes to issue CURA-7501.
2020-10-30 17:45:58 +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
Jaime van Kessel
b1cd5960b8
Load a number of dialogs on demand instead of always
...
Knocks off 0.4 sec of booting.
2020-07-10 13:23:30 +02:00
Jaime van Kessel
3c9de0610b
Let welcomeDialog default to invisible
...
This speeds up the bootup a bit since it doesn't have to create a number
of the items in the dialog
2020-06-29 16:58:45 +02:00
Kostas Karmas
20c9be285f
Remove unnecessary variable from CuraApplication
...
In response to feedback comment https://github.com/Ultimaker/Cura/pull/7904#discussion_r438022415
CURA-7454
2020-06-10 12:50:03 +02:00
Kostas Karmas
669dcc62dd
Add extra "AddPrinterPagesModel" without the cancel button
...
This commit adds an additional AddPrinterPagesModel in Cura that does
not have the "Cancel" button in the "Add Printer" page. To achieve
that, the AddPrinterPagesModel is modified so that its initialize
function decides whether or not it will add the cancel button.
If Cura ends up in a state without an active machine, the AddPrinters
dialog will open up using the showAddPrintersUncancellableDialog signal
and display the new "Uncancellable" (is this a word?)
AddPrinterPagesModel, so that the dialog cannot be dismissed.
If Cura is closed at that point, the next time it is initiated, if the
user is logged in and there is no ActiveMachine, then instead of
displaying the entire WelcomePages wizard, it will show the
uncancellable AddPrinterPagesModel, forcing the user to add a printer.
CURA-7454
2020-06-09 15:20:15 +02:00
Ghostkeeper
c32677d27a
Don't hard-code application name here either
...
Seems that there are 30-ish places where this is hard-coded in the rest of our code base too. I'm not going to fix all of those.
2020-03-06 15:58:41 +01:00
Lipu Fei
65e1314538
Fix QML null warnings
2020-02-13 12:26:49 +01:00
Nino van Hooff
d4eb463f2d
Always subscribe to packages after installing them
...
Now that we subscribe for all situations where a package is installed,
it makes sense to watch package installs and create a 1:1 relation that
way. Prevents code duplication.
CURA-7099
2020-01-28 13:08:57 +01:00
Remco Burema
3872e8ffa3
Move 'Toolbar' lower: Toolpanels could be obscured by objects-info.
2020-01-14 12:45:11 +01:00
Ghostkeeper
122b6318fe
Remove dash if print job name is empty
...
Otherwise it shows ' - Ultimaker Cura' here which looks a bit weird.
2020-01-13 12:32:46 +01:00
Dimitriovski
084f55b611
Removed hard-coded name for Ultimaker Cura to use applicationDisplayName
...
CURA-6978
2019-11-27 15:35:09 +01:00
Dimitriovski
9522ce2b78
Added the project name in Window Title
...
CURA-6978
2019-11-27 11:59:19 +01:00
Nino van Hooff
d63499fb24
Remove redundant visibility properties from Items
...
CURA-6874
2019-10-30 10:57:03 +01:00
Nino van Hooff
958a922808
Cleanup debugging things for cura-6874
...
CURA-6874
2019-10-30 10:54:22 +01:00
Nino van Hooff
6bef16bbec
Cleanup: make safe areas invisible
...
CURA-6874
2019-10-28 10:28:19 +01:00
Nino van Hooff
9430d05cac
WIP: center path slider between view controls and action panel
...
CURA-6874
2019-10-25 15:06:33 +02:00
Jaime van Kessel
cc65bc8213
Fix scrollbar for object selector
2019-09-18 17:05:00 +02:00
Ghostkeeper
7aec564848
Attempt at fixing saving of load location on Linux
...
Hope this also works on the Qt version used by our build system...
2019-07-19 12:38:07 +02:00
Ghostkeeper
365d725e42
Add escape as hotkey to exit full screen
...
Should be easier to discover.
Fixes #5956 .
2019-07-03 10:32:00 +02:00
Lipu Fei
0c15f69c44
Merge remote-tracking branch 'origin/4.1'
2019-05-17 15:01:40 +02:00
Lipu Fei
0555cbae4e
Fix add machine dialog state
2019-05-17 15:01:18 +02:00
Diego Prado Gesto
9e5e57e6c5
Merge branch 'master' into feature_model_list
2019-05-07 11:57:31 +02:00
Lipu Fei
defcba6927
Fix that you can only cancel in WizardDialog
...
CURA-6483
2019-04-29 15:53:08 +02:00
Jaime van Kessel
db1a5ec8c0
Add mousearea to prevent clicking through the printSetupSelector
...
CURA-6478
2019-04-29 10:38:05 +02:00
Jaime van Kessel
8d0a31dcfb
Show tooltip on the right side if the setting area is to far to the left
...
CURA-6478
2019-04-29 10:33:02 +02:00
Jaime van Kessel
50ad4e4d4e
Speed up the rendering of the solid view by caching support_angle property
2019-04-19 14:55:28 +02:00
Jaime van Kessel
f86f4d184b
Add a QML item that shows the FPS
2019-04-19 13:58:41 +02:00
Remco Burema
b5d4ef61f5
Add cancel-button and fix window-size (add printer). [CURA-6435]
2019-04-17 18:10:26 +02:00
Lipu Fei
44a0f00f0b
Reuse welcome dialog item to show whats new upon start
...
CURA-6447
2019-04-17 09:58:07 +02:00
Lipu Fei
a49d00c60e
Move some code into Component.onCompleted
...
CURA-6447
2019-04-17 09:42:42 +02:00