Quantum GIS API Documentation
1.8
|
00001 /*************************************************************************** 00002 qgsdetaileditemwidget.h - A rich QItemWidget subclass 00003 ------------------- 00004 begin : Sat May 17 2008 00005 copyright : (C) 2008 Tim Sutton 00006 email : [email protected] 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 #ifndef QGSDETAILEDITEMWIDGET_H 00018 #define QGSDETAILEDITEMWIDGET_H 00019 00020 #include <ui_qgsdetaileditemwidgetbase.h> 00021 #include <qgsdetaileditemdata.h> 00022 00027 class QgsDetailedItemWidget : 00028 public QWidget, private Ui::QgsDetailedItemWidgetBase 00029 { 00030 Q_OBJECT 00031 public: 00032 QgsDetailedItemWidget( QWidget * parent = 0 ); 00033 ~QgsDetailedItemWidget(); 00034 void setData( QgsDetailedItemData theData ); 00035 void setChecked( bool theFlag ); 00036 private: 00037 QgsDetailedItemData mData; 00038 }; 00039 00040 #endif //QGSDETAILEDITEMWIDGET_H