Results 1 to 7 of 7

Thread: how to get geometry of QMainWindow without menubar and toolbars?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: how to get geometry of QMainWindow without menubar and toolbars?

    Quote Originally Posted by EnErGy[CSDX] View Post
    to place widget that cover central widget and dock widgets.
    Ok, but why?

    Nevertheless it might be easier to calculate the area by substracting the part taken by the menu, toolbars and statusbar from the whole widget.

  2. #2
    Join Date
    May 2008
    Location
    Ukraine, Berdyansk
    Posts
    14
    Qt products
    Qt4
    Platforms
    Windows
    Thanked 1 Time in 1 Post

    Default Re: how to get geometry of QMainWindow without menubar and toolbars?

    Quote Originally Posted by wysota View Post
    Ok, but why?

    Nevertheless it might be easier to calculate the area by substracting the part taken by the menu, toolbars and statusbar from the whole widget.
    this is not easy solution, but looks like it is only one posible.

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
  •  
Qt is a trademark of The Qt Company.