ToolBarControlDemo Example
#ifndef MAINWINDOW_H #define MAINWINDOW_H #include "DemoRibbonWindow.h" /* MainWindow */ class MainWindow : public DemoRibbonWindow { Q_OBJECT public: explicit MainWindow(QWidget* parent = Q_NULL); virtual ~MainWindow(); private: void createLargeButtons(RibbonPage* page); void createSmallButtons(RibbonPage* page); void createLargePlusSmallButtons(RibbonPage* page); private: Q_DISABLE_COPY(MainWindow) }; #endif // MAINWINDOW_H