QGIS API Documentation  3.4.15-Madeira (e83d02e274)
qgsdetaileditemwidget.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgsdetaileditemwidget.h - A rich QItemWidget subclass
3  -------------------
4  begin : Sat May 17 2008
5  copyright : (C) 2008 Tim Sutton
6  email : [email protected]
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 #ifndef QGSDETAILEDITEMWIDGET_H
18 #define QGSDETAILEDITEMWIDGET_H
19 
20 #include "ui_qgsdetaileditemwidgetbase.h"
21 #include "qgis.h"
22 #include "qgsdetaileditemdata.h"
23 #include "qgis_gui.h"
24 
30 class GUI_EXPORT QgsDetailedItemWidget : public QWidget, private Ui::QgsDetailedItemWidgetBase
31 {
32  Q_OBJECT
33  public:
34 
36  QgsDetailedItemWidget( QWidget *parent SIP_TRANSFERTHIS = nullptr );
37  void setData( const QgsDetailedItemData &data );
38  void setChecked( bool flag );
39  private:
40  QgsDetailedItemData mData;
41 };
42 
43 #endif //QGSDETAILEDITEMWIDGET_H
#define SIP_TRANSFERTHIS
Definition: qgis_sip.h:46
This class is the data only representation of a QgsDetailedItemWidget, designed to be used in custom ...
A widget renderer for detailed item views.