Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- auto* mainToolBar = qobject_cast<QToolBar*>(factory()->container("main_toolbar", this));
- mainToolBar->setVisible(false);
- mainToolBar->setEnabled(false);
- mainToolBar->hide();
- KXMLGUIFactory* factory = this->guiFactory();
- factory->container("main_toolbar", this)->hide();
- factory->container("main_toolbar", this)->setEnabled(false);
- factory->container("main_toolbar", this)->setVisible(false);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement