Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QColumnViewPrivate Class Reference

#include <qcolumnview_p.h>

Inheritance diagram for QColumnViewPrivate:
Collaboration diagram for QColumnViewPrivate:

Public Types

using ViewConnections = std::vector<QMetaObject::Connection>

Public Member Functions

 QColumnViewPrivate ()
 ~QColumnViewPrivate ()
void initialize ()
void clearConnections ()
QAbstractItemViewcreateColumn (const QModelIndex &index, bool show)
void updateScrollbars ()
void closeColumns (const QModelIndex &parent=QModelIndex(), bool build=false)
void disconnectView (QAbstractItemView *view)
void doLayout ()
void setPreviewWidget (QWidget *widget)
QColumnViewPreviewColumncreatePreviewColumn ()
void checkColumnCreation (const QModelIndex &parent)
void gripMoved (int offset)
void changeCurrentColumn ()
void clicked (const QModelIndex &index)
void columnsInserted (const QModelIndex &parent, int start, int end) override
Public Member Functions inherited from QAbstractItemViewPrivate
 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 columnsAboutToBeRemoved (const QModelIndex &parent, int start, int end)
virtual void columnsRemoved (const QModelIndex &parent, int start, int end)
virtual void modelDestroyed ()
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)
virtual QRect intersectedRect (const QRect rect, const QModelIndex &topLeft, const QModelIndex &bottomRight) const
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)
QWidgeteditor (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
virtual QItemViewPaintPairs draggablePaintPairs (const QModelIndexList &indexes, QRect *r) const
virtual void adjustViewOptionsForIndex (QStyleOptionViewItem *, const QModelIndex &) 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 QEditorInfoeditorForIndex (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 ()
virtual QRect visualRect (const QModelIndex &index) const

Public Attributes

QList< QAbstractItemView * > columns
QList< int > columnSizes
bool showResizeGrips
bool showPreviewColumn
int offset
std::vector< QMetaObject::ConnectiongripConnections
QHash< QAbstractItemView *, ViewConnectionsviewConnections
QWidgetpreviewWidget
QAbstractItemViewpreviewColumn
Public Attributes inherited from QAbstractItemViewPrivate
QAbstractItemModelmodel
QPointer< QAbstractItemDelegateitemDelegate
QMap< int, QPointer< QAbstractItemDelegate > > rowDelegates
QMap< int, QPointer< QAbstractItemDelegate > > columnDelegates
QPointer< QItemSelectionModelselectionModel
QItemSelectionModel::SelectionFlag ctrlDragSelectionFlag
bool noSelectionOnMousePress
QAbstractItemView::SelectionMode selectionMode
QAbstractItemView::SelectionBehavior selectionBehavior
QEditorIndexHash editorIndexHash
QIndexEditorHash indexEditorHash
QSet< QWidget * > persistent
QWidgetcurrentlyCommittingEditor
QBasicTimer pressClosedEditorWatcher
QPersistentModelIndex lastEditedIndex
bool pressClosedEditor
bool waitForIMCommit
QPersistentModelIndex enteredIndex
QPersistentModelIndex pressedIndex
QPersistentModelIndex currentSelectionStartIndex
Qt::KeyboardModifiers pressedModifiers
QPoint pressedPosition
QPoint draggedPosition
QPoint draggedPositionOffset
bool pressedAlreadySelected
bool releaseFromDoubleClick
bool viewportEnteredNeeded
QAbstractItemView::State state
QAbstractItemView::State stateBeforeAnimation
QAbstractItemView::EditTriggers editTriggers
QAbstractItemView::EditTrigger lastTrigger
QPersistentModelIndex root
QPersistentModelIndex hover
bool tabKeyNavigation
QString keyboardInput
QElapsedTimer keyboardInputTime
bool autoScroll
QBasicTimer autoScrollTimer
int autoScrollMargin
int autoScrollCount
bool shouldScrollToCurrentOnShow
bool shouldClearStatusTip
bool alternatingColors
QSize iconSize
Qt::TextElideMode textElideMode
QRegion updateRegion
QPoint scrollDelayOffset
QBasicTimer updateTimer
QBasicTimer delayedEditing
QBasicTimer delayedAutoScroll
QBasicTimer delayedReset
QAbstractItemView::ScrollMode verticalScrollMode
QAbstractItemView::ScrollMode horizontalScrollMode
QItemSelection oldSelection
QModelIndex oldCurrent
bool currentIndexSet
bool wrapItemText
bool delayedPendingLayout
bool moveCursorUpdatedView
bool verticalScrollModeSet
bool horizontalScrollModeSet
int updateThreshold
std::array< QMetaObject::Connection, 14 > modelConnections
std::array< QMetaObject::Connection, 4 > scrollbarConnections

Detailed Description

Definition at line 115 of file qcolumnview_p.h.

Member Typedef Documentation

◆ ViewConnections

Definition at line 151 of file qcolumnview_p.h.

Constructor & Destructor Documentation

◆ QColumnViewPrivate()

QColumnViewPrivate::QColumnViewPrivate ( )

◆ ~QColumnViewPrivate()

QColumnViewPrivate::~QColumnViewPrivate ( )

Member Function Documentation

◆ changeCurrentColumn()

void QColumnViewPrivate::changeCurrentColumn ( )

◆ checkColumnCreation()

void QColumnViewPrivate::checkColumnCreation ( const QModelIndex & parent)

◆ clearConnections()

void QColumnViewPrivate::clearConnections ( )

◆ clicked()

void QColumnViewPrivate::clicked ( const QModelIndex & index)

◆ closeColumns()

void QColumnViewPrivate::closeColumns ( const QModelIndex & parent = QModelIndex(),
bool build = false )

◆ columnsInserted()

void QColumnViewPrivate::columnsInserted ( const QModelIndex & index,
int start,
int end )
overridevirtual

This slot is called when columns have been inserted.

Reimplemented from QAbstractItemViewPrivate.

◆ createColumn()

QAbstractItemView * QColumnViewPrivate::createColumn ( const QModelIndex & index,
bool show )

◆ createPreviewColumn()

QColumnViewPreviewColumn * QColumnViewPrivate::createPreviewColumn ( )

◆ disconnectView()

void QColumnViewPrivate::disconnectView ( QAbstractItemView * view)

◆ doLayout()

void QColumnViewPrivate::doLayout ( )

◆ gripMoved()

void QColumnViewPrivate::gripMoved ( int offset)

◆ initialize()

void QColumnViewPrivate::initialize ( )

◆ setPreviewWidget()

void QColumnViewPrivate::setPreviewWidget ( QWidget * widget)

◆ updateScrollbars()

void QColumnViewPrivate::updateScrollbars ( )

Member Data Documentation

◆ columns

QList<QAbstractItemView*> QColumnViewPrivate::columns

Definition at line 141 of file qcolumnview_p.h.

◆ columnSizes

QList<int> QColumnViewPrivate::columnSizes

Definition at line 142 of file qcolumnview_p.h.

◆ gripConnections

std::vector<QMetaObject::Connection> QColumnViewPrivate::gripConnections

Definition at line 150 of file qcolumnview_p.h.

◆ offset

◆ previewColumn

QAbstractItemView* QColumnViewPrivate::previewColumn

Definition at line 155 of file qcolumnview_p.h.

◆ previewWidget

QWidget* QColumnViewPrivate::previewWidget

Definition at line 154 of file qcolumnview_p.h.

◆ showPreviewColumn

bool QColumnViewPrivate::showPreviewColumn

Definition at line 144 of file qcolumnview_p.h.

◆ showResizeGrips

bool QColumnViewPrivate::showResizeGrips

Definition at line 143 of file qcolumnview_p.h.

◆ viewConnections

QHash<QAbstractItemView *, ViewConnections> QColumnViewPrivate::viewConnections

Definition at line 152 of file qcolumnview_p.h.


The documentation for this class was generated from the following file: