Jaime van Kessel
6b9cc3f1c7
Use the correct function parameters when removing objects in menu
...
It turns out that the order of these functions matters. So when we created a
function with only one param, it would actually give it the index. Removing
with the index didn't work, so the object would still be there. The Qt objects
would already be deleted which caused segfaults
CURA-9222
2022-04-28 17:03:41 +02:00
Jaime van Kessel
af712785c8
No longer inject parameters into function handling in qml
2022-03-31 14:16:57 +02:00
Jaime van Kessel
babf3043f8
Use Cura.Menu instead of UM.Menu
...
Same as the previous commit. Use the specialised variant provided by Cura instead
of the generic one of UM
CURA-8683
2022-01-14 13:50:44 +01:00
Jaime van Kessel
3130ea0f74
Use Cura.MenuItem instead of UM.MenuItem
...
I didn't realise that Cura already had a menu item. To prevent
Confusion, i've changed Cura.MenuItem to use UM.MenuItem and let all
other menus use Cura.MenuItem
2022-01-14 13:46:05 +01:00
Jaime van Kessel
f44d4d341f
Apply suggestions from code review
...
Minor codestyle issues
CURA-8683
Co-authored-by: Casper Lamboo <c.lamboo@ultimaker.com>
2022-01-12 15:57:20 +01:00
Jaime van Kessel
6644bff2be
Fix some QML warnings on closing Cura
...
CURA-8683
2022-01-11 11:52:43 +01:00
Jaime van Kessel
2bad5c5cd3
Update the settings menu to controls 2
...
CURA-8683
2022-01-11 10:31:39 +01:00
Konstantinos Karmas
504f6dbe70
Revert "Cura 7813 qml modules version bump"
2021-03-30 09:48:28 +02:00
jelle Spijker
2986d50745
Update QtQuick and QtQuick.Controls
...
CURA-7813
2021-03-29 17:55:19 +02:00
Lipu Fei
4f91389941
Fix QML warnings
2020-01-07 11:37:37 +01:00
Lipu Fei
86ff7443cf
Fix QML undefined errors
2019-10-16 10:36:36 +02:00
Jaime van Kessel
07a20e131a
Prevent changing material / variant of disabled extruder
...
It is disabled, so changing it's material / variant doesn't make that much sense...
CURA-6872
2019-10-10 13:03:39 +02:00
Lipu Fei
fb368a4788
Remove MachineManager.activeVariantNames
...
CURA-6865
2019-10-08 15:16:27 +02:00
Jaime van Kessel
3f8a65d926
Fix the settings menu not reacting to onTriggered signals
2019-08-01 11:51:58 +02:00
Lipu Fei
b13bfaa8e1
Rename setVariantGroup() -> setVariant()
...
There is no such thing as VariantGroup.
2018-03-19 12:27:15 +01:00
Jaime van Kessel
2de587a8c6
Made some changes so the code also works with lower versions of Qt & pyQt
2018-03-05 15:32:46 +01:00
Lipu Fei
7a3ebe1a42
Fix NozzleMenu active nozzle bullet
2018-02-21 16:36:42 +01:00
Lipu Fei
c432d4ffbb
WIP: Simplify global stack and extruder stack activation and fixes
2018-02-20 11:16:51 +01:00
Lipu Fei
2d5f65a954
WIP: Fix NozzleMenu QObject result type
2018-02-19 14:23:05 +01:00
Lipu Fei
4468f4d620
WIP: Fix NozzleMenu warning on non-notifiable bindings
2018-02-16 14:23:11 +01:00
Lipu Fei
6dc53eb741
WIP: Fix NozzleMenu extruder binding
2018-02-16 14:23:11 +01:00
Jack Ha
8aab8f4394
CURA-4606 cleanup and optimization for replaceContainer
2018-02-16 14:23:11 +01:00
Lipu Fei
54363bad02
WIP: Refactor NozzleMenu.qml
2018-02-16 14:20:03 +01:00
Lipu Fei
55bdc0c853
WIP: Create VariantManager
2018-02-16 14:20:02 +01:00
fieldOfView
259b1091f6
Fix QML errors building the material and nozzle menus
...
Since the network rewrite, outputdevices no longer have hotends and materials. This functionality may return, but until that time this does a better job at checking if the properties exist, preventing QML errors.
2018-01-17 19:36:20 +01:00
Diego Prado Gesto
fd46f6968b
CURA-4461 Show nozzles and buildplates separately depending on the
...
hardware_type metadata in variants
2018-01-10 11:42:43 +01:00
Chris ter Beke
9806ec7374
Resolve merge conflicts with master - CURA-4482
2017-10-31 09:22:03 +01:00
ChrisTerBeke
d718e6e36c
Create extruder stack for single extruder machines on start - CURA-4482
2017-10-31 09:08:20 +01:00
Diego Prado Gesto
87ba4056ee
CURA-4485 Minor changes
2017-10-25 13:55:30 +02:00
fieldOfView
ff847aa329
Fix qml error when there is no connected printer
...
Also fixes code style
2017-10-25 11:52:43 +02:00
Diego Prado Gesto
0eedfa5c18
CURA-4485 Disabling automatic material and variant when connecting to a
...
printer within a cluster of more than 1 printer.
2017-10-24 15:45:20 +02:00
Mark
9a193ad5c5
Changing AGPLv3 to LGPLv3
2017-09-28 13:00:43 +02:00
fieldOfView
0630559472
Fix setting variant of non-active extruder through menu
2017-08-08 11:41:15 +02:00
Ghostkeeper
c1a68379f5
Clarify context of automatic nozzle detection translation string
...
Otherwise a translator will only see 'Automatic: %1', '%1 is the value from the printer', without knowing what kind of value that is then.
Found while working on CURA-3998.
2017-07-18 13:10:17 +02:00
Jaime van Kessel
92389365b6
If a machine inherits qualities, it tries to select the correct variant ID's as well
...
CURA-2424
2016-09-21 16:36:45 +02:00
fieldOfView
0af26cc4a7
Prevent qml warning when no printer is connected
2016-09-15 13:15:19 +02:00
fieldOfView
cf7a6730d1
Add a menuitem to load the nozzle/material loaded on the printer
...
CURA-2276
2016-09-14 17:39:49 +02:00
fieldOfView
2bd53d4ce4
Add stub (invisible) menuitems to get material/nozzle from printer
...
In preparation to stringfreeze. CURA-2276
2016-09-13 09:25:10 +02:00
Arjen Hiemstra
842015ea10
Move all the menus to individual QML files to make it easier to reuse them
...
Contributes to CURA-342
2016-06-28 17:32:50 +02:00