2025-01-25 18:29:27 +01:00
|
|
|
#!/usr/bin/python3
|
|
|
|
|
|
|
|
from PyQt6.QtWidgets import QWidget, QFormLayout, QCheckBox
|
|
|
|
|
|
|
|
|
|
|
|
class BehaviourSettings(QWidget):
|
|
|
|
def __init__(self, *args, **kwargs):
|
|
|
|
super().__init__(*args, **kwargs)
|
|
|
|
|
|
|
|
self.layout = QFormLayout(self)
|
|
|
|
self.setLayout(self.layout)
|
|
|
|
|
2025-02-20 17:44:09 +01:00
|
|
|
self.load_on_start = QCheckBox(self)
|
|
|
|
self.layout.addRow("Load playlists on start", self.load_on_start)
|
|
|
|
|
2025-01-25 18:29:27 +01:00
|
|
|
self.clear_track_cache = QCheckBox(self)
|
2025-02-20 17:44:09 +01:00
|
|
|
self.layout.addRow("Clear track cache immediately when finished", self.clear_track_cache)
|