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

Plasma

  • Plasma
  • TreeView
Public Member Functions | Properties | List of all members
Plasma::TreeView Class Reference

#include <Plasma/Widgets/TreeView>

Inheritance diagram for Plasma::TreeView:
Inheritance graph
[legend]

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

Plasma::TreeView::TreeView ( QGraphicsWidget *  parent = 0)
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
modelthe 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
stylesheeta CSS string

Definition at line 70 of file treeview.cpp.

QString Plasma::TreeView::styleSheet ( )
Returns
the stylesheet currently used with this widget

Property Documentation

QAbstractItemModel * Plasma::TreeView::model
readwrite

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
readwrite

Definition at line 46 of file treeview.h.


The documentation for this class was generated from the following files:
  • treeview.h
  • treeview.cpp
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

KDE's Doxygen guidelines are available online.

Plasma

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

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal