• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

Plasma

Plasma::TreeView

Plasma::TreeView Class Reference

Provides a plasma-themed QTreeView. More...

#include <Plasma/Widgets/TreeView>

Inheritance diagram for Plasma::TreeView:

Inheritance graph
[legend]

List of all members.


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:
  • treeview.h
  • treeview.cpp

Plasma

Skip menu "Plasma"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal