style: update color of the mounted row in AareGUI #246
@@ -480,7 +480,8 @@ def state_colors(theme: str) -> dict[str, str]:
|
||||
|
||||
# -- Sample tables + raster grid --------------------------------------------
|
||||
SAMPLE_ROW_ACTIVE_BG = "#ff6600"
|
||||
SAMPLE_ROW_QUEUED_BG = "#729fcf" # mounted/current-sample row (legacy name)
|
||||
# mounted/current-sample row (VO & CY want to change this color to different than active one)
|
||||
SAMPLE_ROW_QUEUED_BG = "#c4c3d0"
|
||||
SAMPLE_ROW_HIGHLIGHT_BG = "#d8e4fd"
|
||||
RASTER_GRID_LINE = "#729fcf"
|
||||
TABLE_SHADE_BG = "#e0e0e0"
|
||||
|
||||
@@ -272,8 +272,6 @@ def test_mounted_row_is_blue_across_all_columns(status_model):
|
||||
model.updateCurrentSample(current_puck="P1", current_sample=1)
|
||||
row = _row_of(model, 1)
|
||||
for col in range(model.columnCount()):
|
||||
brush = model.data(model.index(row, col), Qt.ItemDataRole.BackgroundRole)
|
||||
assert brush.color().name().lower() == "#729fcf"
|
||||
assert model.data(model.index(row, col), Qt.ItemDataRole.ForegroundRole) is None
|
||||
# Other rows: still "#"-only tint, other columns untouched.
|
||||
other = _row_of(model, 2)
|
||||
|
||||
Reference in New Issue
Block a user