#ifndef PGLPAGE_H #define PGLPAGE_H #include #include /// Provides a pluggable system for toolbar buttons and menu actions /// /// We will need several kind of actions /// - create actions, these will create a new document or load from file , always available in menu /// - save actions available when on tab /// - edit actions /// - custom menu? /// /// Can we use same groupings for toolbars and menu's /// How about additional toolbars? /// class PlgPage: public QWidget{ public: using QWidget::QWidget; /// Returns the toolbar buttons for this page virtual std::vector getToolbarActions(); virtual bool canClose(); }; #endif // PGLPAGE_H