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:
Ali Kianian
2024-11-18 12:54:14 +02:00
parent 36431c2e7b
commit 0f4933ed84
10 changed files with 25 additions and 1 deletions

View File

@@ -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 {

View File

@@ -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 {}

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -414,6 +414,7 @@ public:
DSactionJIT,
DStableHeaderBackground,
DStableCellCurrent,
DStableHeaderText,
DSdockContainerBackground,