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

Custom Spin box with multiple adjustments



  • Hi all,

    I need to use a spin box with corse and fine adjustment buttons both to increment and decrement as shown in the figure below:0_1565193378638_Capture.JPG

    Anyone come across similar problem?

    Any help would be greatly appreciated

    Thank you


  • Lifetime Qt Champion

    Hi,

    QScrollBar being a QAbstractSlider, you can use that base class to render the buttons you want.

    Check the code of QScrollBar for the button rendering part.


Log in to reply