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
QUndoViewPrivate Class Reference
Inheritance diagram for QUndoViewPrivate:
Collaboration diagram for QUndoViewPrivate:

Public Member Functions

 QUndoViewPrivate ()
void init ()
 QUndoViewPrivate ()
void init ()
Public Member Functions inherited from QListViewPrivate
 QListViewPrivate ()
 ~QListViewPrivate ()
void clear ()
void prepareItemsLayout ()
bool doItemsLayout (int num)
QList< QModelIndexintersectingSet (const QRect &area, bool doLayout=true) const
void resetBatchStartRow ()
int batchStartRow () const
QSize contentsSize () const
void setContentsSize (int w, int h)
int flipX (int x) const
QPoint flipX (const QPoint &p) const
QRect flipX (const QRect &r) const
QRect viewItemRect (const QListViewItem &item) const
QListViewItem indexToListViewItem (const QModelIndex &index) const
QModelIndex listViewItemToIndex (const QListViewItem &item) const
bool hasRectForIndex (const QModelIndex &index) const
QRect rectForIndex (const QModelIndex &index) const
QRect cellRectForIndex (const QModelIndex &index)
void viewUpdateGeometries ()
QRect mapToViewport (const QRect &rect, bool extend=true) const
QModelIndex closestIndex (const QRect &target, const QList< QModelIndex > &candidates) const
QSize itemSize (const QStyleOptionViewItem &option, const QModelIndex &index) const
bool selectionAllowed (const QModelIndex &index) const override
int horizontalScrollToValue (const QModelIndex &index, const QRect &rect, QListView::ScrollHint hint) const
int verticalScrollToValue (const QModelIndex &index, const QRect &rect, QListView::ScrollHint hint) const
QItemSelection selection (const QRect &rect) const
void selectAll (QItemSelectionModel::SelectionFlags command) override
void setGridSize (const QSize &size)
QSize gridSize () const
void setWrapping (bool b)
bool isWrapping () const
void setSpacing (int s)
int spacing () const
void setSelectionRectVisible (bool visible)
bool isSelectionRectVisible () const
QModelIndex modelIndex (int row) const
bool isHidden (int row) const
QList< int > hiddenRowIds () const
bool isHiddenOrDisabled (int row) const
void removeCurrentAndDisabled (QList< QModelIndex > *indexes, const QModelIndex &current) const
void scrollElasticBandBy (int dx, int dy)
QItemViewPaintPairs draggablePaintPairs (const QModelIndexList &indexes, QRect *r) const override
 \reimp
void emitIndexesMoved (const QModelIndexList &indexes)
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 columnsInserted (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
void setHoverIndex (const QPersistentModelIndex &index)
void checkMouseMove (const QPersistentModelIndex &index)
void checkMouseMove (const QPoint &pos)
QItemSelectionModel::SelectionFlags selectionBehaviorFlags () 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
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

QUndoModelmodel
Public Attributes inherited from QListViewPrivate
QCommonListViewBasecommonListView
bool wrap
int space
QSize grid
QListView::Flow flow
QListView::Movement movement
QListView::ResizeMode resizeMode
QListView::LayoutMode layoutMode
QListView::ViewMode viewMode
uint modeProperties: 8
QRect layoutBounds
QBasicTimer batchLayoutTimer
QSet< QPersistentModelIndexhiddenRows
int column
bool uniformItemSizes
QSize cachedItemSize
int batchSize
QRect elasticBand
bool showElasticBand
Qt::Alignment itemAlignment
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
Qt::MatchFlags keyboardSearchFlags = Qt::MatchStartsWith | Qt::MatchWrap
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

Additional Inherited Members

Public Types inherited from QListViewPrivate
enum  ModeProperties {
  Wrap = 1 , Spacing = 2 , GridSize = 4 , Flow = 8 ,
  Movement = 16 , ResizeMode = 32 , SelectionRectVisible = 64
}

Detailed Description

Definition at line 236 of file qundoview.cpp.

Constructor & Destructor Documentation

◆ QUndoViewPrivate() [1/2]

QUndoViewPrivate::QUndoViewPrivate ( )
inline

Definition at line 240 of file qundoview.cpp.

◆ QUndoViewPrivate() [2/2]

QUndoViewPrivate::QUndoViewPrivate ( )
inline

Definition at line 240 of file qundoview.cpp.

Member Function Documentation

◆ init() [1/2]

void QUndoViewPrivate::init ( )

Definition at line 254 of file qundoview.cpp.

◆ init() [2/2]

void QUndoViewPrivate::init ( )

Member Data Documentation

◆ model

QUndoModel * QUndoViewPrivate::model

Definition at line 249 of file qundoview.cpp.


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