|
| QTreeViewPrivate () |
| ~QTreeViewPrivate () |
void | initialize () |
void | clearConnections () |
int | logicalIndexForTree () const |
bool | isTreePosition (int logicalIndex) const |
QItemViewPaintPairs | draggablePaintPairs (const QModelIndexList &indexes, QRect *r) const override |
| \reimp
|
void | adjustViewOptionsForIndex (QStyleOptionViewItem *option, const QModelIndex ¤t) const override |
void | expand (int item, bool emitSignal) |
void | collapse (int item, bool emitSignal) |
void | columnsAboutToBeRemoved (const QModelIndex &, int, int) override |
void | columnsRemoved (const QModelIndex &, int, int) override |
void | modelAboutToBeReset () |
void | sortIndicatorChanged (int column, Qt::SortOrder order) |
void | modelDestroyed () override |
QRect | intersectedRect (const QRect rect, const QModelIndex &topLeft, const QModelIndex &bottomRight) const override |
void | layout (int item, bool recusiveExpanding=false, bool afterIsUninitialized=false) |
int | pageUp (int item) const |
int | pageDown (int item) const |
int | itemForKeyHome () const |
int | itemForKeyEnd () const |
int | itemHeight (int item) const |
int | indentationForItem (int item) const |
int | coordinateForItem (int item) const |
int | itemAtCoordinate (int coordinate) const |
int | viewIndex (const QModelIndex &index) const |
QModelIndex | modelIndex (int i, int column=0) const |
void | insertViewItems (int pos, int count, const QTreeViewItem &viewItem) |
void | removeViewItems (int pos, int count) |
int | firstVisibleItem (int *offset=nullptr) const |
int | lastVisibleItem (int firstVisual=-1, int offset=-1) const |
int | columnAt (int x) const |
bool | hasVisibleChildren (const QModelIndex &parent) const |
bool | expandOrCollapseItemAtPos (const QPoint &pos) |
void | updateScrollBars () |
int | itemDecorationAt (const QPoint &pos) const |
QRect | itemDecorationRect (const QModelIndex &index) const |
QList< std::pair< int, int > > | columnRanges (const QModelIndex &topIndex, const QModelIndex &bottomIndex) const |
void | select (const QModelIndex &start, const QModelIndex &stop, QItemSelectionModel::SelectionFlags command) |
std::pair< int, int > | startAndEndColumns (const QRect &rect) const |
void | updateChildCount (const int parentItem, const int delta) |
void | paintAlternatingRowColors (QPainter *painter, QStyleOptionViewItem *option, int y, int bottom) const |
void | calcLogicalIndices (QList< int > *logicalIndices, QList< QStyleOptionViewItem::ViewItemPosition > *itemPositions, int left, int right) const |
int | widthHintForIndex (const QModelIndex &index, int hint, const QStyleOptionViewItem &option, int i) const |
QRect | visualRect (const QModelIndex &index) const override |
QRect | visualRect (const QModelIndex &index, RectRule rule) const |
bool | storeExpanded (const QPersistentModelIndex &idx) |
bool | isIndexExpanded (const QModelIndex &idx) const |
bool | isRowHidden (const QModelIndex &idx) const |
bool | isItemHiddenOrDisabled (int i) const |
int | above (int item) const |
int | below (int item) const |
void | invalidateHeightCache (int item) const |
int | accessibleTable2Index (const QModelIndex &index) const |
int | accessibleTree2Index (const QModelIndex &index) const |
void | updateIndentationFromStyle () |
void | updateAccessibility () |
| QAbstractItemViewPrivate () |
virtual | ~QAbstractItemViewPrivate () |
void | init () |
virtual void | rowsRemoved (const QModelIndex &parent, int start, int end) |
virtual void | rowsInserted (const QModelIndex &parent, int start, int end) |
virtual void | columnsInserted (const QModelIndex &parent, int start, int end) |
virtual void | layoutChanged () |
virtual void | rowsMoved (const QModelIndex &source, int sourceStart, int sourceEnd, const QModelIndex &destination, int destinationStart) |
virtual void | columnsMoved (const QModelIndex &source, int sourceStart, int sourceEnd, const QModelIndex &destination, int destinationStart) |
void | headerDataChanged () |
void | scrollerStateChanged () |
void | delegateSizeHintChanged (const QModelIndex &index) |
void | fetchMore () |
bool | shouldEdit (QAbstractItemView::EditTrigger trigger, const QModelIndex &index) const |
bool | shouldForwardEvent (QAbstractItemView::EditTrigger trigger, const QEvent *event) const |
bool | shouldAutoScroll (const QPoint &pos) const |
void | doDelayedItemsLayout (int delay=0) |
void | interruptDelayedItemsLayout () const |
void | updateGeometry () |
void | startAutoScroll () |
void | stopAutoScroll () |
bool | droppingOnItself (QDropEvent *event, const QModelIndex &index) |
QWidget * | editor (const QModelIndex &index, const QStyleOptionViewItem &options) |
bool | sendDelegateEvent (const QModelIndex &index, QEvent *event) const |
bool | openEditor (const QModelIndex &index, QEvent *event) |
void | updateEditorData (const QModelIndex &topLeft, const QModelIndex &bottomRight) |
void | selectAllInEditor (QWidget *w) |
QItemSelectionModel::SelectionFlags | multiSelectionCommand (const QModelIndex &index, const QEvent *event) const |
QItemSelectionModel::SelectionFlags | extendedSelectionCommand (const QModelIndex &index, const QEvent *event) const |
QItemSelectionModel::SelectionFlags | contiguousSelectionCommand (const QModelIndex &index, const QEvent *event) const |
virtual void | selectAll (QItemSelectionModel::SelectionFlags command) |
void | setHoverIndex (const QPersistentModelIndex &index) |
void | checkMouseMove (const QPersistentModelIndex &index) |
void | checkMouseMove (const QPoint &pos) |
QItemSelectionModel::SelectionFlags | selectionBehaviorFlags () const |
void | releaseEditor (QWidget *editor, const QModelIndex &index=QModelIndex()) const |
void | executePostedLayout () const |
void | setDirtyRegion (const QRegion &visualRegion) |
void | scrollDirtyRegion (int dx, int dy) |
void | scrollContentsBy (int dx, int dy) |
void | updateDirtyRegion () |
void | clearOrRemove () |
void | checkPersistentEditorFocus () |
QPixmap | renderToPixmap (const QModelIndexList &indexes, QRect *r) const |
QPoint | offset () const |
const QEditorInfo & | editorForIndex (const QModelIndex &index) const |
bool | hasEditor (const QModelIndex &index) const |
QModelIndex | indexForEditor (QWidget *editor) const |
void | addEditor (const QModelIndex &index, QWidget *editor, bool isStatic) |
void | removeEditor (QWidget *editor) |
bool | isAnimating () const |
bool | isIndexValid (const QModelIndex &index) const |
bool | isIndexSelectable (const QModelIndex &index) const |
bool | isIndexEnabled (const QModelIndex &index) const |
virtual bool | selectionAllowed (const QModelIndex &index) const |
QPoint | contentsOffset () const override |
int | delegateRefCount (const QAbstractItemDelegate *delegate) const |
bool | isPersistent (const QModelIndex &index) const |
void | doDelayedReset () |
Definition at line 52 of file qtreeview_p.h.