17#ifndef QGSDETAILEDITEMDATA_H 
   18#define QGSDETAILEDITEMDATA_H 
   40    void setTitle( 
const QString &title );
 
   46    void setDetail( 
const QString &detail );
 
   52    void setCategory( 
const QString &category );
 
   58    void setIcon( 
const QPixmap &icon );
 
   64    void setCheckable( 
bool flag );
 
   70    void setChecked( 
bool flag );
 
   76    void setEnabled( 
bool flag );
 
   86    void setRenderAsWidget( 
bool flag );
 
   92    QString title() 
const;
 
   98    QString detail() 
const;
 
  104    QString category() 
const;
 
  110    QPixmap icon() 
const;
 
  116    bool isCheckable() 
const;
 
  122    bool isChecked() 
const;
 
  128    bool isEnabled() 
const;
 
  134    bool isRenderedAsWidget() 
const;
 
  140    QString mLibraryName;
 
  142    bool mCheckableFlag = 
false;
 
  143    bool mCheckedFlag = 
false;
 
  144    bool mEnabledFlag = 
true;
 
  145    bool mRenderAsWidgetFlag = 
false;
 
 
The data only representation of a QgsDetailedItemWidget, designed to be used in custom views.
 
QgsDetailedItemData()=default
 
Q_DECLARE_METATYPE(QgsDatabaseQueryLogEntry)