1 #ifndef QTSCRIPTSHELL_QHEADERVIEW_H
2 #define QTSCRIPTSHELL_QHEADERVIEW_H
4 #include <qheaderview.h>
6 #include <QtScript/qscriptvalue.h>
17 void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint);
21 void currentChanged(
const QModelIndex& current,
const QModelIndex& old);
23 void dataChanged(
const QModelIndex& topLeft,
const QModelIndex& bottomRight);
30 bool edit(
const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event);
33 bool event(QEvent* e);
43 QModelIndex
indexAt(
const QPoint& p)
const;
52 int metric(QPaintDevice::PaintDeviceMetric arg__1)
const;
60 void paintSection(QPainter* painter,
const QRect& rect,
int logicalIndex)
const;
64 void rowsInserted(
const QModelIndex& parent,
int start,
int end);
66 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 flags);
79 void startDrag(Qt::DropActions supportedActions);
90 QRect
visualRect(
const QModelIndex& index)
const;
97 #endif // QTSCRIPTSHELL_QHEADERVIEW_H