QCAD Application Framework
CAD Application Development and Automation.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
qtscriptshell_QItemDelegate.h
Go to the documentation of this file.
1 #ifndef QTSCRIPTSHELL_QITEMDELEGATE_H
2 #define QTSCRIPTSHELL_QITEMDELEGATE_H
3 
4 #include <qitemdelegate.h>
5 
6 #include <QtScript/qscriptvalue.h>
7 
8 class QtScriptShell_QItemDelegate : public QItemDelegate
9 {
10 public:
11  QtScriptShell_QItemDelegate(QObject* parent = 0);
13 
14  void childEvent(QChildEvent* arg__1);
15  QWidget* createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const;
16  void customEvent(QEvent* arg__1);
17  void drawCheck(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, Qt::CheckState state) const;
18  void drawDecoration(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QPixmap& pixmap) const;
19  void drawDisplay(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QString& text) const;
20  void drawFocus(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect) const;
21  bool editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index);
22  bool event(QEvent* arg__1);
23  bool eventFilter(QObject* object, QEvent* event);
24  void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const;
25  void setEditorData(QWidget* editor, const QModelIndex& index) const;
26  void setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const;
27  QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const;
28  void timerEvent(QTimerEvent* arg__1);
29  void updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const;
30 
31  QScriptValue __qtscript_self;
32 };
33 
34 #endif // QTSCRIPTSHELL_QITEMDELEGATE_H