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. [Solved] Resizing QMainWindow
Forum Updated to NodeBB v4.3 + New Features

[Solved] Resizing QMainWindow

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.0k Views 1 Watching
  • 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.
  • F Offline
    F Offline
    Flurite
    wrote on last edited by
    #1

    I am making a widget program so that new buttons must be created at the click of a button. To allocate room for these new buttons, I have to resize the QMainWindow (I believe). I tried resizing the centralWidget, but I believe that the QMainWindow itself must be resized in order to see the increase in size.

    How would I go about allocating room for these new widgets?

    Edit: Solved, did not realize that QMainWindow has the resize() function

    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