From 3058b72313397beefbeaf76961f706c617572f70 Mon Sep 17 00:00:00 2001 From: Henri Wahl <henri.wahl@ukdd.de> Date: Thu, 17 Oct 2024 14:12:40 +0200 Subject: [PATCH] 3.17-20241017 --- Nagstamon/QUI/__init__.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Nagstamon/QUI/__init__.py b/Nagstamon/QUI/__init__.py index fe3cef0a..63a4be59 100644 --- a/Nagstamon/QUI/__init__.py +++ b/Nagstamon/QUI/__init__.py @@ -2937,6 +2937,8 @@ def __init__(self, server, parent=None): # start ignoring TLS trouble when button clicked self.button_fix_tls_error.clicked.connect(self.fix_tls_error) + print('highlight color', self.table.palette().highlight().color().setRgb(0,0,0,255)) + self.addWidget(self.table, 1) # as default do not show anything @@ -3237,7 +3239,10 @@ def __init__(self, columncount, rowcount, sort_column, sort_order, server, paren QTreeView::item:hover {margin: 0px; color: white; background-color: dimgrey;} - ''') + QTreeView::item:selected {margin: 0px; + color: white; + background-color: blue;} + ''') # set application font self.set_font() @@ -3324,6 +3329,8 @@ def __init__(self, columncount, rowcount, sort_column, sort_order, server, paren ## display mode - all or only header to display error #self.is_shown = False + + @Slot() def set_font(self): """