Skip to content

Commit

Permalink
refactor: Labeled slider updates (#197)
Browse files Browse the repository at this point in the history
* refactor: some slider updates

* fix tests

* finish

* finish

* import future
  • Loading branch information
tlambert03 authored Sep 12, 2023
1 parent 717b7e3 commit 66da711
Show file tree
Hide file tree
Showing 2 changed files with 232 additions and 151 deletions.
1 change: 1 addition & 0 deletions examples/labeled.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

w = QWidget()
qls = QLabeledSlider(ORIENTATION)
qls.setEdgeLabelMode(qls.EdgeLabelMode.LabelIsRange | qls.EdgeLabelMode.LabelIsValue)
qls.valueChanged.connect(lambda e: print("qls valueChanged", e))
qls.setRange(0, 500)
qls.setValue(300)
Expand Down
Loading

0 comments on commit 66da711

Please sign in to comment.