Results 1 to 6 of 6

Thread: Problem with dockwidget

  1. #1
    Join Date
    Sep 2014
    Posts
    94
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Default Problem with dockwidget

    Hi friends,

    I am running mainwindow application in that i added dockwidget.When i am opened dockwidget and it is undocked on mainwindow ..i am not able to operate mainwindow untill dockwidget is docked..plz tell me how to operate mainwindow when dockwidget isopened on mainwindow..

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Problem with dockwidget

    That should work, i.e a dock widget does not interfere with its parent.

    How does your respective code look like.

    Cheers,
    _

  3. #3
    Join Date
    Sep 2014
    Posts
    94
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Default Re: Problem with dockwidget

    in mainwindow iadded gridlayout. in gridlayout added dockwidget added..if i double click on dockwidget it comes out from gridlayout and appear on mainwindow then we canot acces mainwindow....

  4. #4
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Problem with dockwidget

    ok, so this is some custom dock widget like window thing, not QDockWidget.

    Then it is likely that your code set window modality or something similar.

    Cheers,
    _

  5. #5
    Join Date
    Sep 2014
    Posts
    94
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Default Re: Problem with dockwidget

    thanks ..For giving solution it is really useful to me...

  6. #6
    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: Problem with dockwidget

    Quote Originally Posted by mouni View Post
    thanks ..For giving solution it is really useful to me...
    The solution is to use QDockWidget the way it should be used.
    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. DockWidget with Direct3D Widget and expanding problem
    By NIteLordz in forum Qt Programming
    Replies: 7
    Last Post: 30th December 2014, 21:09
  2. Add a pin to the dockwidget
    By hassinoss in forum Newbie
    Replies: 2
    Last Post: 14th April 2014, 15:52
  3. dockwidget problem
    By rimie23 in forum Qt Programming
    Replies: 4
    Last Post: 8th May 2012, 10:03
  4. How to put a DockWidget or Widget over others??
    By dungsivn in forum Qt Programming
    Replies: 6
    Last Post: 25th October 2007, 07:12
  5. DockWidget ?
    By allensr in forum Qt Programming
    Replies: 8
    Last Post: 31st January 2007, 00:58

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.