PDA

View Full Version : Hello all. Evaluating QT



dead-already
7th June 2010, 10:46
Hi,

I am evaluating GUI tools for our application.

We have some specific requirements for our app.
We need few of GUI controls to be rotated, controls like Textbox, Label.

Is it possible to have vertical Textbox/textcontrol/Label?

Like simple horizantal textbox/Label with some text, rotated 90 deg about its axis{with all text rotated to 90 deg}
Editing is not needed. Just GUI control to show rotated information text.

It is for my application in which vertical screen (Vertical LCD screen) needs to be used.

I have to use this along with OGRE.

Rest of GUI is simple, nothing much to do other than rotating GUI controls by 90 degrees.

OR can anyone suggest other GUI tool for my app requirements ?


Thanks

aamer4yu
7th June 2010, 12:20
You can create your custom textbox / label where you override paintEvent and draw the contents with painter rotated.
I guess there are some example on qt-apps.org of u search.

JD2000
7th June 2010, 12:25
QxtLabel can do that with very little effort
http://doc.libqxt.org/0.6.0/qxtlabel.html

tbscope
7th June 2010, 14:59
Or draw your userinterface via QGraphicsView
http://doc.qt.nokia.com/4.6/demos-embeddeddialogs.html

dead-already
8th June 2010, 09:41
Thanks for replies.
I'll take a look at suggested methods.