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
Lipu Fei
9494173f43
Remove hack in WelcomePagesModel and add WhatsNewPagesModel
...
CURA-6447
2019-04-12 12:11:09 +02:00
Lipu Fei
b692787def
Fix how onboarding flow is shown
...
CURA-6447
2019-04-10 07:16:09 +02:00
Lipu Fei
61ee2ec85c
Simplify code
...
CURA-6447
2019-04-09 11:45:30 +02:00
Lipu Fei
f94344263b
Fix merge conflicts
2019-04-09 11:33:07 +02:00
Diego Prado Gesto
7bf25a3be5
Also allow upper case CURAPACKAGE filenames
2019-04-08 16:26:14 +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
a5259ce22e
Make progressBar optional in Wizard
...
CURA-6435
2019-04-05 09:09:00 +02:00
Lipu Fei
8e9a934035
Replace with the new add machine dialog
...
CURA-6435
2019-04-05 09:09:00 +02:00
Lipu Fei
a030e4a264
Rename WelcomDialog to WelcomeDialogItem
...
CURA-6435
2019-04-05 09:08:59 +02:00
Ghostkeeper
b9efeb47ed
Don't open add printer wizard on first launch
...
Oops.
Contributes to issue CURA-6057.
2019-04-03 15:56:54 +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
Ghostkeeper
745d9e6116
Also catch middle mouse button in overlay
...
Just catch all buttons. There's an entry for that in QML.
Contributes to issue CURA-6057.
2019-04-03 11:03:55 +02:00
Jaime van Kessel
894a09b654
The welcome dialog is now a rectangle instead of a dialog
...
The whole window approach was just causing to much cross platform issues, so
I converted it into a rectangle and put a mouseArea that eats all the events in the
greyOut background
CURA-6057
2019-03-29 11:33:49 +01:00
Lipu Fei
1dd48c5728
Show welcome page if no printer
2019-03-26 16:21:07 +01:00
Lipu Fei
418ad73a63
Move page index logic into WelcomePagesModel
2019-03-26 11:34:44 +01:00
Remco Burema
139edbb0b7
Merge pull request #5460 from Ultimaker/WIP_onboarding_by_ip
...
'WIP-onboarding-by-ip' into 'parent' branch
2019-03-21 09:52:39 +01:00
Remco Burema
1f2fea14ce
Little refactors (apply review comments). [CURA-6294]
2019-03-20 16:08:50 +01:00
Lipu Fei
95a0a5fb24
Theme window_disabled_background
2019-03-20 13:46:54 +01:00