Skip to content

Commit

Permalink
feat: add signals, getter and setter attributes on `CueLabelTog…
Browse files Browse the repository at this point in the history
…gle` used in `DynamicSettingsWidget`
  • Loading branch information
KernAttila committed Mar 28, 2023
1 parent 65d56b3 commit 1c70025
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cuesubmit/cuesubmit/ui/Widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,9 @@ def __init__(self, label=None, parent=None):
self.label.setMinimumWidth(120)
self.label.setAlignment(QtCore.Qt.AlignVCenter)
self.toggle = CueToggle(parent=self)
self.signals = [self.toggle.valueChanged]
self.getter = self.toggle.value
self.setter = self.toggle.setValue
self.setupUi()
self.setupConnections()

Expand Down

0 comments on commit 1c70025

Please sign in to comment.