963 Commits

Author SHA1 Message Date
j.delarago
ba3913395c Add catalog to files that weren't translating
CURA-9141
2022-05-05 16:42:01 +02:00
c.lamboo
cb4f1a8ab5 Replace SpinBox with NumericTextFieldWithUnit
CURA-9146
2022-05-02 17:07:52 +02:00
c.lamboo
4bb72cdd1a Set stepSize property on SpinBox that reflects its decimals
CURA-9201
2022-05-02 16:51:07 +02:00
Casper Lamboo
784cd2c99b
Apply suggestions from code review 2022-04-29 10:30:11 +02:00
j.delarago
8bb1b0bee8 selectedNameFilter is now an object instead of a string. The nameFilter has to be manually pulled out using the index in selectedNameFilter.
If only one filter is supplied to nameFilters, the index will always be -1. I assume this is because we are not selecting the file type in the Dialog, it just defaults to the only item.

This code should still work if the behaviour is changed in the future.

FileDialog now uses currentFolder instead of folder.

CURA-9214
2022-04-28 14:29:44 +02:00
Jaime van Kessel
271868eafd Fix export material to usb
CURA-9122
2022-04-20 11:23:35 +02:00
Jaime van Kessel
e85420f9fa Fix few more instances of old usage of fileUrl vs selectedFile 2022-04-19 17:12:58 +02:00
Jaime van Kessel
f070a695b1 Change standardbutton.yes & no to dialog.yes & no 2022-04-19 17:10:51 +02:00
Jaime van Kessel
1ce84fec69 Fix all import dialogs
Fixes CURA-9129
2022-04-19 17:09:02 +02:00
j.delarago
3674af01b7 selectExisting is replaced with using fileMode:FileDialog.OpenFile in QT6. This forces selecting an existing file.
This is also the default value in QT6 so this line can be removed without changing the functionality
2022-04-12 10:21:34 +02:00
c.lamboo
45bc498c7f Replace RecolorImage with ColorImage
CURA-8640
2022-04-08 15:55:34 +02:00
j.delarago
53efb78cf6 Fix combobox and label heights in general page
CURA-8640
2022-04-05 17:22:57 +02:00
Jaime van Kessel
5f71518f9d Use correct enum values for materialsview 2022-04-01 16:25:11 +02:00
j.delarago
f327c2479b Update Dialog imports to remove version
Update FileDialogs selectExisting -> fileMode and folder -> currentFolder

CURA-8640
2022-04-01 16:08:35 +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
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
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
casper
10339555f4 Simplify materials preference page by wrapping scroll items in ListView
CURA-8979
2022-03-21 13:20:41 +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
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
j.delarago
4b853b89bd Fix typo
CURA-8979
2022-03-15 16:23:18 +01:00
j.delarago
9dbc497fcb Move TabRow below so it renders over the top lining of content rectangles.
Update Tab styles to match designs

CURA-8979
2022-03-15 16:19:33 +01:00
j.delarago
b33a5d7b84 Add space, so content isn't bellow scrollbar
CURA-8979
2022-03-15 15:54:50 +01:00
j.delarago
99f9918db5 Remove Italics
CURA-8979
2022-03-15 15:05:26 +01:00
j.delarago
bf784dbba0 show star on hover
CURA-8979
2022-03-15 15:03:49 +01:00
j.delarago
59b7d20f75 Update ReadOnlyTextArea import
Update ReadOnlyTextArea style (It's not really read only 🤔)

CURA-8979
2022-03-15 14:50:02 +01:00
Jaime van Kessel
f9814520f7 Merge branch 'master' of github.com:Ultimaker/Cura into CURA-8979_Materials_Preference_Page 2022-03-15 11:07:44 +01:00
Jaime van Kessel
97124bf5a9 Fix various QML warnings
CURA-8979
2022-03-15 10:32:44 +01:00
Jaime van Kessel
f760ca146d Fix sizing of materialBrandSelection
This also cleans up some stuff from the theme. Huzzah

CURA-8979
2022-03-15 10:25:56 +01:00
Jaime van Kessel
93405bdb93 Add identation for the materials preferences page
CURA-8979
2022-03-15 10:19:34 +01:00
j.delarago
ff824b718c Replace burger buttons with generic BurgerButton.qml component.
Move comment onto newline (Comments on the same line as component names break text folding)

Update burger menu margins in SettingView to match design

CURA-9007
2022-03-14 16:14:57 +01:00
j.delarago
0ba4dbacc4 Make combobox_wide much wider and swap out existing uses of combobox_wide for combobox.
CURA-8890
2022-03-14 13:13:30 +01:00
Jaime van Kessel
c6326eff64 Ensure that "update profile" button in preferences has correct enabled state
CURA-9023
2022-03-14 11:56:45 +01:00
Jaime van Kessel
0084001e2f Remove . from button string
CURA-9023
2022-03-14 11:47:19 +01:00
Jaime van Kessel
97732336e3 Increase width of dropdown boxes in general page
CURA-8990
2022-03-14 11:42:50 +01:00
casper
5136838f56 Update materials list in materials preference page
Main improvement of this commit is that the reusable category button
component is used as the collapsable header component for the material
brands/types.

CURA-8979
2022-03-11 16:42:11 +01:00
casper
e2c9e0a461 Elide text in materials slot
CURA-8979
2022-03-11 16:29:37 +01:00