rework logging, add more dataclasses, reworked config

This commit is contained in:
2024-12-17 10:02:56 +01:00
parent ccb4df10bb
commit eda556b5ea
41 changed files with 1624 additions and 865 deletions

View File

@@ -0,0 +1,16 @@
from PyQt6 import QtWidgets
class ValidatorButton(QtWidgets.QToolButton):
def __init__(self, status_tip="", *args, **kwargs):
super().__init__(*args, **kwargs)
self.setToolTip(status_tip)
def setActiveIcon(self, icon):
super().setIcon(icon)
def showStatusTip(self, event):
if self.isEnabled():
self.showStatusTip(event)
else:
self.showStatusTip(event)