23 Commits

Author SHA1 Message Date
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
fieldOfView
6e803c41f4 Add Cura-styled Menu, MenuItem and MenuSeparator controls 2021-05-20 12:20:19 +02:00
Jaime van Kessel
45f5a222f0
Downgrade version of certain qml impots to as low as they need to be 2021-04-14 10:58:05 +02:00
Remco Burema
e0e77327b5
Dropdown menu wasn't closing on MacOS.
CURA-8172
2021-04-13 13:38:58 +02: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
Nino van Hooff
8dbd67f5bd Merge remote-tracking branch 'origin/master' into CURA-6959_collapse_categories
# Conflicts:
#	resources/qml/Menus/SettingVisibilityPresetsMenu.qml
#	resources/qml/Settings/SettingView.qml
2020-01-02 15:32:26 +01:00
Jaime van Kessel
8b393317ff
Add "all" as a setting visibility preset
CURA-7082
2020-01-02 10:51:40 +01:00
Nino van Hooff
d780efd76c Add a settings menu option to collapse all categories
CURA-6959
2019-12-31 11:14:26 +01:00
Jaime van Kessel
d086e6fa86 Fix review comments
CURA-5734
2018-10-17 10:47:34 +02:00
Jaime van Kessel
fc9f05fc8b Moved SettingVisibilityPreset loading to it's own class
Since there was so much debate regarding the unit testing of the visiblity presets, i had another look at it.
The old version was almost untestable because all functionalities were mushed together into a single class.

CURA-5734
2018-10-01 11:32:55 +02:00
Diego Prado Gesto
987ae73078 Remove call to undefined function. 2018-09-25 13:15:26 +02:00
Lipu Fei
6620909f3d Remove non-existing showingAllSettings
CURA-5088
2018-03-19 13:47:04 +01:00
Lipu Fei
2660d15857 Make "show all settings" work
CURA-5088

"Show All Settings" in setting visibility menu now sets all settings
to be visible.
2018-03-19 10:58:56 +01:00
Lipu Fei
8e39849aad Refactor setting visibility preset
CURA-5088
2018-03-15 14:41:34 +01:00
Lipu Fei
83175b00c2 Change SettingVisibilityPresetsModel to non-singleton
CURA-5088
2018-03-15 14:41:34 +01:00
fieldOfView
711d60e8c7 Allow switching back to the "Custom" set 2018-03-09 16:44:27 +01:00
fieldOfView
6c1aee2c47 Update copyright 2018-03-05 23:55:23 +01:00
fieldOfView
7a56c4f631 Fix activating "All settings" menuitem 2018-03-05 23:50:42 +01:00
fieldOfView
3f9d92ade0 Remove "Search Results" item
It makes no sense to have it; instead none of the other menuitems are selected when search results are shown.
2018-02-09 20:22:46 +01:00
fieldOfView
74fe281e1d Sync currently selected preset between visibility-page and -menu 2018-02-09 18:54:04 +01:00
fieldOfView
f79e787f2c Refactor SettingVisibilityProfiles to SettingVisibilityPresets
This is closer to the current Cura intend
2018-02-09 09:01:39 +01:00