PDA

View Full Version : which classes should we e looking at for 3d angled widgets?



courtney
24th December 2010, 04:36
We're just getting started with Qt and want to accomplish a 3D interactive interface.
http://img704.imageshack.us/img704/116/sampley.jpg

The image above is a quick mock up of what we're trying to achieve. Can anyone suggest the Qt classes I should be looking at and any pointers on how to go about it?
We're fairly new to QT but now have the basics covered and are experienced C++ and Java devs.

marcvanriet
24th December 2010, 13:02
Hi,

See the following demo from Qt : Embedded dialogsl (http://doc.qt.nokia.com/4.7/demos-embeddeddialogs.html).

Basically, it means you can design your UI using the normal widgets (buttons, lists, textboxes, ...). And then you put these widgets in a 'graphics view' which allows transformations to be applied on all things that are put in it.

Best regards,
Marc

courtney
24th December 2010, 13:12
Excellent, thank you. I saw that demo a few hours ago and have been playing with it.
I'll do some reading on graphics view. Any links to docs on it?

From what I've seen you can't add any depth to a widget. Is this correct or am I overlooking/missing something?
If that's not clear as to what I mean, have a look at the image. Widget one for eg is at an angle and pointing into the z axis but the widget itself is flat. Is there a way to make it 3D? Could we extend the standard widgets and override anything to turn them 3D?