forked from qt-creator/qt-creator
QmlDesigner: Add a theme color for table current cells
Task-number: QDS-14135 Change-Id: I0a46ac17491f0fd68dff315216a1b36744fc44ca Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
This commit is contained in:
@@ -31,7 +31,7 @@ Rectangle {
|
||||
required property bool selected
|
||||
required property bool current
|
||||
|
||||
color: tableView.currentRow === row ? "#08475B" : StudioTheme.Values.themePanelBackground
|
||||
color: tableView.currentRow === row ? StudioTheme.Values.themeTableCellCurrent : StudioTheme.Values.themePanelBackground
|
||||
implicitWidth: StudioTheme.Values.cellWidth
|
||||
implicitHeight: StudioTheme.Values.cellHeight
|
||||
border {
|
||||
|
@@ -474,6 +474,8 @@ QtObject {
|
||||
property color themePillTextSelected: Theme.color(Theme.DSpillTextSelected)
|
||||
property color themePillTextEdit: Theme.color(Theme.DspillTextEdit)
|
||||
|
||||
property color themeTableCellCurrent: Theme.color(Theme.DStableCellCurrent)
|
||||
|
||||
// Control Style Mapping
|
||||
property ControlStyle controlStyle: DefaultStyle {}
|
||||
property ControlStyle connectionPopupControlStyle: ConnectionPopupControlStyle {}
|
||||
|
@@ -53,6 +53,8 @@ splitterBlue=ff64daff
|
||||
rgbBlue=ff64daff
|
||||
highlightBlue=ff57b9fc
|
||||
highlightHover=ff74CBFC
|
||||
ds300=ff71d1ef
|
||||
ds800=ff08475B
|
||||
;DS Theme Palette END
|
||||
|
||||
[Colors]
|
||||
@@ -204,6 +206,7 @@ DSactionKeyframe=ffe0e01b
|
||||
DSactionJIT=ff2db543
|
||||
|
||||
DStableHeaderBackground=ffff0000
|
||||
DStableCellCurrent=ds800
|
||||
DStableHeaderText=ff00ff00
|
||||
|
||||
DSdockContainerBackground=ff242424
|
||||
|
@@ -45,6 +45,8 @@ splitterBlue=ff64daff
|
||||
rgbBlue=ff64daff
|
||||
highlightBlue=ff57b9fc
|
||||
highlightHover=ff74CBFC
|
||||
ds300=ff71d1ef
|
||||
ds800=ff08475B
|
||||
;DS Theme Palette END
|
||||
|
||||
[Colors]
|
||||
@@ -199,6 +201,7 @@ DSactionKeyframe=ffe0e01b
|
||||
DSactionJIT=ff2db543
|
||||
|
||||
DStableHeaderBackground=ffff0000
|
||||
DStableCellCurrent=ds300
|
||||
DStableHeaderText=ff00ff00
|
||||
|
||||
DSdockContainerBackground=ff323232
|
||||
|
@@ -58,6 +58,8 @@ splitterBlue=ff64daff
|
||||
rgbBlue=ff64daff
|
||||
highlightBlue=ff57b9fc
|
||||
highlightHover=ff74CBFC
|
||||
ds300=ff71d1ef
|
||||
ds800=ff08475B
|
||||
;DS Theme Palette END
|
||||
|
||||
[Colors]
|
||||
@@ -212,6 +214,7 @@ DSactionKeyframe=ffe0e01b
|
||||
DSactionJIT=ff2db543
|
||||
|
||||
DStableHeaderBackground=ffff0000
|
||||
DStableCellCurrent=ds300
|
||||
DStableHeaderText=ff00ff00
|
||||
|
||||
DSdockContainerBackground=ff323232
|
||||
|
@@ -56,6 +56,8 @@ splitterBlue=ff64daff
|
||||
rgbBlue=ff64daff
|
||||
highlightBlue=ff57b9fc
|
||||
highlightHover=ff74CBFC
|
||||
ds300=ff71d1ef
|
||||
ds800=ff08475B
|
||||
;DS Theme Palette END
|
||||
|
||||
[Colors]
|
||||
@@ -229,6 +231,7 @@ DSactionKeyframe=ffe0e01b
|
||||
DSactionJIT=ff2db543
|
||||
|
||||
DStableHeaderBackground=ffff0000
|
||||
DStableCellCurrent=ds800
|
||||
DStableHeaderText=ff00ff00
|
||||
|
||||
DSdockContainerBackground=ff242424
|
||||
|
@@ -57,6 +57,8 @@ splitterBlue=ff64daff
|
||||
rgbBlue=ff64daff
|
||||
highlightBlue=ff57b9fc
|
||||
highlightHover=ff74CBFC
|
||||
ds300=ff71d1ef
|
||||
ds800=ff08475B
|
||||
;DS Theme Palette END
|
||||
|
||||
[Colors]
|
||||
@@ -209,6 +211,7 @@ DSactionKeyframe=ffe0e01b
|
||||
DSactionJIT=ff2db543
|
||||
|
||||
DStableHeaderBackground=ffff0000
|
||||
DStableCellCurrent=ds800
|
||||
DStableHeaderText=ff00ff00
|
||||
|
||||
DSdockContainerBackground=ff242424
|
||||
|
@@ -57,6 +57,8 @@ splitterBlue=ff64daff
|
||||
rgbBlue=ff64daff
|
||||
highlightBlue=ff57b9fc
|
||||
highlightHover=ff74CBFC
|
||||
ds300=ff71d1ef
|
||||
ds800=ff08475B
|
||||
;DS Theme Palette END
|
||||
|
||||
[Colors]
|
||||
@@ -211,6 +213,7 @@ DSactionKeyframe=ffe0e01b
|
||||
DSactionJIT=ff2db543
|
||||
|
||||
DStableHeaderBackground=ffff0000
|
||||
DStableCellCurrent=ds300
|
||||
DStableHeaderText=ff00ff00
|
||||
|
||||
DSdockContainerBackground=ff323232
|
||||
|
@@ -54,6 +54,8 @@ splitterBlue=ff64daff
|
||||
rgbBlue=ff64daff
|
||||
highlightBlue=ff57b9fc
|
||||
highlightHover=ff74CBFC
|
||||
ds300=ff71d1ef
|
||||
ds800=ff08475B
|
||||
;DS Theme Palette END
|
||||
|
||||
[Colors]
|
||||
@@ -206,6 +208,7 @@ DSactionKeyframe=ffe0e01b
|
||||
DSactionJIT=ff2db543
|
||||
|
||||
DStableHeaderBackground=ffff0000
|
||||
DStableCellCurrent=ds800
|
||||
DStableHeaderText=ff00ff00
|
||||
|
||||
DSdockContainerBackground=ff242424
|
||||
|
@@ -414,6 +414,7 @@ public:
|
||||
DSactionJIT,
|
||||
|
||||
DStableHeaderBackground,
|
||||
DStableCellCurrent,
|
||||
DStableHeaderText,
|
||||
|
||||
DSdockContainerBackground,
|
||||
|
Reference in New Issue
Block a user