PDA

View Full Version : QToolBar go away! On startup anyway.



bitChanger
10th February 2006, 19:16
This should be a simple one. I have toolbars that the toggleViewActions are listed in a MenuBar item called view.

How can i make the toolbars view action toggled to not showing at the application start. So that if someone wants to see/use the toolbar they must turn it on via the view menu.

I've tried:

emit _tbar->toggleViewAction()->toggle();

which did not work.

bitChanger
10th February 2006, 19:22
Figured it out.

_tbar->setHidden(true);

Hope maybe this helps someone else anyway.