17 #ifndef QGSDETAILEDITEMDATA_H 18 #define QGSDETAILEDITEMDATA_H 44 void setTitle(
const QString &title );
50 void setDetail(
const QString &detail );
56 void setCategory(
const QString &category );
62 void setIcon(
const QPixmap &icon );
68 void setCheckable(
bool flag );
74 void setChecked(
bool flag );
80 void setEnabled(
bool flag );
90 void setRenderAsWidget(
bool flag );
96 QString title()
const;
102 QString detail()
const;
108 QString category()
const;
114 QPixmap icon()
const;
120 bool isCheckable()
const;
126 bool isChecked()
const;
132 bool isEnabled()
const;
138 bool isRenderedAsWidget()
const;
144 QString mLibraryName;
146 bool mCheckableFlag =
false;
147 bool mCheckedFlag =
false;
148 bool mEnabledFlag =
true;
149 bool mRenderAsWidgetFlag =
false;
155 #endif //QGSDETAILEDITEMDATA_H This class is the data only representation of a QgsDetailedItemWidget, designed to be used in custom ...
Q_DECLARE_METATYPE(QModelIndex)