PDA

View Full Version : How to create a Qt bar diagram or Vertical slider?



Gokulnathvc
14th August 2023, 10:51
How to create a Qt bar diagram or Vertical gauge like the attached picture with irregular gaps between the limits in Y axis?

13803

d_stranz
15th August 2023, 17:15
Do you want this to be a display-only widget? A "slider" implies that the user can click on it to adjust the position. If you want it to be just an output widget (like your dial widget), then it is pretty easy.

I also assume you know in advance where the y-divisions are, correct?