1
/*****************************************************************
2
* Unipro UGENE - Integrated Bioinformatics Suite
3
* Copyright (C) 2008 Unipro, Russia (http://ugene.unipro.ru)
6
* This source code is distributed under the terms of the
7
* GNU General Public License. See the files COPYING and LICENSE
9
*****************************************************************/
11
#ifndef QTSCRIPTSHELL_QTABLEWIDGET_H
12
#define QTSCRIPTSHELL_QTABLEWIDGET_H
14
#include <qtablewidget.h>
16
#include <QtScript/qscriptvalue.h>
18
class QtScriptShell_QTableWidget : public QTableWidget
21
QtScriptShell_QTableWidget(QWidget* parent = 0);
22
QtScriptShell_QTableWidget(int rows, int columns, QWidget* parent = 0);
23
~QtScriptShell_QTableWidget();
25
void actionEvent(QActionEvent* arg__1);
26
void changeEvent(QEvent* arg__1);
27
void childEvent(QChildEvent* arg__1);
28
void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint);
29
void closeEvent(QCloseEvent* arg__1);
30
void commitData(QWidget* editor);
31
void contextMenuEvent(QContextMenuEvent* arg__1);
32
void currentChanged(const QModelIndex& current, const QModelIndex& previous);
33
void customEvent(QEvent* arg__1);
34
void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight);
37
void dragEnterEvent(QDragEnterEvent* event);
38
void dragLeaveEvent(QDragLeaveEvent* event);
39
void dragMoveEvent(QDragMoveEvent* event);
40
void dropEvent(QDropEvent* event);
41
bool dropMimeData(int row, int column, const QMimeData* data, Qt::DropAction action);
42
bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event);
43
void editorDestroyed(QObject* editor);
44
void enterEvent(QEvent* arg__1);
45
bool event(QEvent* e);
46
bool eventFilter(QObject* arg__1, QEvent* arg__2);
47
void focusInEvent(QFocusEvent* event);
48
bool focusNextPrevChild(bool next);
49
void focusOutEvent(QFocusEvent* event);
50
int heightForWidth(int arg__1) const;
51
void hideEvent(QHideEvent* arg__1);
52
int horizontalOffset() const;
53
void horizontalScrollbarAction(int action);
54
void horizontalScrollbarValueChanged(int value);
55
QModelIndex indexAt(const QPoint& p) const;
56
void inputMethodEvent(QInputMethodEvent* event);
57
QVariant inputMethodQuery(Qt::InputMethodQuery query) const;
58
bool isIndexHidden(const QModelIndex& index) const;
59
void keyPressEvent(QKeyEvent* event);
60
void keyReleaseEvent(QKeyEvent* arg__1);
61
void keyboardSearch(const QString& search);
62
void languageChange();
63
void leaveEvent(QEvent* arg__1);
64
int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
65
QStringList mimeTypes() const;
66
void mouseDoubleClickEvent(QMouseEvent* event);
67
void mouseMoveEvent(QMouseEvent* event);
68
void mousePressEvent(QMouseEvent* event);
69
void mouseReleaseEvent(QMouseEvent* event);
70
void moveEvent(QMoveEvent* arg__1);
71
QPaintEngine* paintEngine() const;
72
void paintEvent(QPaintEvent* e);
74
void resizeEvent(QResizeEvent* event);
75
void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end);
76
void rowsInserted(const QModelIndex& parent, int start, int end);
77
void scrollContentsBy(int dx, int dy);
78
void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint);
80
QList<QModelIndex > selectedIndexes() const;
81
void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected);
82
QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event) const;
83
void setRootIndex(const QModelIndex& index);
84
void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command);
85
void setSelectionModel(QItemSelectionModel* selectionModel);
86
void showEvent(QShowEvent* arg__1);
87
int sizeHintForColumn(int column) const;
88
int sizeHintForRow(int row) const;
89
void startDrag(Qt::DropActions supportedActions);
90
Qt::DropActions supportedDropActions() const;
91
void tabletEvent(QTabletEvent* arg__1);
92
void timerEvent(QTimerEvent* event);
93
void updateEditorData();
94
void updateEditorGeometries();
95
void updateGeometries();
96
int verticalOffset() const;
97
void verticalScrollbarAction(int action);
98
void verticalScrollbarValueChanged(int value);
99
QStyleOptionViewItem viewOptions() const;
100
bool viewportEvent(QEvent* event);
101
QRect visualRect(const QModelIndex& index) const;
102
QRegion visualRegionForSelection(const QItemSelection& selection) const;
103
void wheelEvent(QWheelEvent* arg__1);
105
QScriptValue __qtscript_self;
108
#endif // QTSCRIPTSHELL_QTABLEWIDGET_H