53 #ifndef VIEWMODEWIDGET_HH 54 #define VIEWMODEWIDGET_HH 56 #include "ui_viewMode.hh" 57 #include <QStringList> 67 const QVector< ViewMode* >& modes_;
69 viewModeWidget(
const QVector< ViewMode* >& _modes, QWidget *parent = 0 );
70 void show(QString _lastMode);
258 void changeView(QString _mode, QStringList _toolboxWidgets, QStringList _toolbars, QStringList _contextmenus);
261 void saveMode(QString _name,
bool _custom, QStringList _toolboxWidgets, QStringList _toolbars, QStringList _contextmenus);
269 #endif //VIEWMODEWIDGET_HH void slotMoveToolboxUp()
Move Toolbox up.
void slotUsedToolbarContextMenu(const QPoint &_pos)
Context Menu Used Toolbars.
void slotMoveToolboxDown()
Move Toolbox down.
viewModeWidget(const QVector< ViewMode * > &_modes, QWidget *parent=0)
Constructor.
void show(QString _lastMode)
overloaded show function
void slotSetIcon()
Context menu slot to change the icon for a view mode.
void slotCopyMode()
Button slot to copy the selected view mode.
void slotRightArrowToolbox()
remove Toolboxes from Mode
ViewMode struct This struct contains a ViewMode and its status information such as used widgets...
void slotAvailableContextMenuContextMenu(const QPoint &_pos)
Context Menu Available ContextMenus.
void slotModeContextMenu(const QPoint &_pos)
Context Menu View Modes.
void slotModeClicked(QModelIndex _id)
Slot for updating removeButton when new mode is selected.
void slotRightArrowContextMenu()
remove ContextMenu from Mode
void slotAvailableToolboxContextMenu(const QPoint &_pos)
Context Menu Available Toolboxes.
void slotSetAllWidgets()
Update list views.
void slotChangeView()
Slot for changing the current view to currently configured one.
void slotRightArrowToolbar()
remove Toolbars from Mode
void slotMoveContextMenuUp()
Move ContextMenu up.
void saveMode(QString _name, bool _custom, QStringList _toolboxWidgets, QStringList _toolbars, QStringList _contextmenus)
saves the given mode
void changeView(QString _mode, QStringList _toolboxWidgets, QStringList _toolbars, QStringList _contextmenus)
Changes the view mode to the currently configured one.
void slotAvailableToolbarContextMenu(const QPoint &_pos)
Context Menu Available Toolbars.
void slotModeChanged(QString _mode)
Slot for updating removeButton when new mode is selected.
void slotMoveContextMenuDown()
Move Toolbox down.
void slotUsedContextMenuContextMenu(const QPoint &_pos)
Context Menu Used ContextMenus.
void slotLeftArrowToolbar()
add Toolbars to Mode
void slotLeftArrowContextMenu()
add ContextMenu to Mode
void slotLeftArrowToolbox()
add Toolboxes to Mode
void slotSaveMode()
Save the current view mode configuration.
void slotUsedToolboxContextMenu(const QPoint &_pos)
Context Menu Used Toolboxes.
void removeMode(QString _name)
This signal is emitted to remove a mode.
void slotRemoveMode()
Button slot to remove the selected view mode.
void slotAddMode()
Button slot to add a new empty mode.