Update preferences dialog and quotes selection dialog

This commit is contained in:
Veronica Berglyd Olsen
2024-01-13 18:28:41 +01:00
parent 4afbd98d6f
commit 7b5b82136f
4 changed files with 41 additions and 28 deletions
+4
View File
@@ -63,6 +63,10 @@ class NPagedSideBar(QToolBar):
return
def button(self, buttonId: int) -> _NPagedToolButton:
"""Return a specific button."""
return self._buttons[buttonId]
def setLabelColor(self, color: list | QColor) -> None:
"""Set the text color for the labels."""
self._labelCol = color if isinstance(color, QColor) else QColor(*color)