Added popup on import where the user can configure how the tracks get imported.
This commit is contained in:
parent
31b2e3bf41
commit
fd34476d00
12 changed files with 289 additions and 28 deletions
18
wobuzz/ui/custom_widgets/group_box.py
Normal file
18
wobuzz/ui/custom_widgets/group_box.py
Normal file
|
@ -0,0 +1,18 @@
|
|||
#!/usr/bin/python3
|
||||
|
||||
from PyQt6.QtCore import Qt
|
||||
from PyQt6.QtWidgets import QGroupBox, QSizePolicy
|
||||
|
||||
|
||||
class GroupBox(QGroupBox):
|
||||
"""
|
||||
Just a QGroupBox with some custom style I don't always want to rewrite.
|
||||
"""
|
||||
|
||||
def __init__(self, title, parent=None):
|
||||
super().__init__(title, parent)
|
||||
|
||||
self.setSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Fixed)
|
||||
self.setAlignment(Qt.AlignmentFlag.AlignLeading | Qt.AlignmentFlag.AlignVCenter)
|
||||
|
||||
self.setStyleSheet("QGroupBox{font-weight: bold;}")
|
Loading…
Add table
Add a link
Reference in a new issue