Jaime van Kessel
3a1862f15f
Fix deprecation warning on recentfilesmenu
2022-04-01 13:47:21 +02:00
j.delarago
cfad991120
Popup will now resize based on the implicitWidth/implicitHeight of it's children.
...
This causes a binding loop when using layouts like Column.
To resolve this the height/width of the popup in ExpandablePopup can now be set explicitly with contentWidth and contentHeight
For ExpandablePopups with contentItems that are not Layouts the implicitWidth/implicitHeight can be set directly in the contentItem.
CURA-8640
2022-04-01 09:31:27 +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
1532779d1b
Remove Extruders property from global stack
...
CURA-7810
2022-03-24 14:26:03 +01:00
fieldOfView
09c3ae628e
Fix "double"/non-functional scrollbars on ScrollViews
2022-03-22 14:46:14 +01:00
j.delarago
59158db34b
Lining at the bottom of UnderlineBackground and at the top of the menu give a double width lining.
...
Moved the menu up slightly so lining of UnderlineBackground is hidden.
CURA-9004
2022-03-07 17:07:14 +01:00
j.delarago
a49aa6502c
Set material and nozzle selection menus to appear at bottom of button like drop downs.
...
CURA-9004
2022-03-07 16:56:26 +01:00
j.delarago
3c7498feed
Move ToolbarButton and ToolTip from Cura into Uranium. This makes it possible to use new styled ToolbarButton in plugins/Tools for the rotate tool.
...
Removed the ContentAlignment enum in ToolTip in favour of using the Text.ContentAlignment enum. For some reason references to this enum fail everywhere when ToolTip is moved into Uranium. There is some evil time-wasting magic cast on this component!
CURA-8943
2022-03-03 15:53:30 +01:00
Jaime van Kessel
38b947f0fb
Fix width in multiply dialog
...
CURA-8688
2022-02-28 15:57:36 +01:00
j.delarago
e2fe50baf1
Merge branch 'replace_controls_1_for_controls_2' into CURA-8688_qt6_cleanup
...
# Conflicts:
# resources/qml/Widgets/Menu.qml
# resources/qml/Widgets/MenuItem.qml
# resources/themes/cura-dark/theme.json
# resources/themes/cura-light/theme.json
2022-02-28 08:51:42 +01:00
Evangelos Trantos
a2ce010ec1
Merge pull request #11521 from Ultimaker/CURA-8928_menu_visual_fixes
...
Menu visual fixes
2022-02-24 13:22:56 +01:00
Jaime van Kessel
8cf9fe7941
Add noWrap to all labels in configurationMenu
...
CURA-8941
2022-02-22 10:55:22 +01:00
Jaime van Kessel
6e8c708f35
Change genericMaterials menu to customized menu
...
CURA-8928
2022-02-21 13:26:14 +01:00
Jaime van Kessel
b0d944f92d
Change all unstyled menuseperators to styled ones
...
CURA-8928
2022-02-21 13:21:51 +01:00
Jaime van Kessel
c3745b42b6
Switch contextMenu to Cura.Menu
...
This fixes all the styling issues that it still had
CURA-8928
2022-02-21 13:15:09 +01:00
Jaime van Kessel
58d04420ed
Ensure that edit & help menu have the right styling
...
They were still using the default Qt Menu instead of Cura.Menu
CURA-8928
2022-02-21 13:13:27 +01:00
j.delarago
104a34d05a
Vertically center aligns "Material", "PrintCore" and dropdowns in extruder configuration menu.
...
CURA-8688
2022-02-21 10:46:39 +01:00
j.delarago
b2811b1125
Merge branch 'replace_controls_1_for_controls_2' into CURA-8688_qt6_cleanup
2022-02-17 15:21:19 +01:00
Jaime van Kessel
b5136ba70c
Fix merge conflics
2022-02-17 15:07:48 +01:00
Ghostkeeper
e552383863
Consistently use Cura.Menu and Cura.MenuItem
...
Some of these were using the built-in Menu and MenuItem, causing the menus to appear in different sizes.
Contributes to issue CURA-8688.
2022-02-15 16:19:39 +01:00
casper
1c711129e2
Merge branch 'replace_controls_1_for_controls_2' into CURA-8687_dialogs
...
# Conflicts:
# resources/qml/Account/SyncState.qml
# resources/qml/Preferences/ReadOnlySpinBox.qml
2022-02-11 10:44:52 +01:00
Jaime van Kessel
1b9c86603c
Fix layout of multiply object dialog
2022-02-10 10:59:21 +01:00
Jaime van Kessel
78523789e7
Use correct styling in settingmenu
2022-02-10 10:49:18 +01:00
Jaime van Kessel
5615ec82a3
Prevent text in configuration menu from spilling out of the menu
2022-02-10 10:45:51 +01:00
casper
6b85423948
Update WorkSpaceSummaryDialog
...
CURA 8687
2022-02-09 12:31:26 +01:00
casper
30bd9e7d67
Update Dialog in context menu
...
CURA 8687
2022-02-09 11:17:19 +01:00
casper
50820048f7
Update SpinBox in ContextMenu
2022-02-08 11:34:54 +01:00
Ghostkeeper
6db4a55f6e
Merge branch 'replace_controls_1_for_controls_2' into CURA-8684_QtControls_replacement_Buttons,_Actions_&_'Exclusivity'
...
Conflicts:
plugins/ImageReader/ConfigUI.qml
plugins/PerObjectSettingsTool/PerObjectSettingsPanel.qml
plugins/PerObjectSettingsTool/SettingPickDialog.qml
resources/qml/Dialogs/DiscardOrKeepProfileChangesDialog.qml
resources/qml/Menus/ConfigurationMenu/CustomConfiguration.qml
resources/qml/Preferences/GeneralPage.qml
resources/qml/Preferences/Materials/MaterialsPage.qml
resources/qml/Preferences/Materials/MaterialsView.qml
resources/qml/Preferences/ProfilesPage.qml
These conflicts are all arising from headers/includes being updated at the same time, or from the two branches marking the other one's components as needing OldControls.
This introduced more OldControls markers which don't get marked as merge conflicts by Git. This happens when an element could just be left as the original name but from the new import (e.g. a Button stays a Button in Controls 2, but should be marked as from OldControls on the branch that doesn't update the Button).
2022-01-31 16:53:45 +01:00
casper
8979632457
Resolve Qt warning
...
CURA-8684
2022-01-30 23:30:39 +01:00
casper
29fc98fea4
Add documentation to PrintSetupHeaderButton
...
CURA-8684
2022-01-28 10:33:01 +01:00
Ghostkeeper
5f101e8233
Set checked tab for TabRowButton
...
We're changing this so that the button doesn't set this by itself. This is necessary so that I can use this TabRowButton also when it's not in a repeater (for the global stack in the profile manager).
Contributes to issue CURA-8686.
2022-01-25 11:58:44 +01:00
casper
07095a5802
Update Material selection and variant selection buttons to QtControls 2
...
CURA-8684
2022-01-20 22:38:00 +01:00
Ghostkeeper
7a1578cbc4
Re-use component scrollbar from Uranium
...
It's a new component so that we don't have to re-implement it everywhere. In this case we do have to anchor it correctly though because ScrollView doesn't do that by itself.
Contributes to issue CURA-8686.
2022-01-18 18:22:49 +01:00
Jaime van Kessel
288aeec2db
Disable menuItems if they aren't visible
...
This prevents the shortcuts from breaking
2022-01-17 15:32:27 +01:00
Jaime van Kessel
901f6c4b63
Fix ctrl+shift+s shortcut
2022-01-17 15:06:32 +01:00
Jaime van Kessel
3e4c171603
Simplify the OpenFilesMenu
...
CURA-8683
2022-01-17 11:09:42 +01:00
Jaime van Kessel
d7d6918ab7
Use CuraMenu so that custom styling is used
...
CURA-8683
2022-01-14 15:01:48 +01:00
Jaime van Kessel
4db8878317
Fix ordering of material menu selection
...
CURA-8683
2022-01-14 14:33:46 +01: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
bab9311284
Fix opening of marketplace button
...
CURA-8684
2022-01-14 13:14:15 +01:00
Jaime van Kessel
38e20fd90b
Fix menuItem not hiding correctly
...
CURA-8693
2022-01-14 13:09:59 +01:00
Jaime van Kessel
94c006009b
Remove debug code
...
CURA-8683
2022-01-13 09:06:22 +01:00
Jaime van Kessel
bf65f77310
Merge branch 'CURA-8683_replace_controls_windows_and_menus' of github.com:Ultimaker/Cura into CURA-8683_replace_controls_windows_and_menus
2022-01-12 16:01:19 +01:00
Jaime van Kessel
94c71704db
Add clarifying comment about why something is added at index 5>
...
CURA-8683
2022-01-12 16:00:32 +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
59479ee223
Fix checked property for materials menu
...
CURA-8683
2022-01-11 12:09:24 +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
3d0e71fe7e
Remove unused import
2022-01-11 11:44:59 +01:00
Jaime van Kessel
f8906597e5
Update menu for PrinterType button
...
CURA-8683
2022-01-11 11:43:01 +01:00