QGIS API Documentation  2.6.0-Brighton
 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 ()
void setTitle (const QString theTitle)
void setDetail (const QString theDetail)
void setCategory (const QString theCategory)
void setIcon (const QPixmap theIcon)
void setCheckable (const bool theFlag)
void setChecked (const bool theFlag)
void setEnabled (bool theFlag)
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.
QString title () const
QString detail () const
QString category () const
QPixmap icon () const
bool isCheckable () const
bool isChecked () const
bool isEnabled () const
bool isRenderedAsWidget () const

Detailed Description

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

Constructor & Destructor Documentation

QgsDetailedItemData::QgsDetailedItemData ( )
QgsDetailedItemData::~QgsDetailedItemData ( )

Member Function Documentation

QString QgsDetailedItemData::category ( ) const
QString QgsDetailedItemData::detail ( ) const
QPixmap QgsDetailedItemData::icon ( ) const
bool QgsDetailedItemData::isCheckable ( ) const
bool QgsDetailedItemData::isChecked ( ) const
bool QgsDetailedItemData::isEnabled ( ) const
bool QgsDetailedItemData::isRenderedAsWidget ( ) const
void QgsDetailedItemData::setCategory ( const QString  theCategory)
void QgsDetailedItemData::setCheckable ( const bool  theFlag)
void QgsDetailedItemData::setChecked ( const bool  theFlag)
void QgsDetailedItemData::setDetail ( const QString  theDetail)
void QgsDetailedItemData::setEnabled ( bool  theFlag)
void QgsDetailedItemData::setIcon ( const QPixmap  theIcon)
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.
void QgsDetailedItemData::setTitle ( const QString  theTitle)
QString QgsDetailedItemData::title ( ) const

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