53 #ifndef VIEWMODECHANGEWIDGET_HH 54 #define VIEWMODECHANGEWIDGET_HH 56 #include "ui_viewModeChange.hh" 57 #include <QStringList> 59 #include <QWidgetAction> 68 const QVector< ViewMode* >& modes_;
72 void update(QString _lastMode);
81 void showEvent(QShowEvent *event);
90 void changeView(QString _mode, QStringList _toolboxWidgets, QStringList _toolbars, QStringList _contextmenus);
94 #endif //VIEWMODECHANGEWIDGET_HH ViewMode struct This struct contains a ViewMode and its status information such as used widgets...
viewModeChangeWidget(const QVector< ViewMode * > &_modes, QWidget *parent=0)
Constructor.
void update(QString _lastMode)
overloaded show function
void slotModeClicked(QModelIndex _id)
Slot for changing View and closing widget.
void changeView(QString _mode, QStringList _toolboxWidgets, QStringList _toolbars, QStringList _contextmenus)
Changes the view mode to the currently configured one.