Results 1 to 3 of 3

Thread: How to make "west" tabs horizontal?

  1. #1
    Join Date
    Jun 2007
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default How to make "west" tabs horizontal?

    Hello Hello

    If one is making a window with 2 tabs, it is possible to put tabs at "west" like this:

    tabWidget->setTabPosition(QTabWidget::West);
    tabWidget->addTab(PressTab, tr("Pressure"));
    tabWidget->addTab(TempTab, tr("Temperature"));

    The tabs are parallel to the left side of window. I don't like it.
    Question: Does it possible to make tabs and text in there horizontal
    and still keep them at "west"?

    Thank you

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How to make "west" tabs horizontal?

    No. You'd have to reimplement the style and do the drawing yourself.

  3. #3
    Join Date
    Jun 2007
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to make "west" tabs horizontal?

    Quote Originally Posted by wysota View Post
    No. You'd have to reimplement the style and do the drawing yourself.
    OK, thanks a lot, Wysota.

Similar Threads

  1. Compiling with Qmake/Make
    By VireX in forum Newbie
    Replies: 25
    Last Post: 22nd February 2007, 06:57

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.