1 #ifndef QTSCRIPTSHELL_QCOLUMNVIEW_H
2 #define QTSCRIPTSHELL_QCOLUMNVIEW_H
4 #include <qcolumnview.h>
6 #include <QtScript/qscriptvalue.h>
17 void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint);
21 QAbstractItemView*
createColumn(
const QModelIndex& rootIndex);
22 void currentChanged(
const QModelIndex& current,
const QModelIndex& previous);
24 void dataChanged(
const QModelIndex& topLeft,
const QModelIndex& bottomRight);
31 bool edit(
const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent*
event);
44 QModelIndex
indexAt(
const QPoint& point)
const;
53 int metric(QPaintDevice::PaintDeviceMetric arg__1)
const;
64 void rowsInserted(
const QModelIndex& parent,
int start,
int end);
66 void scrollTo(
const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible);
69 void selectionChanged(
const QItemSelection& selected,
const QItemSelection& deselected);
70 QItemSelectionModel::SelectionFlags
selectionCommand(
const QModelIndex& index,
const QEvent*
event)
const;
71 void setModel(QAbstractItemModel* model);
73 void setSelection(
const QRect& rect, QItemSelectionModel::SelectionFlags command);
78 void startDrag(Qt::DropActions supportedActions);
89 QRect
visualRect(
const QModelIndex& index)
const;
96 #endif // QTSCRIPTSHELL_QCOLUMNVIEW_H