80 explicit SideArea (QWidget *_parent = 0);
89 void addItem (QObject
const *
const _plugin, QWidget *_w, QString _name,
90 QIcon* _icon = 0, QWidget *_headerAreaWidget = 0);
98 void expand(QWidget *sideElementWidget,
bool expand);
119 void moveItemToPosition(QObject
const *
const _plugin,
const QString& _name,
int _position);
125 const QList<const QObject *>&
plugins();
128 const QStringList&
names();
135 QVector<SideElement *> items_;
138 QList<const QObject *> plugins_;
141 QStringList itemNames_;
144 QMap<QString, bool> sideElementState_;
147 QVBoxLayout *layout_;
152 #endif // SIDE_AREA_ defined void setElementActive(QString _name, bool _active)
set the active state of given element
SideArea(QWidget *_parent=0)
void saveState(QSettings &_settings)
returns the current state
void moveItemToPosition(const QString &_name, int _position)
Move a toolbox widget to a given position.
void addItem(QObject const *const _plugin, QWidget *_w, QString _name, QIcon *_icon=0, QWidget *_headerAreaWidget=0)
int getNumberOfWidgets() const
Get number of widgets.
void restoreViewModeState(const QString &_viewMode)
restores the active state of _viewMode
void clear()
clears the whole tool widget area
const QList< const QObject * > & plugins()
Get plugins in side area.
void saveViewModeState(const QString &_viewMode)
saves the active state of _viewMode
const QStringList & names()
Get item names.
void restoreState(QSettings &_settings)
restores the state