Results 1 to 3 of 3

Thread: DockWidgets and layout

  1. #1
    Join Date
    Apr 2008
    Posts
    4
    Thanks
    1
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default DockWidgets and layout

    Hi all,
    1. I have a problem with my dockwidgets. Dsired.png(left one) is the look which i want. But when my application is run i get it as Obtained.png(right one). i need to pull the splitter handle to get it to the correct position. I want the Splitter handle to be at the desired position from the start itself. How can i set that?

    2. Also shud i put all of my widgets (right dock window, left dock window and the text editor) in a layout. Text editor is set as the central widget.

    3. i have to add one more dock window at the bottom, which will be a log window.... when i added it, the whole window got out of control... i mean the whole window went beyond the display area of the screen and the title bar of the application was invisible..... i was not able to access the close, minimise and restore buttons..... i am not able to figure out the problem. please help me

    Thanks in advance.... am attaching the code for the dock windows
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Join Date
    Apr 2008
    Posts
    4
    Thanks
    1
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: DockWidgets and layout

    Please help me frnds...

  3. #3
    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: DockWidgets and layout

    Try setting the width for the dockwidget,,, or the widget inside the dockwidget.

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.