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