QGIS API Documentation  2.8.2-Wien
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 ()
 ~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.
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.

QgsDetailedItemData::~QgsDetailedItemData ( )

Definition at line 28 of file qgsdetaileditemdata.cpp.

Member Function Documentation

QString QgsDetailedItemData::category ( ) const

Definition at line 77 of file qgsdetaileditemdata.cpp.

QString QgsDetailedItemData::detail ( ) const

Definition at line 72 of file qgsdetaileditemdata.cpp.

QPixmap QgsDetailedItemData::icon ( ) const

Definition at line 82 of file qgsdetaileditemdata.cpp.

bool QgsDetailedItemData::isCheckable ( ) const

Definition at line 87 of file qgsdetaileditemdata.cpp.

bool QgsDetailedItemData::isChecked ( ) const

Definition at line 92 of file qgsdetaileditemdata.cpp.

bool QgsDetailedItemData::isEnabled ( ) const

Definition at line 107 of file qgsdetaileditemdata.cpp.

bool QgsDetailedItemData::isRenderedAsWidget ( ) const

Definition at line 97 of file qgsdetaileditemdata.cpp.

void QgsDetailedItemData::setCategory ( const QString  theCategory)

Definition at line 42 of file qgsdetaileditemdata.cpp.

void QgsDetailedItemData::setCheckable ( const bool  theFlag)

Definition at line 52 of file qgsdetaileditemdata.cpp.

void QgsDetailedItemData::setChecked ( const bool  theFlag)

Definition at line 57 of file qgsdetaileditemdata.cpp.

void QgsDetailedItemData::setDetail ( const QString  theDetail)

Definition at line 37 of file qgsdetaileditemdata.cpp.

void QgsDetailedItemData::setEnabled ( bool  theFlag)

Definition at line 102 of file qgsdetaileditemdata.cpp.

void QgsDetailedItemData::setIcon ( const QPixmap  theIcon)

Definition at line 47 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 62 of file qgsdetaileditemdata.cpp.

void QgsDetailedItemData::setTitle ( const QString  theTitle)

Definition at line 32 of file qgsdetaileditemdata.cpp.

QString QgsDetailedItemData::title ( ) const

Definition at line 67 of file qgsdetaileditemdata.cpp.


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