summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/tools_shared_qttoolbardialog_qttoolbardialog.cpp
blob: 9162b63b7ed61105a10e63bfe7af36d789aa285f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//! [0]
    QtToolBarManager *toolBarManager;

    void MyMainWindow::customize()
        {
            QtToolBarDialog dialog(this);
            dialog.setToolBarManager(toolBarManager);
            dialog.exec();
        }
//! [0]