Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Resizing all the widgets when maximizing the window.
Forum Updated to NodeBB v4.3 + New Features

Resizing all the widgets when maximizing the window.

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 233 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lingesh
    wrote on last edited by
    #1

    Hi everyone, may i know how to resize all the widgets when when launch the app. Currently my UI has multiple frames with hide and show function

    1 Reply Last reply
    0
    • C Offline
      C Offline
      ChrisW67
      wrote on last edited by
      #2

      Call QWidget::resize(), QWidget::showMaximized(), or QWidget::setGeometry() on each top-level widget as required. The layout within the top-level widgets should look after all the contained widgets.
      You might find QWidget::saveGeometry() and QWidget::restoreGeometry() along with QSettings to keep sizes between runs.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved