Results 1 to 2 of 2

Thread: How to remove gap between dockwidgets and central widgets in QMainWindow

  1. #1
    Join Date
    Jul 2007
    Posts
    90
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Question How to remove gap between dockwidgets and central widgets in QMainWindow

    Hi all,

    I am developing an QMainWindow frameless application with some dock widgets at top, left and right dock areas.
    All the dock widgets are developed using qml and they are too frameless.

    The issue is there is some 2 to 4 px gap between all dock widgets and central widget. When we hover the mouse on these areas, resize cursor gets displayed. So it seems that it is basically dock widget resize grip handle.

    Now my requirement is that I dont want this resize grip handle between the dock widgets and central widget.
    For reference I have attached the screenshot of the UI that I am developing.

    Thanking you in advance.

    Regards,
    Sanjay Shelke
    Attached Images Attached Images

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

    Default Re: How to remove gap between dockwidgets and central widgets in QMainWindow

    Can you clarify? Are the dock widgets QDockWidgets?
    If yes, do you also have that border if you have an empty QWidget as the dock widget's content?

    Cheers,
    _

Similar Threads

  1. Replies: 1
    Last Post: 19th December 2013, 09:41
  2. Replies: 2
    Last Post: 29th June 2011, 15:45
  3. How to get list of DockWidgets in QMainWindow?
    By QPlace in forum Qt Programming
    Replies: 1
    Last Post: 27th July 2009, 06:20
  4. Replies: 2
    Last Post: 23rd March 2009, 17:26
  5. Replies: 0
    Last Post: 1st October 2008, 16:21

Tags for this Thread

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.