Plasma
Plasma::TreeView Class Reference
#include <Plasma/Widgets/TreeView>
Inheritance diagram for Plasma::TreeView:
Public Member Functions | |
TreeView (QGraphicsWidget *parent=0) | |
~TreeView () | |
QAbstractItemModel * | model () |
QTreeView * | nativeWidget () const |
void | setModel (QAbstractItemModel *model) |
void | setStyleSheet (const QString &stylesheet) |
QString | styleSheet () |
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
|
explicit |
Definition at line 39 of file treeview.cpp.
Plasma::TreeView::~TreeView | ( | ) |
Definition at line 54 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.
- Parameters
-
model the model to display
Definition at line 60 of file treeview.cpp.
void Plasma::TreeView::setStyleSheet | ( | const QString & | stylesheet | ) |
Sets the stylesheet used to control the visual display of this TreeView.
- Parameters
-
stylesheet a CSS string
Definition at line 70 of file treeview.cpp.
QString Plasma::TreeView::styleSheet | ( | ) |
- Returns
- the stylesheet currently used with this widget
Property Documentation
|
readwrite |
Definition at line 44 of file treeview.h.
|
read |
Definition at line 47 of file treeview.h.
|
read |
Definition at line 45 of file treeview.h.
|
readwrite |
Definition at line 46 of file treeview.h.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:35 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:35 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.