PDA

View Full Version : custom image dial and switch



Bill_Lumberg
8th October 2010, 16:05
I'm planning on using my own .jpg images for an on/off switch and a dial that can select around 10 different numbers. Can anyone hint at the best way to go about doing this?

tbscope
8th October 2010, 16:13
A QWidget subclass with a custom paint event.

marcvanriet
8th October 2010, 19:43
You can look at the source of these for hints :
- QSwitch (http://qt-apps.org/content/show.php/QSwitch?content=72481)
- QDisplay (http://qt-apps.org/content/show.php/QDisplay?content=118482)

Regards,
Marc