How can i hide a QAction in the QToolbar?
-
setVisible can be applied to QAction in the toolbar.
-
Hello,
thanks for the answer.
When i write this code:ui->toolBar->setVisible(false);
The completly toolBar is hide.
When i will the first button hide, i write this:
ui->toolBar->actions().at(index)->setVisible(false);
Thank you ;-)
Bye
Alex from Germany