SOLVED: notch locations w/ QDial



  • I would really like to use a QDial to specify on which side of a figure text should be placed (north, south, east or west). But QDial always chooses the 1:30, 4:30, 7:30, 10:30 (clock) positions for a 4 position slider.

    Is it possible to fix the notch positions in a class derived from QDial???

    Thanks very much for any advice...


  • Moderators

    Try
    @
    setWrapping(true)
    @
    on your 4-step dial. I believe it will do the trick. When wrapping is enabled, it removes the blank space at the bottom of the dial.



  • Excellent! Thanks very much!


  • Moderators

    No problem! If that works for you, please edit your original post and add [Solved] to the beginning of the title. Thanks!


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.