qt refactoring

This commit is contained in:
iperov 2021-12-07 17:51:23 +04:00
commit 9ef7be4f3a
59 changed files with 632 additions and 890 deletions

View file

@ -8,6 +8,6 @@ class QXHorizontalLine(QXLabel):
color=None):
super().__init__(size_policy=(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Fixed),
fixed_height=thickness )
fixed_size=(None,thickness) )
if color is not None:
self.setStyleSheet(f'background: {color};')