QGIS API Documentation  2.14.0-Essen
Public Member Functions | List of all members
QgsDetailedItemData Class Reference

This class is the data only representation of a QgsDetailedItemWidget, designed to be used in custom views. More...

#include <qgsdetaileditemdata.h>

Public Member Functions

 QgsDetailedItemData ()
 
QString category () const
 
QString detail () const
 
QPixmap icon () const
 
bool isCheckable () const
 
bool isChecked () const
 
bool isEnabled () const
 
bool isRenderedAsWidget () const
 
void setCategory (const QString &theCategory)
 
void setCheckable (const bool theFlag)
 
void setChecked (const bool theFlag)
 
void setDetail (const QString &theDetail)
 
void setEnabled (bool theFlag)
 
void setIcon (const QPixmap &theIcon)
 
void setRenderAsWidget (bool theFlag)
 This is a hint to the delegate to render using a widget rather than manually painting every part of the list item. More...
 
void setTitle (const QString &theTitle)
 
QString title () const
 

Detailed Description

This class is the data only representation of a QgsDetailedItemWidget, designed to be used in custom views.

Definition at line 29 of file qgsdetaileditemdata.h.

Constructor & Destructor Documentation

QgsDetailedItemData::QgsDetailedItemData ( )

Definition at line 19 of file qgsdetaileditemdata.cpp.

Member Function Documentation

QString QgsDetailedItemData::category ( ) const

Definition at line 73 of file qgsdetaileditemdata.cpp.

QString QgsDetailedItemData::detail ( ) const

Definition at line 68 of file qgsdetaileditemdata.cpp.

QPixmap QgsDetailedItemData::icon ( ) const

Definition at line 78 of file qgsdetaileditemdata.cpp.

bool QgsDetailedItemData::isCheckable ( ) const

Definition at line 83 of file qgsdetaileditemdata.cpp.

bool QgsDetailedItemData::isChecked ( ) const

Definition at line 88 of file qgsdetaileditemdata.cpp.

bool QgsDetailedItemData::isEnabled ( ) const

Definition at line 103 of file qgsdetaileditemdata.cpp.

bool QgsDetailedItemData::isRenderedAsWidget ( ) const

Definition at line 93 of file qgsdetaileditemdata.cpp.

void QgsDetailedItemData::setCategory ( const QString theCategory)

Definition at line 38 of file qgsdetaileditemdata.cpp.

void QgsDetailedItemData::setCheckable ( const bool  theFlag)

Definition at line 48 of file qgsdetaileditemdata.cpp.

void QgsDetailedItemData::setChecked ( const bool  theFlag)

Definition at line 53 of file qgsdetaileditemdata.cpp.

void QgsDetailedItemData::setDetail ( const QString theDetail)

Definition at line 33 of file qgsdetaileditemdata.cpp.

void QgsDetailedItemData::setEnabled ( bool  theFlag)

Definition at line 98 of file qgsdetaileditemdata.cpp.

void QgsDetailedItemData::setIcon ( const QPixmap theIcon)

Definition at line 43 of file qgsdetaileditemdata.cpp.

void QgsDetailedItemData::setRenderAsWidget ( bool  theFlag)

This is a hint to the delegate to render using a widget rather than manually painting every part of the list item.

Note
the delegate may completely ignore this depending on the delegate implementation.

Definition at line 58 of file qgsdetaileditemdata.cpp.

void QgsDetailedItemData::setTitle ( const QString theTitle)

Definition at line 28 of file qgsdetaileditemdata.cpp.

QString QgsDetailedItemData::title ( ) const

Definition at line 63 of file qgsdetaileditemdata.cpp.


The documentation for this class was generated from the following files: