Plasma
ItemView Class Reference
#include <itemview.h>

Public Types | |
| enum | ScrollBarNeeded { NoScrollBar = 0, HorizontalScrollBar = 1, VerticalScrollBar = 2, AllScrollBars = HorizontalScrollBar|VerticalScrollBar } |
Signals | |
| void | itemActivated (Plasma::IconWidget *) |
| void | itemSelected (Plasma::IconWidget *) |
| void | resetRequested () |
| void | scrollBarsNeededChanged (ItemView::ScrollBarFlags) |
Public Member Functions | |
| ItemView (QGraphicsWidget *parent) | |
| ~ItemView () | |
| void | clear () |
| int | count () const |
| Plasma::IconWidget * | createItem () |
| Plasma::IconWidget * | currentItem () const |
| int | iconSize () const |
| void | insertItem (Plasma::IconWidget *item, qreal weight) |
| Qt::Orientation | orientation () const |
| void | setCurrentItem (Plasma::IconWidget *currentItem) |
| void | setIconSize (int size) |
| void | setOrientation (Qt::Orientation orientation) |
Protected Slots | |
| void | selectItem (Plasma::IconWidget *icon) |
Protected Member Functions | |
| bool | eventFilter (QObject *watched, QEvent *event) |
| void | resizeEvent (QGraphicsSceneResizeEvent *event) |
Detailed Description
Definition at line 38 of file itemview.h.
Member Enumeration Documentation
Definition at line 43 of file itemview.h.
Constructor & Destructor Documentation
| ItemView::ItemView | ( | QGraphicsWidget * | parent | ) |
Definition at line 29 of file itemview.cpp.
| ItemView::~ItemView | ( | ) |
Definition at line 46 of file itemview.cpp.
Member Function Documentation
| void ItemView::clear | ( | ) |
Definition at line 73 of file itemview.cpp.
| int ItemView::count | ( | ) | const |
Definition at line 82 of file itemview.cpp.
| Plasma::IconWidget * ItemView::createItem | ( | ) |
Definition at line 107 of file itemview.cpp.
| Plasma::IconWidget * ItemView::currentItem | ( | ) | const |
Definition at line 61 of file itemview.cpp.
Definition at line 132 of file itemview.cpp.
| int ItemView::iconSize | ( | ) | const |
Definition at line 102 of file itemview.cpp.
| void ItemView::insertItem | ( | Plasma::IconWidget * | item, | |
| qreal | weight | |||
| ) |
Definition at line 66 of file itemview.cpp.
| void ItemView::itemActivated | ( | Plasma::IconWidget * | ) | [signal] |
| void ItemView::itemSelected | ( | Plasma::IconWidget * | ) | [signal] |
| Qt::Orientation ItemView::orientation | ( | ) | const |
Definition at line 92 of file itemview.cpp.
| void ItemView::resetRequested | ( | ) | [signal] |
| void ItemView::resizeEvent | ( | QGraphicsSceneResizeEvent * | event | ) | [protected] |
Definition at line 112 of file itemview.cpp.
| void ItemView::scrollBarsNeededChanged | ( | ItemView::ScrollBarFlags | ) | [signal] |
| void ItemView::selectItem | ( | Plasma::IconWidget * | icon | ) | [protected, slot] |
Definition at line 49 of file itemview.cpp.
| void ItemView::setCurrentItem | ( | Plasma::IconWidget * | currentItem | ) |
Definition at line 56 of file itemview.cpp.
| void ItemView::setIconSize | ( | int | size | ) |
Definition at line 97 of file itemview.cpp.
| void ItemView::setOrientation | ( | Qt::Orientation | orientation | ) |
Definition at line 87 of file itemview.cpp.
The documentation for this class was generated from the following files:
KDE 4.4 API Reference