QGIS API Documentation  2.99.0-Master (cb63e82)
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 #include "qgis_gui.h"
23 
28 class GUI_EXPORT QgsDetailedItemWidget :
29  public QWidget, private Ui::QgsDetailedItemWidgetBase
30 {
31  Q_OBJECT
32  public:
33  QgsDetailedItemWidget( QWidget *parent = nullptr );
34  void setData( const QgsDetailedItemData &data );
35  void setChecked( bool flag );
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.