QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
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 <qgsdetaileditemdata.h>
22 
27 class GUI_EXPORT QgsDetailedItemWidget :
28  public QWidget, private Ui::QgsDetailedItemWidgetBase
29 {
30  Q_OBJECT
31  public:
32  QgsDetailedItemWidget( QWidget * parent = nullptr );
34  void setData( const QgsDetailedItemData& theData );
35  void setChecked( bool theFlag );
36  private:
37  QgsDetailedItemData mData;
38 };
39 
40 #endif //QGSDETAILEDITEMWIDGET_H
This class is the data only representation of a QgsDetailedItemWidget, designed to be used in custom ...
A widget renderer for detailed item views.