17#ifndef QGSDETAILEDITEMDATA_H
18#define QGSDETAILEDITEMDATA_H
41 void setTitle(
const QString &title );
47 void setDetail(
const QString &detail );
53 void setCategory(
const QString &category );
59 void setIcon(
const QPixmap &icon );
65 void setCheckable(
bool flag );
71 void setChecked(
bool flag );
77 void setEnabled(
bool flag );
87 void setRenderAsWidget(
bool flag );
93 QString title()
const;
99 QString detail()
const;
105 QString category()
const;
111 QPixmap icon()
const;
117 bool isCheckable()
const;
123 bool isChecked()
const;
129 bool isEnabled()
const;
135 bool isRenderedAsWidget()
const;
141 QString mLibraryName;
143 bool mCheckableFlag =
false;
144 bool mCheckedFlag =
false;
145 bool mEnabledFlag =
true;
146 bool mRenderAsWidgetFlag =
false;
This class is the data only representation of a QgsDetailedItemWidget, designed to be used in custom ...
QgsDetailedItemData()=default
Q_DECLARE_METATYPE(QgsDatabaseQueryLogEntry)