BackstageView Example

#ifndef BACKSTAGEPAGES_H
#define BACKSTAGEPAGES_H

#include <DevMachines/QtitanRibbon>

#include "ui_infopage.h"
#include "ui_savepage.h"
#include "ui_helppage.h"
#include "ui_saveemailpage.h"
#include "ui_savewebpage.h"

/* BackstagePageInfo */
class BackstagePageInfo : public RibbonBackstagePage
{
public:
    BackstagePageInfo(QWidget* parent);
    virtual ~BackstagePageInfo();
protected:
    void createActions();
    void createMenus();
private:
    QAction* m_actMark;
    QAction* m_actPassword;

    QAction* m_actInspect;
    QAction* m_actAccessibility;
    Ui::InfoPage ui;
};

/* BackstagePageSaveEmail */
class BackstagePageSaveEmail : public RibbonBackstagePage
{
public:
    BackstagePageSaveEmail(QWidget* parent);
    virtual ~BackstagePageSaveEmail();
private:
    Ui::SaveEmailPage ui;
};

/* BackstagePageSaveWeb */
class BackstagePageSaveWeb : public RibbonBackstagePage
{
public:
    BackstagePageSaveWeb(QWidget* parent);
    virtual ~BackstagePageSaveWeb();
private:
    Ui::SaveWebPage ui;
};

/* BackstagePageInfo */
class BackstagePageSave : public RibbonBackstagePage
{
    Q_OBJECT
public:
    BackstagePageSave(QWidget* parent);
    virtual ~BackstagePageSave();
protected Q_SLOTS:
    void triggeredPage(QAction* act);
protected:
    virtual void resizeEvent(QResizeEvent* event);
protected:
    RibbonBackstageSeparator* m_separator;
    QAction* m_actSendEmailButton;
    QAction* m_actSaveWebButton;
    QAction* m_actSharePointButton;
    QAction* m_actBlogPostButton;
    QAction* m_actFileTypeButton;
    QAction* m_actCreateDocButton;
    BackstagePageSaveEmail* m_pageSaveEmail;
    BackstagePageSaveWeb* m_pageSaveWeb;
private:
    Ui::SaveSendPage ui;
};

/* BackstagePageAbout */
class BackstagePageAbout : public RibbonBackstagePage
{
public:
    BackstagePageAbout(QWidget* parent);
    virtual ~BackstagePageAbout();
private:
    Ui::AboutPage ui;
};

#endif // BACKSTAGEPAGES_H