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
|
@ -5,17 +5,9 @@ from ._part_QXWidget import _part_QXWidget
|
|||
|
||||
|
||||
class QXMenuBar(QMenuBar, _part_QXWidget):
|
||||
def __init__(self,
|
||||
font=None, size_policy=None, minimum_width=None, maximum_width=None, fixed_width=None, minimum_height=None, maximum_height=None, fixed_height=None, hided=False, enabled=True):
|
||||
def __init__(self, **kwargs):
|
||||
QMenuBar.__init__(self)
|
||||
|
||||
_part_QXWidget.__init__(self, font=font,
|
||||
size_policy=size_policy,
|
||||
minimum_width=minimum_width, maximum_width=maximum_width,
|
||||
minimum_height=minimum_height, maximum_height=maximum_height,
|
||||
fixed_width=fixed_width, fixed_height=fixed_height,
|
||||
hided=hided, enabled=enabled )
|
||||
|
||||
_part_QXWidget.__init__(self, **kwargs)
|
||||
self.setStyleSheet(f"""
|
||||
QMenuBar {{
|
||||
border: 0px;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue