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
|
@ -2,21 +2,18 @@
|
|||
|
||||
from PyQt6.QtCore import Qt
|
||||
from PyQt6.QtGui import QFont
|
||||
from PyQt6.QtWidgets import QGroupBox, QLabel, QSizePolicy, QFormLayout
|
||||
from PyQt6.QtWidgets import QLabel, QSizePolicy, QFormLayout
|
||||
|
||||
from ..custom_widgets import GroupBox
|
||||
|
||||
|
||||
class SubCategory(QGroupBox):
|
||||
class SubCategory(GroupBox):
|
||||
description_font = QFont()
|
||||
description_font.setPointSize(8)
|
||||
|
||||
def __init__(self, title: str, description: str=None, 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;}")
|
||||
|
||||
self.layout = QFormLayout()
|
||||
self.setLayout(self.layout)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue