Important: Please read the Qt Code of Conduct -

CentralWidget as blank page

  • Hello everyone
    I start with C ++. I'm currently writing a program and I'm finishing with the menu, the toolbar and the status bar but I want to put two buttons in the center of a blank page for my CentralWidget but I do not know how to get my blank page blank.
    I tried to use a Gridlayout with two central buttons for my CentralWidget but the IDE refuses to take it as a parameter.
    Please help me ...

  • Create a QWidget, set the grid layout on it and then make that one as the central widget

Log in to reply