Skip to content

Commit

Permalink
feat: add signals, getter and setter attributes on `CueLabelLin…
Browse files Browse the repository at this point in the history
…eEdit` used in `DynamicSettingsWidget`
  • Loading branch information
KernAttila committed Mar 28, 2023
1 parent 20a258a commit 5314876
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cuesubmit/cuesubmit/ui/Widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ def __init__(self, labelText=None, defaultText='', tooltip=None, validators=None
self.lineEdit.setToolTip(tooltip)
self.horizontalLine = CueHLine()
self.validators = validators or []
self.signals = [self.lineEdit.textChanged,
self.lineEdit.focusChange]
self.getter = self.lineEdit.text
self.setter = self.lineEdit.setText
self.setupUi()
self.setupConnections()
self.setAutoFillBackground(True)
Expand Down

0 comments on commit 5314876

Please sign in to comment.