Files
superqt/docs/widgets/qlabeleddoubleslider.md
Talley Lambert 97bb814451 Docs (#124)
* wip

* wip

* more wip

* progress

* more docs

* more changes

* add link

* more examples and improvements

* fix check-manifest

* sort members

* remove autogen images

* remove _images

* add font docs

* add link to utils
2022-10-05 08:59:27 -04:00

481 B

QLabeledDoubleSlider

QDoubleSlider variant that shows an editable (SpinBox) label next to the slider.

from qtpy.QtCore import Qt
from qtpy.QtWidgets import QApplication

from superqt import QLabeledDoubleSlider

app = QApplication([])

slider = QLabeledDoubleSlider(Qt.Orientation.Horizontal)
slider.setRange(0, 2.5)
slider.setValue(1.3)
slider.show()

app.exec_()

{{ show_widget() }}

{{ show_members('superqt.QLabeledDoubleSlider') }}