Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

RangeSlider without using QML



  • Hi, I need a range slider for my application but I have seen that It is not available in Qt Designer so I have looked for some implementation of it.
    I found this: RangeSlider, but It doesn't work for me, It throws an error that says: 0_1561112269344_error.PNG
    I promoted QSlider to this class.

    Any ideas? Is there any other ways to implement it withour using QML?.

    Thanks.


  • Lifetime Qt Champion

    Hi,

    Either don't set the orientation of your slider or add an empty setOrientation method to RangeSlider. In the absolute, the best would be to implement orientation support.



  • @SGaist mm nice, I thought it needed a special implementation that wasn't done.

    Thank you!


Log in to reply