mirror of
https://github.com/iperov/DeepFaceLive
synced 2025-08-20 13:33:25 -07:00
qt refactoring
This commit is contained in:
parent
9afde06f50
commit
9ef7be4f3a
59 changed files with 632 additions and 890 deletions
|
@ -6,6 +6,6 @@ from .QXLabel import QXLabel
|
|||
class QXVerticalLine(QXLabel):
|
||||
def __init__(self, thickness=1, color=None):
|
||||
super().__init__(size_policy=(QSizePolicy.Policy.Fixed, QSizePolicy.Policy.Expanding),
|
||||
fixed_width=thickness)
|
||||
fixed_size=(thickness,None) )
|
||||
if color is not None:
|
||||
self.setStyleSheet(f'background: {color.name()};')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue