|
QGIS API Documentation
3.4.15-Madeira (e83d02e274)
|
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 |
| Returns the item's category. More... | |
| QString | detail () const |
| Returns the detailed description for the item. More... | |
| QPixmap | icon () const |
| Returns the item's icon. More... | |
| bool | isCheckable () const |
| Returns true if the item is checkable. More... | |
| bool | isChecked () const |
| Returns true if the item is checked. More... | |
| bool | isEnabled () const |
| Returns true if the item is enabled. More... | |
| bool | isRenderedAsWidget () const |
| Returns true if the item will be rendered using a widget. More... | |
| void | setCategory (const QString &category) |
| Sets the item's category. More... | |
| void | setCheckable (bool flag) |
| Sets whether the item is checkable. More... | |
| void | setChecked (bool flag) |
| Sets whether the item is checked. More... | |
| void | setDetail (const QString &detail) |
| Sets the detailed description for the item. More... | |
| void | setEnabled (bool flag) |
| Sets whether the item is enabled. More... | |
| void | setIcon (const QPixmap &icon) |
| Sets the item's icon. More... | |
| 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) |
| Sets the title for the item. More... | |
| QString | title () const |
| Returns the item's title. More... | |
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 |
Returns the item's category.
Definition at line 65 of file qgsdetaileditemdata.cpp.
| QString QgsDetailedItemData::detail | ( | ) | const |
Returns the detailed description for the item.
Definition at line 60 of file qgsdetaileditemdata.cpp.
| QPixmap QgsDetailedItemData::icon | ( | ) | const |
| bool QgsDetailedItemData::isCheckable | ( | ) | const |
Returns true if the item is checkable.
Definition at line 75 of file qgsdetaileditemdata.cpp.
| bool QgsDetailedItemData::isChecked | ( | ) | const |
Returns true if the item is checked.
Definition at line 80 of file qgsdetaileditemdata.cpp.
| bool QgsDetailedItemData::isEnabled | ( | ) | const |
Returns true if the item is enabled.
Definition at line 95 of file qgsdetaileditemdata.cpp.
| bool QgsDetailedItemData::isRenderedAsWidget | ( | ) | const |
Returns true if the item will be rendered using a widget.
Definition at line 85 of file qgsdetaileditemdata.cpp.
| void QgsDetailedItemData::setCategory | ( | const QString & | category | ) |
| void QgsDetailedItemData::setCheckable | ( | bool | flag | ) |
Sets whether the item is checkable.
Definition at line 40 of file qgsdetaileditemdata.cpp.
| void QgsDetailedItemData::setChecked | ( | bool | flag | ) |
Sets whether the item is checked.
Definition at line 45 of file qgsdetaileditemdata.cpp.
| void QgsDetailedItemData::setDetail | ( | const QString & | detail | ) |
Sets the detailed description for the item.
Definition at line 25 of file qgsdetaileditemdata.cpp.
| void QgsDetailedItemData::setEnabled | ( | bool | flag | ) |
Sets whether the item is enabled.
Definition at line 90 of file qgsdetaileditemdata.cpp.
| void QgsDetailedItemData::setIcon | ( | const QPixmap & | icon | ) |
| 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 | ) |
| QString QgsDetailedItemData::title | ( | ) | const |
1.8.11