Results 1 to 2 of 2

Thread: How can I know if a QDockWidget is tabbed?

  1. #1
    Join Date
    Apr 2009
    Posts
    132
    Thanks
    67
    Thanked 6 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Smile How can I know if a QDockWidget is tabbed?

    Hi mates!

    How can I know if a QDockWidget is tabbed?
    And if it is tabbed, how can I know if is selected or not?

    Thanks in advance.

  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 can I know if a QDockWidget is tabbed?

    Quote Originally Posted by ricardo View Post
    How can I know if a QDockWidget is tabbed?
    QMainWindow::tabifiedDockWidgets()
    And if it is tabbed, how can I know if is selected or not?
    Check if it is visible.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. QDockWidget magically disapear
    By 1111 in forum Qt Programming
    Replies: 1
    Last Post: 29th January 2009, 12:44
  2. Tabbed QDockWidget question
    By Khal Drogo in forum Qt Programming
    Replies: 1
    Last Post: 19th September 2008, 18:57
  3. contextmenu in QDockWidget title
    By klipko in forum Newbie
    Replies: 4
    Last Post: 7th March 2008, 23:32
  4. QDockWidget Tabbed State
    By jtaylor108 in forum Newbie
    Replies: 2
    Last Post: 2nd August 2007, 01:16
  5. Replies: 8
    Last Post: 4th February 2007, 01:42

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.