Results 1 to 5 of 5

Thread: Hello all. Evaluating QT

  1. #1
    Join Date
    Jun 2010
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Hello all. Evaluating QT

    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

  2. #2
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Hello all. Evaluating QT

    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.

  3. #3
    Join Date
    Oct 2009
    Posts
    151
    Thanks
    6
    Thanked 13 Times in 11 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Hello all. Evaluating QT

    QxtLabel can do that with very little effort
    http://doc.libqxt.org/0.6.0/qxtlabel.html
    Got to keep the loonies on the path ...

  4. #4
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: Hello all. Evaluating QT

    Or draw your userinterface via QGraphicsView
    http://doc.qt.nokia.com/4.6/demos-embeddeddialogs.html

  5. #5
    Join Date
    Jun 2010
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Hello all. Evaluating QT

    Thanks for replies.
    I'll take a look at suggested methods.

Similar Threads

  1. Evaluating Expression
    By vajindarladdad in forum Newbie
    Replies: 6
    Last Post: 14th March 2009, 16:34

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.