QGIS API Documentation  2.7.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules 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. 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.

QgsDetailedItemData::~QgsDetailedItemData ( )

Definition at line 25 of file qgsdetaileditemdata.cpp.

Member Function Documentation

QString QgsDetailedItemData::category ( ) const

Definition at line 74 of file qgsdetaileditemdata.cpp.

QString QgsDetailedItemData::detail ( ) const

Definition at line 69 of file qgsdetaileditemdata.cpp.

QPixmap QgsDetailedItemData::icon ( ) const

Definition at line 79 of file qgsdetaileditemdata.cpp.

bool QgsDetailedItemData::isCheckable ( ) const

Definition at line 84 of file qgsdetaileditemdata.cpp.

bool QgsDetailedItemData::isChecked ( ) const

Definition at line 89 of file qgsdetaileditemdata.cpp.

bool QgsDetailedItemData::isEnabled ( ) const

Definition at line 104 of file qgsdetaileditemdata.cpp.

bool QgsDetailedItemData::isRenderedAsWidget ( ) const

Definition at line 94 of file qgsdetaileditemdata.cpp.

void QgsDetailedItemData::setCategory ( const QString  theCategory)

Definition at line 39 of file qgsdetaileditemdata.cpp.

void QgsDetailedItemData::setCheckable ( const bool  theFlag)

Definition at line 49 of file qgsdetaileditemdata.cpp.

void QgsDetailedItemData::setChecked ( const bool  theFlag)

Definition at line 54 of file qgsdetaileditemdata.cpp.

void QgsDetailedItemData::setDetail ( const QString  theDetail)

Definition at line 34 of file qgsdetaileditemdata.cpp.

void QgsDetailedItemData::setEnabled ( bool  theFlag)

Definition at line 99 of file qgsdetaileditemdata.cpp.

void QgsDetailedItemData::setIcon ( const QPixmap  theIcon)

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

void QgsDetailedItemData::setTitle ( const QString  theTitle)

Definition at line 29 of file qgsdetaileditemdata.cpp.

QString QgsDetailedItemData::title ( ) const

Definition at line 64 of file qgsdetaileditemdata.cpp.


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