Results 1 to 3 of 3

Thread: How to know an dock widget of an main window is out of it or not?

  1. #1
    Join Date
    Mar 2009
    Location
    Gansu,China
    Posts
    188
    Qt products
    Qt4
    Platforms
    Windows

    Default How to know an dock widget of an main window is out of it or not?

    As you know,there are dock widgets in the example 'Dockets Widgets',and when I double-click it or drag it, I can let it be out of the main window.
    Now I want to know that when it is in the main window,and when it is out of the main window?

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: How to know an dock widget of an main window is out of it or not?


  3. #3
    Join Date
    Mar 2009
    Location
    Gansu,China
    Posts
    188
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to know an dock widget of an main window is out of it or not?

    1.How to let 9 dockwidgets lie in 3 rows,and each row has 3 dockwidgets?
    that is, I want to let many dockwidgets line up with any rows and any lines.

    2. How to let a dockwidget has a maximum icon on the right-up corner,I find that there is only a closed icon on the corner when it is floating.


    3. If dockwidget can not satisfy what I said,could you tell me another method?


    Thank you in advance.
    Last edited by weixj2003ld; 16th April 2012 at 04:23.

Similar Threads

  1. Customizable widget over main window.
    By SeeLook in forum Qt Programming
    Replies: 5
    Last Post: 23rd June 2012, 16:24
  2. Add a Frame Widget to the main window
    By kamlmish in forum Qt Programming
    Replies: 2
    Last Post: 30th November 2010, 08:51
  3. Replies: 0
    Last Post: 14th November 2010, 19:38
  4. accessing my main application window widget
    By jayw710 in forum Newbie
    Replies: 8
    Last Post: 15th November 2007, 19:33
  5. Background image for main window widget using css.
    By Enygma in forum Qt Programming
    Replies: 8
    Last Post: 23rd August 2007, 15:40

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.