Qt/C++: Qslider subclass



  • Searching on Google, I was looking for a way to bring up three labels under the Qslider: one on the left, one in the center and one on the right which mark respectively the minimum value, the current value and the maximum value, and I read a one way is to subclass the Qslider. Being new to Qt I have not the faintest idea of how to do such a thing: could you show me some examples?



  • Using Qt does not free you from needing basic C++ knowledge. Subclassing is a C++ concept, so get yourself a book on C++ and get studying.


Log in to reply
 

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