property_delegate.h

Go to the documentation of this file.
00001 
00023 #ifndef PROPERTY_DELEGATE_H
00024 #define PROPERTY_DELEGATE_H
00025 
00026 #include <QItemDelegate>
00027 #include "property_data.h"
00028 
00029 class PropertyDelegate : public QItemDelegate
00030 {
00031  public:
00032         PropertyDelegate(QObject* parent=0);
00033 
00034         QWidget *createEditor(QWidget*, const QStyleOptionViewItem&, const QModelIndex&) const;
00035         void setEditorData(QWidget*, const QModelIndex&) const;
00036         void setModelData(QWidget*, QAbstractItemModel*, const QModelIndex&) const;
00037         void updateEditorGeometry(QWidget*, const QStyleOptionViewItem&, const QModelIndex&)const;
00038 };
00039 
00040 #endif

Generated on Thu Apr 5 13:06:31 2007 for LCDBuilder by  doxygen 1.4.7