0

I am using QDial in my program and have been trying to get the notch values visible in a QDial. Does any one have an idea on this.

So far I have figured that I might be able to extend the QDial and put lables there for notches can some one assist me by telling me what methods should I use in extending QDial For this.

demonplus
  • 5,613
  • 12
  • 49
  • 68
Tharanga
  • 2,007
  • 4
  • 32
  • 50

1 Answers1

3

Unfortunately none of QAbstractSlider subclasses display labels by default. You will have to extend base class functionality and draw the labels yourself.Another alternative is to use QWT. http://qwt.sourceforge.net/class_qwt_dial.html .

Abhijith
  • 2,592
  • 5
  • 18
  • 30
  • Thank you for the reply. I decided to use extending the bass class option. Will publish the code for anyone whom interested. – Tharanga Jun 21 '11 at 07:44