Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     auto* mainToolBar = qobject_cast<QToolBar*>(factory()->container("main_toolbar", this));
  2.     mainToolBar->setVisible(false);
  3.     mainToolBar->setEnabled(false);
  4.     mainToolBar->hide();
  5.  
  6.     KXMLGUIFactory* factory = this->guiFactory();
  7.     factory->container("main_toolbar", this)->hide();
  8.     factory->container("main_toolbar", this)->setEnabled(false);
  9.     factory->container("main_toolbar", this)->setVisible(false);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement