PDA

View Full Version : Execute TabWidget



cecchinoSMI
1st April 2014, 13:17
Hi to all,
I create a new tabWidget choosen in tamplate form.
Now I want to execute (launch) by clicking on a push button that is inside the MainWindow. I'm able to execute a dialog object...but no a tabWidget object.
Someone can help me?

anda_skoa
1st April 2014, 18:13
A tab widget, like most other widgets, can be shown.

exec(), like for dialogs, means "blocking" the current code, i.e. diverting event processing to a nested event loop.

show() will make the widget visible and continue with the code after show while the widget is becoming visible.

Cheers,
_