I'm totally new to Qt framework. What I'm trying to get is to hide all widgets when I start my program, so when the MainWindow is opened. I'm not coding it. I was just editing the program in "Design" editor. I was looking for an option where I can just set widget hidden by default, but without any success.
Thank you for your help.
Would you like to make MainWindow invisible or just hide all widgets from MainWindow?
First:
hide();
Second:
//after setup ui
foreach( QWidget * child, findChildren< QWidget * >() )
{
child->hide();
}