Custom QAbstractItemView must implement functions

Custom Inherits QAbstractItemView must implement functions:
public:
QModelIndex indexAt(const QPoint &point) const;*
void scrollTo(const QModelIndex &index,ScrollHint hint=EnsureVisible);*
QRect visualRect(const QModelIndex &index)const;*

protected:
int horizontalOffset() const;*
bool isIndexHidden(const QModelIndex &index)const;*
QModelIndex moveCursor(CursorAction cursorAction,Qt::keyboardModifiers modifiers);*
void setSelection(const QRect &rect,QItemSelectionModel::SelectionFlags flags);*
int verticalOffset() const;*
QRegion visualRegionForSelection(const QItemSelect &selection) const;*


posted @ 2011-11-07 10:58  Podevor  阅读(318)  评论(0编辑  收藏  举报