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