- new a project FloatDemo
- add this as the submodule to the new project
- include the submodule in the
.pro
file - define a
QWidget
in the new project, where you want to add float slider - upgrade the class
QWidget
toFloatSlider
Here is an example
to make each ticker style to a circle, same as the FloatSlider
, you need to upgrade the class QWidget
or QSlider
as CircleTickSlider