SystemMenuDemo Example
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QTimer>
#include "DemoRibbonWindow.h"
namespace Qtitan
{
class WidgetGalleryItems;
class OfficeWidgetGallery;
}
class MainWindow : public DemoRibbonWindow
{
Q_OBJECT
public:
MainWindow(QWidget* parent = Q_NULL);
virtual ~MainWindow();
private:
void createMenuFile();
void addActionsToQuickAccessBar();
void createRibbon();
void createStatusBar();
protected Q_SLOTS:
void open();
bool save();
void print();
void printSetup();
void pressButton();
private:
Q_DISABLE_COPY(MainWindow)
};
#endif // MAINWINDOW_H