Plasma
Plasma::TreeView Class Reference
Provides a plasma-themed QTreeView. More...
#include <Plasma/Widgets/TreeView>
Inheritance diagram for Plasma::TreeView:
Public Member Functions | |
| QAbstractItemModel * | model () |
| QTreeView * | nativeWidget () const |
| void | setModel (QAbstractItemModel *model) |
| void | setStyleSheet (const QString &stylesheet) |
| QString | styleSheet () |
| TreeView (QGraphicsWidget *parent=0) | |
| ~TreeView () | |
Properties | |
| QAbstractItemModel | model |
| QTreeView | nativeWidget |
| QGraphicsWidget | parentWidget |
| QString | styleSheet |
Detailed Description
Provides a plasma-themed QTreeView.
Definition at line 40 of file treeview.h.
Constructor & Destructor Documentation
| Plasma::TreeView::TreeView | ( | QGraphicsWidget * | parent = 0 |
) | [explicit] |
Definition at line 39 of file treeview.cpp.
| Plasma::TreeView::~TreeView | ( | ) |
Definition at line 53 of file treeview.cpp.
Member Function Documentation
| QAbstractItemModel* Plasma::TreeView::model | ( | ) |
- Returns:
- the model shown by this view
| QTreeView* Plasma::TreeView::nativeWidget | ( | ) | const |
- Returns:
- the native widget wrapped by this TreeView
| void Plasma::TreeView::setModel | ( | QAbstractItemModel * | model | ) |
Sets a model for this weather view.
- model the model to display
Definition at line 59 of file treeview.cpp.
| void Plasma::TreeView::setStyleSheet | ( | const QString & | stylesheet | ) |
Sets the stylesheet used to control the visual display of this TreeView.
- stylesheet a CSS string
Definition at line 69 of file treeview.cpp.
| QString Plasma::TreeView::styleSheet | ( | ) |
- Returns:
- the stylesheet currently used with this widget
Property Documentation
QAbstractItemModel * Plasma::TreeView::model [read, write] |
Definition at line 44 of file treeview.h.
QTreeView * Plasma::TreeView::nativeWidget [read] |
Definition at line 47 of file treeview.h.
QGraphicsWidget Plasma::TreeView::parentWidget [read] |
Definition at line 45 of file treeview.h.
QString Plasma::TreeView::styleSheet [read, write] |
Definition at line 46 of file treeview.h.
The documentation for this class was generated from the following files:
KDE 4.3 API Reference