5575 Commits

Author SHA1 Message Date
j.delarago
e40a219b53 Add back code for resizing contentContainer.
This makes sure that the background get smaller when the setting container is resized.

CURA-8640
2022-04-01 11:36:22 +02:00
j.delarago
748606e5b5 Merge remote-tracking branch 'origin/qt6_beyond_the_splash' into qt6_beyond_the_splash 2022-04-01 11:12:40 +02:00
j.delarago
3dc67f387f Height based on implicitHeight/implicitWidth now.
Removed redundant code.

CURA-8640
2022-04-01 11:12:30 +02:00
Jaime van Kessel
1279ba9e82 Merge branch 'qt6_beyond_the_splash' of github.com:Ultimaker/Cura into qt6_beyond_the_splash 2022-04-01 09:46:41 +02:00
Jaime van Kessel
19d82a770c Fix loading of files 2022-04-01 09:46:20 +02:00
j.delarago
804a607b75 Merge remote-tracking branch 'origin/qt6_beyond_the_splash' into qt6_beyond_the_splash 2022-04-01 09:31:47 +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
814b706641 Re-add header background 2022-03-31 16:59:15 +02:00
Jaime van Kessel
124602d2ad Return account widget to it's former glory 2022-03-31 14:19: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
1df9ca55c8 Use correct default button for package install dialog 2022-03-31 14:04:49 +02:00
Jaime van Kessel
f176924c2a Renable MainWindow header by disabling account widget
The account widget is still causing issues, but at least thats less
2022-03-31 13:34:41 +02:00
Jaime van Kessel
9f735a192e Bump up qtQuick version 2022-03-30 17:39:43 +02:00
Jaime van Kessel
d240feb78a Removing shit until works. 2022-03-30 17:08:59 +02:00
c.lamboo
4f70d34631 wip qt changes 2022-03-30 16:55:56 +02:00
c.lamboo
1acf96dfa1 Update file dialog properties
Due to API change

CURA-8640
2022-03-30 15:13:34 +02:00
c.lamboo
3c9e2a1b08 Update RegExpValidator to RegularExpressionValidator
Due to Qt6 API change

CURA-8640
2022-03-30 15:10:37 +02:00
j.delarago
99a3a8d11d QTQuick.Dialogs jumped to using 6.0 in QT6
Update imports to use correct version number.

CURA-8640
2022-03-29 16:04:02 +02:00
Jaime van Kessel
f436c97abd Roughly strip out the GraphicalEffects
For some reason qt6 that we built still didn't like it.

Since we wanna know if the rest works, yeeting that stuff out for now
2022-03-28 16:11:28 +02:00
j.spijker@ultimaker.com
ff21c93f9b
Qt6 dropped QtGraphicalEffects
https://doc.qt.io/qt-6/qtgraphicaleffects5-index.html

Contributes to CURA-8640
2022-03-28 15:33:43 +02:00
Jelle Spijker
12ee57e4ad
Merge branch 'master' into CURA-8640_PyQt6
# Conflicts:
#	cura/UI/CuraSplashScreen.py
2022-03-28 15:02:18 +02:00
Jaime van Kessel
1532779d1b Remove Extruders property from global stack
CURA-7810
2022-03-24 14:26:03 +01:00
Jaime van Kessel
58a63aed02 Remove "cornerSide", "shadowColor" and "shadowEnabled" from ActionButton
CURA-7810
2022-03-24 13:56:14 +01:00
Jaime van Kessel
e925f07aad Remove old arranger code
Major vesion upgrade, time to clean some stuff up!

CURA-7810
2022-03-24 13:37:29 +01:00
j.spijker@ultimaker.com
55cb86ebbd
use namespace AlignmentFlag
Contributes to CURA-8640
2022-03-24 11:58:42 +01:00
Jelle Spijker
3f8907d02a
Merge branch 'master' into CURA-8640_PyQt6
# Conflicts:
#	cura/CuraApplication.py
#	resources/qml/Preferences/Materials/MaterialsSyncDialog.qml
#	resources/qml/Preferences/Materials/MaterialsView.qml
2022-03-24 11:53:44 +01:00
Jaime van Kessel
43da68c898 Merge branch 'fix_scrollview_scrollbars' of https://github.com/fieldOfView/Cura 2022-03-22 16:13:46 +01:00
fieldOfView
09c3ae628e Fix "double"/non-functional scrollbars on ScrollViews 2022-03-22 14:46:14 +01:00
casper
5d3b22f45a Don't check on type equality to check if material is set
As suggested by code review

CURA-9044
2022-03-22 13:46:31 +01:00
casper
1e15197d44 Show active material in italics
behaviour is not perfect; only one (of the possible multiple if you have
multiple materials) active material is shown in italics. However, this
behavior is similar as the behavior in cura v4.13

