Quantum GIS API Documentation
1.7.4
|
00001 /*************************************************************************** 00002 qgsdetaileditemwidget.h - A rich QItemWidget subclass 00003 ------------------- 00004 begin : Sat May 17 2008 00005 copyright : (C) 2008 Tim Sutton 00006 email : tim@linfiniti.com 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 /* $Id:$ */ 00018 #ifndef QGSDETAILEDITEMWIDGET_H 00019 #define QGSDETAILEDITEMWIDGET_H 00020 00021 #include <ui_qgsdetaileditemwidgetbase.h> 00022 #include <qgsdetaileditemdata.h> 00023 00028 class QgsDetailedItemWidget : 00029 public QWidget, private Ui::QgsDetailedItemWidgetBase 00030 { 00031 Q_OBJECT 00032 public: 00033 QgsDetailedItemWidget( QWidget * parent = 0 ); 00034 ~QgsDetailedItemWidget(); 00035 void setData( QgsDetailedItemData theData ); 00036 void setChecked( bool theFlag ); 00037 private: 00038 QgsDetailedItemData mData; 00039 }; 00040 00041 #endif //QGSDETAILEDITEMWIDGET_H