BackstageView Example

#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include "DemoRibbonWindow.h"

class MainWindow : public DemoRibbonWindow
{
    Q_OBJECT
public:
    MainWindow(QWidget* parent = Q_NULL);
    virtual ~MainWindow();
private:
    void createBackstageView();
    void addActionsToQuickAccessBar();
    void createRibbonBar();
    void createDockPanels();
    void createStatusBar();
Q_SIGNALS:
    void updateRecentFileActions(const QStringList& files);
protected Q_SLOTS:
    void open();
    bool save();
    void openRecentFile(const QString& file);

    void print();
    void printSetup();
    void hideStatusBar(int state);
    void pressButton();

    void showBackstage();
    void hideBackstage();
private:
    void setCurrentFile(const QString &fileName);
private:
    Q_DISABLE_COPY(MainWindow)
};

#endif // MAINWINDOW_H