Plasma
ItemContainer Class Reference
#include <itemcontainer.h>

Signals | |
| void | itemActivated (Plasma::IconWidget *) |
| void | itemSelected (Plasma::IconWidget *) |
| void | resetRequested () |
Public Member Functions | |
| ItemContainer (QGraphicsWidget *parent) | |
| ~ItemContainer () | |
| void | askRelayout () |
| void | clear () |
| int | count () const |
| Plasma::IconWidget * | createItem () |
| Plasma::IconWidget * | currentItem () const |
| int | iconSize () const |
| void | insertItem (Plasma::IconWidget *item, qreal weight) |
| QList< Plasma::IconWidget * > | items () const |
| Qt::Orientation | orientation () const |
| void | setCurrentItem (Plasma::IconWidget *currentItem) |
| void | setIconSize (int size) |
| void | setOrientation (Qt::Orientation orientation) |
Protected Member Functions | |
| void | focusInEvent (QFocusEvent *event) |
| void | focusOutEvent (QFocusEvent *event) |
| void | hoverLeaveEvent (QGraphicsSceneHoverEvent *event) |
| void | keyPressEvent (QKeyEvent *event) |
| void | resizeEvent (QGraphicsSceneResizeEvent *event) |
Detailed Description
Definition at line 37 of file itemcontainer.h.
Constructor & Destructor Documentation
| ItemContainer::ItemContainer | ( | QGraphicsWidget * | parent | ) |
Definition at line 33 of file itemcontainer.cpp.
| ItemContainer::~ItemContainer | ( | ) |
Definition at line 59 of file itemcontainer.cpp.
Member Function Documentation
| void ItemContainer::askRelayout | ( | ) |
Definition at line 196 of file itemcontainer.cpp.
| void ItemContainer::clear | ( | ) |
Definition at line 126 of file itemcontainer.cpp.
| int ItemContainer::count | ( | ) | const |
Definition at line 166 of file itemcontainer.cpp.
| Plasma::IconWidget * ItemContainer::createItem | ( | ) |
Definition at line 154 of file itemcontainer.cpp.
| Plasma::IconWidget * ItemContainer::currentItem | ( | ) | const |
Definition at line 93 of file itemcontainer.cpp.
| void ItemContainer::focusInEvent | ( | QFocusEvent * | event | ) | [protected] |
Definition at line 388 of file itemcontainer.cpp.
| void ItemContainer::focusOutEvent | ( | QFocusEvent * | event | ) | [protected] |
Definition at line 403 of file itemcontainer.cpp.
| void ItemContainer::hoverLeaveEvent | ( | QGraphicsSceneHoverEvent * | event | ) | [protected] |
Definition at line 410 of file itemcontainer.cpp.
| int ItemContainer::iconSize | ( | ) | const |
Definition at line 191 of file itemcontainer.cpp.
| void ItemContainer::insertItem | ( | Plasma::IconWidget * | item, | |
| qreal | weight | |||
| ) |
Definition at line 98 of file itemcontainer.cpp.
| void ItemContainer::itemActivated | ( | Plasma::IconWidget * | ) | [signal] |
| QList< Plasma::IconWidget * > ItemContainer::items | ( | ) | const |
Definition at line 149 of file itemcontainer.cpp.
| void ItemContainer::itemSelected | ( | Plasma::IconWidget * | ) | [signal] |
| void ItemContainer::keyPressEvent | ( | QKeyEvent * | event | ) | [protected] |
Definition at line 330 of file itemcontainer.cpp.
| Qt::Orientation ItemContainer::orientation | ( | ) | const |
Definition at line 181 of file itemcontainer.cpp.
| void ItemContainer::resetRequested | ( | ) | [signal] |
| void ItemContainer::resizeEvent | ( | QGraphicsSceneResizeEvent * | event | ) | [protected] |
Reimplemented from QGraphicsWidget.
Definition at line 419 of file itemcontainer.cpp.
| void ItemContainer::setCurrentItem | ( | Plasma::IconWidget * | currentItem | ) |
Definition at line 62 of file itemcontainer.cpp.
| void ItemContainer::setIconSize | ( | int | size | ) |
Definition at line 186 of file itemcontainer.cpp.
| void ItemContainer::setOrientation | ( | Qt::Orientation | orientation | ) |
Definition at line 171 of file itemcontainer.cpp.
The documentation for this class was generated from the following files:
KDE 4.4 API Reference