1 #ifndef QTSCRIPTSHELL_QTABLEWIDGET_H
2 #define QTSCRIPTSHELL_QTABLEWIDGET_H
4 #include <qtablewidget.h>
6 #include <QtScript/qscriptvalue.h>
18 void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint);
22 void currentChanged(
const QModelIndex& current,
const QModelIndex& previous);
24 void dataChanged(
const QModelIndex& topLeft,
const QModelIndex& bottomRight);
31 bool dropMimeData(
int row,
int column,
const QMimeData* data, Qt::DropAction action);
32 bool edit(
const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event);
35 bool event(QEvent* e);
45 QModelIndex
indexAt(
const QPoint& p)
const;
54 int metric(QPaintDevice::PaintDeviceMetric arg__1)
const;
66 void rowsInserted(
const QModelIndex& parent,
int start,
int end);
68 void scrollTo(
const QModelIndex& index, QAbstractItemView::ScrollHint hint);
71 void selectionChanged(
const QItemSelection& selected,
const QItemSelection& deselected);
72 QItemSelectionModel::SelectionFlags
selectionCommand(
const QModelIndex& index,
const QEvent* event)
const;
74 void setSelection(
const QRect& rect, QItemSelectionModel::SelectionFlags command);
79 void startDrag(Qt::DropActions supportedActions);
91 QRect
visualRect(
const QModelIndex& index)
const;
98 #endif // QTSCRIPTSHELL_QTABLEWIDGET_H