1 #ifndef QTSCRIPTSHELL_QUNDOVIEW_H
2 #define QTSCRIPTSHELL_QUNDOVIEW_H
6 #include <QtScript/qscriptvalue.h>
19 void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint);
23 void currentChanged(
const QModelIndex& current,
const QModelIndex& previous);
25 void dataChanged(
const QModelIndex& topLeft,
const QModelIndex& bottomRight);
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;
65 void rowsInserted(
const QModelIndex& parent,
int start,
int end);
67 void scrollTo(
const QModelIndex& index, QAbstractItemView::ScrollHint hint);
70 void selectionChanged(
const QItemSelection& selected,
const QItemSelection& deselected);
71 QItemSelectionModel::SelectionFlags
selectionCommand(
const QModelIndex& index,
const QEvent* event)
const;
72 void setModel(QAbstractItemModel* model);
74 void setSelection(
const QRect& rect, QItemSelectionModel::SelectionFlags command);
79 void startDrag(Qt::DropActions supportedActions);
90 QRect
visualRect(
const QModelIndex& index)
const;
97 #endif // QTSCRIPTSHELL_QUNDOVIEW_H