|
QGIS API Documentation
3.0.2-Girona (307d082)
|
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 ()=default | |
| Constructor for QgsDetailedItemData. More... | |
| 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 &category) |
| void | setCheckable (const bool flag) |
| void | setChecked (const bool flag) |
| void | setDetail (const QString &detail) |
| void | setEnabled (bool flag) |
| void | setIcon (const QPixmap &icon) |
| void | setRenderAsWidget (bool flag) |
| 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 &title) |
| QString | title () const |
This class is the data only representation of a QgsDetailedItemWidget, designed to be used in custom views.
Definition at line 31 of file qgsdetaileditemdata.h.
|
default |
Constructor for QgsDetailedItemData.
| QString QgsDetailedItemData::category | ( | ) | const |
Definition at line 65 of file qgsdetaileditemdata.cpp.
| QString QgsDetailedItemData::detail | ( | ) | const |
Definition at line 60 of file qgsdetaileditemdata.cpp.
| QPixmap QgsDetailedItemData::icon | ( | ) | const |
Definition at line 70 of file qgsdetaileditemdata.cpp.
| bool QgsDetailedItemData::isCheckable | ( | ) | const |
Definition at line 75 of file qgsdetaileditemdata.cpp.
| bool QgsDetailedItemData::isChecked | ( | ) | const |
Definition at line 80 of file qgsdetaileditemdata.cpp.
| bool QgsDetailedItemData::isEnabled | ( | ) | const |
Definition at line 95 of file qgsdetaileditemdata.cpp.
| bool QgsDetailedItemData::isRenderedAsWidget | ( | ) | const |
Definition at line 85 of file qgsdetaileditemdata.cpp.
| void QgsDetailedItemData::setCategory | ( | const QString & | category | ) |
Definition at line 30 of file qgsdetaileditemdata.cpp.
| void QgsDetailedItemData::setCheckable | ( | const bool | flag | ) |
Definition at line 40 of file qgsdetaileditemdata.cpp.
| void QgsDetailedItemData::setChecked | ( | const bool | flag | ) |
Definition at line 45 of file qgsdetaileditemdata.cpp.
| void QgsDetailedItemData::setDetail | ( | const QString & | detail | ) |
Definition at line 25 of file qgsdetaileditemdata.cpp.
| void QgsDetailedItemData::setEnabled | ( | bool | flag | ) |
Definition at line 90 of file qgsdetaileditemdata.cpp.
| void QgsDetailedItemData::setIcon | ( | const QPixmap & | icon | ) |
Definition at line 35 of file qgsdetaileditemdata.cpp.
| void QgsDetailedItemData::setRenderAsWidget | ( | bool | flag | ) |
This is a hint to the delegate to render using a widget rather than manually painting every part of the list item.
Definition at line 50 of file qgsdetaileditemdata.cpp.
| void QgsDetailedItemData::setTitle | ( | const QString & | title | ) |
Definition at line 20 of file qgsdetaileditemdata.cpp.
| QString QgsDetailedItemData::title | ( | ) | const |
Definition at line 55 of file qgsdetaileditemdata.cpp.
1.8.13