Is there an equivalent function to QToolBar::actions() that would return a list of the toolbars in a QMainWindow? I don't see one in the 4.3 docs.
Is there an equivalent function to QToolBar::actions() that would return a list of the toolbars in a QMainWindow? I don't see one in the 4.3 docs.
Hi,
Just an idea:
Qt Code:
QList<QToolBar *> toolbars = mainWindow.findChildren<QToolBar *>("");To copy to clipboard, switch view to plain text mode
Kacper
wysotaQt allows you to use everything you want
--------------------------------------------------------------------------------
#if defined(Q_OS_UNIX) && defined(QT_DEBUG)
abort(); // trap; generates core dump
#else
exit(1); // goodbye cruel world
#endif
Yes, that should work, though I don't think the quotes are necessary. Thank you very much.
Bookmarks