see
https://github.com/Ultimaker/Cura/pull/11668/files#diff-ba2e4797d4d21e847be25e2c272d6a7a45e3bab97def420bed7643d762be8cfaL54

CURA-9044
2022-03-22 12:00:56 +01:00
casper
d7cf7ee97d Re-implement showing active profile as italic
This went got removed during a merge conflict

see
https://github.com/Ultimaker/Cura/pull/11696
https://github.com/Ultimaker/Uranium/pull/798

CURA-9044
2022-03-22 11:43:36 +01:00
casper
a8e63005f1 Merge branch 'master' into CURA-8979_Materials_Preference_Page
# Conflicts:
#	resources/qml/Preferences/ProfilesPage.qml
2022-03-21 14:06:59 +01:00
Casper Lamboo
d45c70142f
Merge pull request #11695 from Ultimaker/8980_Fix_buttons_in_USB_monitoring_
CURA-8980 fix buttons in usb monitoring
2022-03-21 14:04:41 +01:00
casper
adccc5fd19 Use correct font and line height for the category btn in materials list
CURA-8979
2022-03-21 13:50:10 +01:00
casper
bfa8118c9f Merge branch 'master' into CURA-8979_Materials_Preference_Page
# Conflicts:
#	resources/qml/ColorDialog.qml
#	resources/qml/Preferences/ProfilesPage.qml
2022-03-21 13:39:16 +01:00
Jaime van Kessel
a9bad453a6
Merge pull request #11696 from Ultimaker/CURA-9044_show_italic_for_active_profile
Remove reference to Cura in UM component
2022-03-21 13:33:18 +01:00
casper
10339555f4 Simplify materials preference page by wrapping scroll items in ListView
CURA-8979
2022-03-21 13:20:41 +01:00
casper
9b19eaf84f Add scroll bar to print monitor if content is overflowing
Fixes https://github.com/Ultimaker/Cura/issues/11629

CURA-8980
2022-03-21 11:27:47 +01:00
casper
a4f1907b12 Show Yes and No buttons in abort dialog
CURA-8980
2022-03-21 10:23:05 +01:00
j.delarago
a3892c8147 Remove reference to Cura in UM component
Add isActiveModelFunction that can be overwritten in inheriting components

Override isActiveModelFunction in Profiles page, this is done because quality models do not have a unique id that can be assigned to activeId

CURA-9044
2022-03-18 16:44:56 +01:00
j.delarago
c10865b179 Fixes this error
QML Column: ScrollBar must be attached to a Flickable or ScrollView

by wrapping the Column in a ScrollView the same way that is done for the information page.

CURA-8979
2022-03-18 14:45:03 +01:00
j.delarago
bd91078e6e Accept click events on materials items in materials list
CURA-8979
2022-03-18 14:08:20 +01:00
j.delarago
c6bd020dec Anchor material name to star icon so text doesn't display under star icon.
CURA-8979
2022-03-18 13:58:41 +01:00
j.delarago
c7bb97aa6c Add tooltip to materials list itmes.
CURA-8979
2022-03-18 13:56:19 +01:00
j.delarago
503f21090e Swap materials page SpinBox for NumericTextFieldWithUnit
This fixes,
filament cost iterating backwards with spinbox ( who knows why it did this )
text not updating when different material selected
value with decimals not saving

Remove margin from NumericTextFieldWithUnit.qml. Not sure why this was present, it made the TextField slightly smaller than the rest.

Remove some parsing str to float/int. Not needed since settings are stored as str

CURA-8979
2022-03-18 13:42:55 +01:00
Joey de l'Arago
fcfc47920f
Merge pull request #11674 from Ultimaker/CURA-9039_combobox_open_out_of_window
[CURA-9039] fix combobox scrolling out of view
2022-03-17 07:46:56 +00:00
Remco Burema
7dfcac7bbe
Merge pull request #11663 from Ultimaker/CURA-9007_burger_menu
[CURA-9007] Update Burger Menus
2022-03-16 15:59:32 +01:00
Remco Burema
f4e57b82f8
Merge pull request #11664 from Ultimaker/CURA-8921
[CURA-8921] Workaround for windows not giving dialogs the correct width.
2022-03-16 15:29:32 +01:00
j.delarago
84d7443c18 Change OnYChanged out for OnPositionChanged inside scrollbar. Makes a bit more sense logically and this can be reused in ScrollViews as well.
Added OnPositionChanged to General Page
CURA-8979
2022-03-16 13:59:22 +01:00
Jaime van Kessel
d8f6173dd9
Merge pull request #11660 from Ultimaker/CURA-8890_combobox_width
[CURA-8890] combobox width
2022-03-15 16:51:02 +01:00