QGIS API Documentation  2.6.0-Brighton
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 = 0 );
34  void setData( QgsDetailedItemData theData );
35  void setChecked( bool theFlag );
36  private:
37  QgsDetailedItemData mData;
38 };
39 
40 #endif //QGSDETAILEDITEMWIDGET_H