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