Qt World Summit: Submit your Presentation

[Solved] Resizing QMainWindow

  • 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

Log in to reply