10 Commits

Author SHA1 Message Date
casper
7ebc5eaac4 Use Cura.TextField in the spinbox component
CURA-8688
2022-03-01 09:30:02 +01:00
j.delarago
4510a8b06e Down spinbox button highlighting up spinbox button when clicked.
CURA-8688
2022-02-23 15:15:46 +01:00
j.delarago
9f75b870a7 Swap "+" and "-" made from Rectangle elements for icons.
CURA-8688
2022-02-22 16:18:01 +01:00
j.delarago
d40e91cc08 Remove unneccesary opacity assignment.
Change padding to styled width

CURA-8688
2022-02-22 10:37:13 +01:00
j.delarago
30ca9ab469 Update spinbox to new design. Add reusable UnderlineBackground Component for background of newly designed elements.
CURA-8688
2022-02-21 15:44:16 +01:00
Jaime van Kessel
1b9c86603c Fix layout of multiply object dialog 2022-02-10 10:59:21 +01:00
casper
4737fed9d4 Allow commas as number input 2022-02-08 16:48:10 +01:00
casper
3a74417e6e Add comments 2022-02-08 16:01:29 +01:00
casper
9c2d370e72 Allow SpinBox components to contain fractional values 2022-02-08 15:52:49 +01:00
casper
1746e24dd9 Make SpinBox a reusable component
Forgot to update Readonly `SpinBox`es to Qt 2 when implementing Cura
8684. As the spinbox is used in various places with the same
functionality it made sense to create a reusable component.

There is still a feature gap in the implementation; The `SpinBox`es
from QtControls 2.x value is defined as an integer. For some use-cases
we do require a fractional value in the `SpinBox`. The only two places
where this is required are the `material_diameter` and
`material_density` fields in the material prefference page.

Cura 8684
2022-02-07 19:59:57 +01:00