24 Commits

Author SHA1 Message Date
Ghostkeeper
97e2d6a432
Use border only on active state
Contributes to issue CURA-9217.
2022-05-10 16:03:55 +02:00
Ghostkeeper
7fda81b678
Show a border around text fields and drop-downs when hovering
And when they are focused.
This applies to the setting text fields, extruder selectors and drop-downs as well as to the machine settings.

Contributes to issue CURA-9217.
2022-05-09 17:48:38 +02:00
Ghostkeeper
eae5f4d57a
Set colour of placeholder text from theme
Otherwise it defaults to black which is not readable in dark mode.

Done as a 5 minute fix.
2022-05-04 15:44:42 +02:00
Jaime van Kessel
15d1ded365 Change selectedTextColor for textfield
CURA-9199
2022-04-26 15:11:19 +02:00
c.lamboo
45bc498c7f Replace RecolorImage with ColorImage
CURA-8640
2022-04-08 15:55:34 +02:00
j.delarago
fb42679d08 Update TextField to match designs when disabled.
CURA-8991
2022-03-04 13:39:50 +01:00
j.delarago
1fc6b8ced6 New designs use dark mode border_main for dark theme.
Remove uses of border_main_light. The only puprose of this color was to give dark mode access to the border_main of the light theme.

CURA-8991
2022-03-04 13:22:55 +01:00
j.delarago
97f1b75870 Merge remote-tracking branch 'origin/CURA-8688_qt6_cleanup' into CURA-8688_qt6_cleanup 2022-02-28 14:56:27 +01:00
j.delarago
ce86e025d9 New style highlighting on borders
CURA-8688
2022-02-28 14:56:07 +01:00
Jaime van Kessel
cc29e2398b Set correct text highlight color for TextField
CURA-8688
2022-02-28 13:35:56 +01:00
j.delarago
440d6fa525 Update style of TextFIeld and ComboxBox to match new designs. Remove borders and radius on corners.
Update Prefereces title to be bold and centered with button

Make prefereces pages selection buttons correct height.

CURA-8688
2022-02-28 11:20:31 +01:00
Jaime van Kessel
821581bc65 Remove ProgressBar style and use UM.ProgressBar instead
CURA-8685
2022-02-15 17:07:22 +01:00
Jaime van Kessel
13227249b5 Remove catalog from Textfield
The creation of the catalog is rather slow, so it's better not to create it for every component
2022-02-15 16:28:29 +01:00
Ghostkeeper
3d6601a37e
Fix margins
The margin around the icon didn't work if the icon source was none, because it was provided a QSize rather than a real.
The margin around the background didn't work at all because the background is automatically adjusted to fill the parent element, so it's best left out.

Contributes to issue CURA-8009.
2021-07-13 16:04:01 +02:00
Ghostkeeper
bec83920e4
Keep showing search icon while typing search query
This adds an option to the TextField element to show an icon on the left side in the text field. The icon remains visible when the user types in something (it's not part of the placeholder string).
Then we use that optional icon for the search bar in the Digital Library.

Contributes to issue CURA-8009.
2021-07-13 15:47:21 +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
Lipu Fei
904a8ab26c Fix theming
CURA-6435
2019-04-17 09:18:08 +02:00
Lipu Fei
0665076018 Fix merge conflicts 2019-04-10 10:42:51 +02:00
Lipu Fei
0e49d3dc12
Merge branch 'master' into CURA-6435_new_style_add_machine 2019-04-10 09:06:55 +02:00
Jaime van Kessel
f5ef6aed8d Make textfield use states
CURA-6435
2019-04-08 17:10:36 +02:00
Lipu Fei
b1fe110f9f Add Cura.TextField
CURA-6435
CURA-6057
2019-04-08 12:27:32 +02:00
Lipu Fei
b0fd6628a5 Make sure that printer name is not empty
CURA-6435
2019-04-05 09:35:02 +02:00
Lipu Fei
76947df6c1 Add Cura.TextField
CURA-6435
2019-04-05 09:09:00 +02:00