forked from qt-creator/qt-creator
QmlDesigner: Fix color editor details model
Task-number: QDS-11268 Change-Id: I043c5a4144778d29c54df9e448a86c855270f427 Reviewed-by: Brook Cronin <brook.cronin@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
committed by
Henning Gründl
parent
48c1d9466c
commit
84cf414a1a
@@ -552,9 +552,9 @@ Column {
|
|||||||
textRole: "text"
|
textRole: "text"
|
||||||
valueRole: "value"
|
valueRole: "value"
|
||||||
model: [
|
model: [
|
||||||
{ value: ColorPicker.Mode.HSVA, text: "HSVA" },
|
{ value: StudioControls.ColorPicker.Mode.HSVA, text: "HSVA" },
|
||||||
{ value: ColorPicker.Mode.RGBA, text: "RGBA" },
|
{ value: StudioControls.ColorPicker.Mode.RGBA, text: "RGBA" },
|
||||||
{ value: ColorPicker.Mode.HSLA, text: "HSLA" }
|
{ value: StudioControls.ColorPicker.Mode.HSLA, text: "HSLA" }
|
||||||
]
|
]
|
||||||
|
|
||||||
onActivated: colorPicker.mode = colorMode.currentValue
|
onActivated: colorPicker.mode = colorMode.currentValue
|
||||||
@@ -597,7 +597,7 @@ Column {
|
|||||||
|
|
||||||
Row {
|
Row {
|
||||||
id: rgbaRow
|
id: rgbaRow
|
||||||
visible: colorPicker.mode === ColorPicker.Mode.RGBA
|
visible: colorPicker.mode === StudioControls.ColorPicker.Mode.RGBA
|
||||||
spacing: StudioTheme.Values.controlGap
|
spacing: StudioTheme.Values.controlGap
|
||||||
|
|
||||||
DoubleSpinBox {
|
DoubleSpinBox {
|
||||||
@@ -683,7 +683,7 @@ Column {
|
|||||||
|
|
||||||
Row {
|
Row {
|
||||||
id: hslaRow
|
id: hslaRow
|
||||||
visible: colorPicker.mode === ColorPicker.Mode.HSLA
|
visible: colorPicker.mode === StudioControls.ColorPicker.Mode.HSLA
|
||||||
spacing: StudioTheme.Values.controlGap
|
spacing: StudioTheme.Values.controlGap
|
||||||
|
|
||||||
DoubleSpinBox {
|
DoubleSpinBox {
|
||||||
@@ -749,7 +749,7 @@ Column {
|
|||||||
|
|
||||||
Row {
|
Row {
|
||||||
id: hsvaRow
|
id: hsvaRow
|
||||||
visible: colorPicker.mode === ColorPicker.Mode.HSVA
|
visible: colorPicker.mode === StudioControls.ColorPicker.Mode.HSVA
|
||||||
spacing: StudioTheme.Values.controlGap
|
spacing: StudioTheme.Values.controlGap
|
||||||
|
|
||||||
DoubleSpinBox {
|
DoubleSpinBox {
|
||||||
|
Reference in New Issue
Block a user