QGIS API Documentation  master-6227475
QgsDetailedItemData Class Reference

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

#include <qgsdetaileditemdata.h>

List of all members.

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

Private Attributes

QString mCategory
bool mCheckableFlag
bool mCheckedFlag
QString mDetail
bool mEnabledFlag
QString mLibraryName
QPixmap mPixmap
bool mRenderAsWidgetFlag
QString mTitle

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


Member Function Documentation

Definition at line 104 of file qgsdetaileditemdata.cpp.

References mEnabledFlag.

Referenced by QgsDetailedItemDelegate::paintManually().

void QgsDetailedItemData::setCategory ( const QString  theCategory)

Definition at line 39 of file qgsdetaileditemdata.cpp.

References mCategory.

void QgsDetailedItemData::setCheckable ( const bool  theFlag)

Definition at line 49 of file qgsdetaileditemdata.cpp.

References mCheckableFlag.

void QgsDetailedItemData::setChecked ( const bool  theFlag)

Definition at line 54 of file qgsdetaileditemdata.cpp.

References mCheckedFlag.

void QgsDetailedItemData::setDetail ( const QString  theDetail)

Definition at line 34 of file qgsdetaileditemdata.cpp.

References mDetail.

void QgsDetailedItemData::setEnabled ( bool  theFlag)

Definition at line 99 of file qgsdetaileditemdata.cpp.

References mEnabledFlag.

void QgsDetailedItemData::setIcon ( const QPixmap  theIcon)

Definition at line 44 of file qgsdetaileditemdata.cpp.

References mPixmap.

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.

References mRenderAsWidgetFlag.

void QgsDetailedItemData::setTitle ( const QString  theTitle)

Definition at line 29 of file qgsdetaileditemdata.cpp.

References mTitle.


Member Data Documentation

QString QgsDetailedItemData::mCategory [private]

Definition at line 61 of file qgsdetaileditemdata.h.

Referenced by category(), and setCategory().

Definition at line 64 of file qgsdetaileditemdata.h.

Referenced by isCheckable(), and setCheckable().

Definition at line 65 of file qgsdetaileditemdata.h.

Referenced by isChecked(), and setChecked().

QString QgsDetailedItemData::mDetail [private]

Definition at line 60 of file qgsdetaileditemdata.h.

Referenced by detail(), and setDetail().

Definition at line 66 of file qgsdetaileditemdata.h.

Referenced by isEnabled(), QgsDetailedItemData(), and setEnabled().

Definition at line 62 of file qgsdetaileditemdata.h.

QPixmap QgsDetailedItemData::mPixmap [private]

Definition at line 63 of file qgsdetaileditemdata.h.

Referenced by icon(), and setIcon().

QString QgsDetailedItemData::mTitle [private]

Definition at line 59 of file qgsdetaileditemdata.h.

Referenced by setTitle(), and title().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines