Qt 6.2
Qt Widgets
C++ Classes
QTreeView
Qt 6.2.0 Reference Documentation
List of All Members for QTreeView
This is the complete list of members for
QTreeView
, including inherited members.
enum
CursorAction
enum
DragDropMode
enum
DropIndicatorPosition
enum
EditTrigger
flags
EditTriggers
enum
PaintDeviceMetric
QTreeView
(QWidget *)
enum
RenderFlag
flags
RenderFlags
enum
ScrollHint
enum
ScrollMode
enum
SelectionBehavior
enum
SelectionMode
enum
Shadow
enum
Shape
enum
SizeAdjustPolicy
enum
State
enum
StyleMask
activated
(const QModelIndex &)
clearSelection
()
clicked
(const QModelIndex &)
close
() : bool
closeEditor
(QWidget *, QAbstractItemDelegate::EndEditHint)
collapse
(const QModelIndex &)
collapseAll
()
collapsed
(const QModelIndex &)
columnCountChanged
(int, int)
columnMoved
()
columnResized
(int, int, int)
commitData
(QWidget *)
currentChanged
(const QModelIndex &, const QModelIndex &)
customContextMenuRequested
(const QPoint &)
dataChanged
(const QModelIndex &, const QModelIndex &, const QList<int> &)
deleteLater
()
destroyed
(QObject *)
doubleClicked
(const QModelIndex &)
edit
(const QModelIndex &)
editorDestroyed
(QObject *)
entered
(const QModelIndex &)
expand
(const QModelIndex &)
expandAll
()
expandRecursively
(const QModelIndex &, int)
expandToDepth
(int)
expanded
(const QModelIndex &)
hide
()
hideColumn
(int)
iconSizeChanged
(const QSize &)
lower
()
objectNameChanged
(const QString &)
pressed
(const QModelIndex &)
raise
()
repaint
()
reset
()
resizeColumnToContents
(int)
rowsAboutToBeRemoved
(const QModelIndex &, int, int)
rowsInserted
(const QModelIndex &, int, int)
rowsRemoved
(const QModelIndex &, int, int)
scrollToBottom
()
scrollToTop
()
selectAll
()
selectionChanged
(const QItemSelection &, const QItemSelection &)
setCurrentIndex
(const QModelIndex &)
setDisabled
(bool)
setEnabled
(bool)
setFocus
()
setHidden
(bool)
setRootIndex
(const QModelIndex &)
setStyleSheet
(const QString &)
setVisible
(bool)
setWindowModified
(bool)
setWindowTitle
(const QString &)
show
()
showColumn
(int)
showFullScreen
()
showMaximized
()
showMinimized
()
showNormal
()
sortByColumn
(int, Qt::SortOrder)
update
(const QModelIndex &)
updateGeometries
()
updateMicroFocus
(Qt::InputMethodQuery)
viewportEntered
()
windowIconChanged
(const QIcon &)
windowTitleChanged
(const QString &)
~QTreeView
()
acceptDrops
() const : bool
accessibleDescription
() const : QString
accessibleName
() const : QString
actionEvent
(QActionEvent *)
actions
() const : QList<QAction *>
activateWindow
()
addAction
(QAction *)
addActions
(const QList<QAction *> &)
addScrollBarWidget
(QWidget *, Qt::Alignment)
adjustSize
()
allColumnsShowFocus
() const : bool
alternatingRowColors
() const : bool
autoExpandDelay
() const : int
autoFillBackground
() const : bool
autoScrollMargin
() const : int
backgroundRole
() const : QPalette::ColorRole
backingStore
() const : QBackingStore *
baseSize
() const : QSize
blockSignals
(bool) : bool
changeEvent
(QEvent *)
childAt
(int, int) const : QWidget *
childAt
(const QPoint &) const : QWidget *
childEvent
(QChildEvent *)
children
() const : const QObjectList &
childrenRect
() const : QRect
childrenRegion
() const : QRegion
clearFocus
()
clearMask
()
closeEvent
(QCloseEvent *)
closePersistentEditor
(const QModelIndex &)
colorCount
() const : int
columnAt
(int) const : int
columnViewportPosition
(int) const : int
columnWidth
(int) const : int
connect
(const QObject *, const char *, const QObject *, const char *, Qt::ConnectionType) : QMetaObject::Connection
connect
(const QObject *, const QMetaMethod &, const QObject *, const QMetaMethod &, Qt::ConnectionType) : QMetaObject::Connection
connect
(const QObject *, const char *, const char *, Qt::ConnectionType) const : QMetaObject::Connection
connect
(const QObject *, PointerToMemberFunction, const QObject *, PointerToMemberFunction, Qt::ConnectionType) : QMetaObject::Connection
connect
(const QObject *, PointerToMemberFunction, Functor) : QMetaObject::Connection
connect
(const QObject *, PointerToMemberFunction, const QObject *, Functor, Qt::ConnectionType) : QMetaObject::Connection
connectNotify
(const QMetaMethod &)
contentsMargins
() const : QMargins
contentsRect
() const : QRect
contextMenuEvent
(QContextMenuEvent *)
contextMenuPolicy
() const : Qt::ContextMenuPolicy
cornerWidget
() const : QWidget *
create
(WId, bool, bool)
createWindowContainer
(QWindow *, QWidget *, Qt::WindowFlags) : QWidget *
currentChanged
(const QModelIndex &, const QModelIndex &)
currentIndex
() const : QModelIndex
cursor
() const : QCursor
customEvent
(QEvent *)
dataChanged
(const QModelIndex &, const QModelIndex &, const QList<int> &)
defaultDropAction
() const : Qt::DropAction
depth
() const : int
destroy
(bool, bool)
devicePixelRatio
() const : qreal
devicePixelRatioF
() const : qreal
dirtyRegionOffset
() const : QPoint
disconnect
(const QObject *, const char *, const QObject *, const char *) : bool
disconnect
(const QObject *, const QMetaMethod &, const QObject *, const QMetaMethod &) : bool
disconnect
(const char *, const QObject *, const char *) const : bool
disconnect
(const QObject *, const char *) const : bool
disconnect
(const QMetaObject::Connection &) : bool
disconnect
(const QObject *, PointerToMemberFunction, const QObject *, PointerToMemberFunction) : bool
disconnectNotify
(const QMetaMethod &)
dragDropMode
() const : QAbstractItemView::DragDropMode
dragDropOverwriteMode
() const : bool
dragEnabled
() const : bool
dragEnterEvent
(QDragEnterEvent *)
dragLeaveEvent
(QDragLeaveEvent *)
dragMoveEvent
(QDragMoveEvent *)
drawBranches
(QPainter *, const QRect &, const QModelIndex &) const
drawRow
(QPainter *, const QStyleOptionViewItem &, const QModelIndex &) const
drawTree
(QPainter *, const QRegion &) const
dropEvent
(QDropEvent *)
dropIndicatorPosition
() const : QAbstractItemView::DropIndicatorPosition
dumpObjectInfo
() const
dumpObjectTree
() const
dynamicPropertyNames
() const : QList<QByteArray>
edit
(const QModelIndex &, QAbstractItemView::EditTrigger, QEvent *) : bool
editTriggers
() const : QAbstractItemView::EditTriggers
effectiveWinId
() const : WId
ensurePolished
() const
enterEvent
(QEnterEvent *)
event
(QEvent *) : bool
eventFilter
(QObject *, QEvent *) : bool
executeDelayedItemsLayout
()
expandsOnDoubleClick
() const : bool
find
(WId) : QWidget *
findChild
(const QString &, Qt::FindChildOptions) const : T
findChildren
(const QString &, Qt::FindChildOptions) const : QList<T>
findChildren
(const QRegularExpression &, Qt::FindChildOptions) const : QList<T>
focusInEvent
(QFocusEvent *)
focusNextChild
() : bool
focusNextPrevChild
(bool) : bool
focusOutEvent
(QFocusEvent *)
focusPolicy
() const : Qt::FocusPolicy
focusPreviousChild
() : bool
focusProxy
() const : QWidget *
focusWidget
() const : QWidget *
font
() const : const QFont &
fontInfo
() const : QFontInfo
fontMetrics
() const : QFontMetrics
foregroundRole
() const : QPalette::ColorRole
frameGeometry
() const : QRect
frameRect
() const : QRect
frameShadow
() const : QFrame::Shadow
frameShape
() const : QFrame::Shape
frameSize
() const : QSize
frameStyle
() const : int
frameWidth
() const : int
geometry
() const : const QRect &
grab
(const QRect &) : QPixmap
grabGesture
(Qt::GestureType, Qt::GestureFlags)
grabKeyboard
()
grabMouse
()
grabMouse
(const QCursor &)
grabShortcut
(const QKeySequence &, Qt::ShortcutContext) : int
graphicsEffect
() const : QGraphicsEffect *
graphicsProxyWidget
() const : QGraphicsProxyWidget *
hasAutoScroll
() const : bool
hasEditFocus
() const : bool
hasFocus
() const : bool
hasHeightForWidth
() const : bool
hasMouseTracking
() const : bool
hasTabletTracking
() const : bool
header
() const : QHeaderView *
height
() const : int
heightForWidth
(int) const : int
heightMM
() const : int
hideEvent
(QHideEvent *)
horizontalOffset
() const : int
horizontalScrollBar
() const : QScrollBar *
horizontalScrollBarPolicy
() const : Qt::ScrollBarPolicy
horizontalScrollMode
() const : QAbstractItemView::ScrollMode
iconSize
() const : QSize
indentation
() const : int
indexAbove
(const QModelIndex &) const : QModelIndex
indexAt
(const QPoint &) const : QModelIndex
indexBelow
(const QModelIndex &) const : QModelIndex
indexRowSizeHint
(const QModelIndex &) const : int
indexWidget
(const QModelIndex &) const : QWidget *
inherits
(const char *) const : bool
initPainter
(QPainter *) const
initStyleOption
(QStyleOptionFrame *) const
initViewItemOption
(QStyleOptionViewItem *) const
inputMethodEvent
(QInputMethodEvent *)
inputMethodHints
() const : Qt::InputMethodHints
inputMethodQuery
(Qt::InputMethodQuery) const : QVariant
insertAction
(QAction *, QAction *)
insertActions
(QAction *, const QList<QAction *> &)
installEventFilter
(QObject *)
isActiveWindow
() const : bool
isAncestorOf
(const QWidget *) const : bool
isAnimated
() const : bool
isColumnHidden
(int) const : bool
isEnabled
() const : bool
isEnabledTo
(const QWidget *) const : bool
isExpanded
(const QModelIndex &) const : bool
isFirstColumnSpanned
(int, const QModelIndex &) const : bool
isFullScreen
() const : bool
isHeaderHidden
() const : bool
isHidden
() const : bool
isIndexHidden
(const QModelIndex &) const : bool
isMaximized
() const : bool
isMinimized
() const : bool
isModal
() const : bool
isPersistentEditorOpen
(const QModelIndex &) const : bool
isRowHidden
(int, const QModelIndex &) const : bool
isSignalConnected
(const QMetaMethod &) const : bool
isSortingEnabled
() const : bool
isVisible
() const : bool
isVisibleTo
(const QWidget *) const : bool
isWidgetType
() const : bool
isWindow
() const : bool
isWindowModified
() const : bool
isWindowType
() const : bool
itemDelegate
() const : QAbstractItemDelegate *
itemDelegateForColumn
(int) const : QAbstractItemDelegate *
itemDelegateForIndex
(const QModelIndex &) const : QAbstractItemDelegate *
itemDelegateForRow
(int) const : QAbstractItemDelegate *
itemsExpandable
() const : bool
keyPressEvent
(QKeyEvent *)
keyReleaseEvent
(QKeyEvent *)
keyboardGrabber
() : QWidget *
keyboardSearch
(const QString &)
killTimer
(int)
layout
() const : QLayout *
layoutDirection
() const : Qt::LayoutDirection
leaveEvent
(QEvent *)
lineWidth
() const : int
locale
() const : QLocale
logicalDpiX
() const : int
logicalDpiY
() const : int
mapFrom
(const QWidget *, const QPointF &) const : QPointF
mapFrom
(const QWidget *, const QPoint &) const : QPoint
mapFromGlobal
(const QPointF &) const : QPointF
mapFromGlobal
(const QPoint &) const : QPoint
mapFromParent
(const QPointF &) const : QPointF
mapFromParent
(const QPoint &) const : QPoint
mapTo
(const QWidget *, const QPointF &) const : QPointF
mapTo
(const QWidget *, const QPoint &) const : QPoint
mapToGlobal
(const QPointF &) const : QPointF
mapToGlobal
(const QPoint &) const : QPoint
mapToParent
(const QPointF &) const : QPointF
mapToParent
(const QPoint &) const : QPoint
mask
() const : QRegion
maximumHeight
() const : int
maximumSize
() const : QSize
maximumViewportSize
() const : QSize
maximumWidth
() const : int
metaObject
() const : const QMetaObject *
metric
(QPaintDevice::PaintDeviceMetric) const : int
midLineWidth
() const : int
minimumHeight
() const : int
minimumSize
() const : QSize
minimumSizeHint
() const : QSize
minimumWidth
() const : int
model
() const : QAbstractItemModel *
mouseDoubleClickEvent
(QMouseEvent *)
mouseGrabber
() : QWidget *
mouseMoveEvent
(QMouseEvent *)
mousePressEvent
(QMouseEvent *)
mouseReleaseEvent
(QMouseEvent *)
move
(const QPoint &)
move
(int, int)
moveCursor
(QAbstractItemView::CursorAction, Qt::KeyboardModifiers) : QModelIndex
moveEvent
(QMoveEvent *)
moveToThread
(QThread *)
nativeEvent
(const QByteArray &, void *, qintptr *) : bool
nativeParentWidget
() const : QWidget *
nextInFocusChain
() const : QWidget *
normalGeometry
() const : QRect
objectName
() const : QString
openPersistentEditor
(const QModelIndex &)
overrideWindowFlags
(Qt::WindowFlags)
paintEngine
() const : QPaintEngine *
paintEvent
(QPaintEvent *)
paintingActive
() const : bool
palette
() const : const QPalette &
parent
() const : QObject *
parentWidget
() const : QWidget *
physicalDpiX
() const : int
physicalDpiY
() const : int
pos
() const : QPoint
previousInFocusChain
() const : QWidget *
property
(const char *) const : QVariant
receivers
(const char *) const : int
rect
() const : QRect
releaseKeyboard
()
releaseMouse
()
releaseShortcut
(int)
removeAction
(QAction *)
removeEventFilter
(QObject *)
render
(QPaintDevice *, const QPoint &, const QRegion &, QWidget::RenderFlags)
render
(QPainter *, const QPoint &, const QRegion &, QWidget::RenderFlags)
repaint
(int, int, int, int)
repaint
(const QRect &)
repaint
(const QRegion &)
reset
()
resetHorizontalScrollMode
()
resetIndentation
()
resetVerticalScrollMode
()
resize
(const QSize &)
resize
(int, int)
resizeEvent
(QResizeEvent *)
restoreGeometry
(const QByteArray &) : bool
rootIndex
() const : QModelIndex
rootIsDecorated
() const : bool
rowHeight
(const QModelIndex &) const : int
rowsAboutToBeRemoved
(const QModelIndex &, int, int)
rowsInserted
(const QModelIndex &, int, int)
saveGeometry
() const : QByteArray
scheduleDelayedItemsLayout
()
screen
() const : QScreen *
scroll
(int, int)
scroll
(int, int, const QRect &)
scrollBarWidgets
(Qt::Alignment) : QWidgetList
scrollContentsBy
(int, int)
scrollDirtyRegion
(int, int)
scrollTo
(const QModelIndex &, QAbstractItemView::ScrollHint)
selectAll
()
selectedIndexes
() const : QModelIndexList
selectionBehavior
() const : QAbstractItemView::SelectionBehavior
selectionChanged
(const QItemSelection &, const QItemSelection &)
selectionCommand
(const QModelIndex &, const QEvent *) const : QItemSelectionModel::SelectionFlags
selectionMode
() const : QAbstractItemView::SelectionMode
selectionModel
() const : QItemSelectionModel *
sender
() const : QObject *
senderSignalIndex
() const : int
setAcceptDrops
(bool)
setAccessibleDescription
(const QString &)
setAccessibleName
(const QString &)
setAllColumnsShowFocus
(bool)
setAlternatingRowColors
(bool)
setAnimated
(bool)
setAttribute
(Qt::WidgetAttribute, bool)
setAutoExpandDelay
(int)
setAutoFillBackground
(bool)
setAutoScroll
(bool)
setAutoScrollMargin
(int)
setBackgroundRole
(QPalette::ColorRole)
setBaseSize
(const QSize &)
setBaseSize
(int, int)
setColumnHidden
(int, bool)
setColumnWidth
(int, int)
setContentsMargins
(int, int, int, int)
setContentsMargins
(const QMargins &)
setContextMenuPolicy
(Qt::ContextMenuPolicy)
setCornerWidget
(QWidget *)
setCursor
(const QCursor &)
setDefaultDropAction
(Qt::DropAction)
setDirtyRegion
(const QRegion &)
setDragDropMode
(QAbstractItemView::DragDropMode)
setDragDropOverwriteMode
(bool)
setDragEnabled
(bool)
setDropIndicatorShown
(bool)
setEditFocus
(bool)
setEditTriggers
(QAbstractItemView::EditTriggers)
setExpanded
(const QModelIndex &, bool)
setExpandsOnDoubleClick
(bool)
setFirstColumnSpanned
(int, const QModelIndex &, bool)
setFixedHeight
(int)
setFixedSize
(const QSize &)
setFixedSize
(int, int)
setFixedWidth
(int)
setFocus
(Qt::FocusReason)
setFocusPolicy
(Qt::FocusPolicy)
setFocusProxy
(QWidget *)
setFont
(const QFont &)
setForegroundRole
(QPalette::ColorRole)
setFrameRect
(const QRect &)
setFrameShadow
(QFrame::Shadow)
setFrameShape
(QFrame::Shape)
setFrameStyle
(int)
setGeometry
(const QRect &)
setGeometry
(int, int, int, int)
setGraphicsEffect
(QGraphicsEffect *)
setHeader
(QHeaderView *)
setHeaderHidden
(bool)
setHorizontalScrollBar
(QScrollBar *)
setHorizontalScrollBarPolicy
(Qt::ScrollBarPolicy)
setHorizontalScrollMode
(QAbstractItemView::ScrollMode)
setIconSize
(const QSize &)
setIndentation
(int)
setIndexWidget
(const QModelIndex &, QWidget *)
setInputMethodHints
(Qt::InputMethodHints)
setItemDelegate
(QAbstractItemDelegate *)
setItemDelegateForColumn
(int, QAbstractItemDelegate *)
setItemDelegateForRow
(int, QAbstractItemDelegate *)
setItemsExpandable
(bool)
setLayout
(QLayout *)
setLayoutDirection
(Qt::LayoutDirection)
setLineWidth
(int)
setLocale
(const QLocale &)
setMask
(const QBitmap &)
setMask
(const QRegion &)
setMaximumHeight
(int)
setMaximumSize
(const QSize &)
setMaximumSize
(int, int)
setMaximumWidth
(int)
setMidLineWidth
(int)
setMinimumHeight
(int)
setMinimumSize
(const QSize &)
setMinimumSize
(int, int)
setMinimumWidth
(int)
setModel
(QAbstractItemModel *)
setMouseTracking
(bool)
setObjectName
(const QString &)
setPalette
(const QPalette &)
setParent
(QWidget *)
setParent
(QWidget *, Qt::WindowFlags)
setProperty
(const char *, const QVariant &) : bool
setRootIndex
(const QModelIndex &)
setRootIsDecorated
(bool)
setRowHidden
(int, const QModelIndex &, bool)
setScreen
(QScreen *)
setSelection
(const QRect &, QItemSelectionModel::SelectionFlags)
setSelectionBehavior
(QAbstractItemView::SelectionBehavior)
setSelectionMode
(QAbstractItemView::SelectionMode)
setSelectionModel
(QItemSelectionModel *)
setShortcutAutoRepeat
(int, bool)
setShortcutEnabled
(int, bool)
setSizeAdjustPolicy
(QAbstractScrollArea::SizeAdjustPolicy)
setSizeIncrement
(const QSize &)
setSizeIncrement
(int, int)
setSizePolicy
(QSizePolicy)
setSizePolicy
(QSizePolicy::Policy, QSizePolicy::Policy)
setSortingEnabled
(bool)
setState
(QAbstractItemView::State)
setStatusTip
(const QString &)
setStyle
(QStyle *)
setTabKeyNavigation
(bool)
setTabOrder
(QWidget *, QWidget *)
setTabletTracking
(bool)
setTextElideMode
(Qt::TextElideMode)
setToolTip
(const QString &)
setToolTipDuration
(int)
setTreePosition
(int)
setUniformRowHeights
(bool)
setUpdatesEnabled
(bool)
setVerticalScrollBar
(QScrollBar *)
setVerticalScrollBarPolicy
(Qt::ScrollBarPolicy)
setVerticalScrollMode
(QAbstractItemView::ScrollMode)
setViewport
(QWidget *)
setViewportMargins
(int, int, int, int)
setViewportMargins
(const QMargins &)
setWhatsThis
(const QString &)
setWindowFilePath
(const QString &)
setWindowFlag
(Qt::WindowType, bool)
setWindowFlags
(Qt::WindowFlags)
setWindowIcon
(const QIcon &)
setWindowModality
(Qt::WindowModality)
setWindowOpacity
(qreal)
setWindowRole
(const QString &)
setWindowState
(Qt::WindowStates)
setWordWrap
(bool)
setupUi
(QWidget *)
setupViewport
(QWidget *)
showDropIndicator
() const : bool
showEvent
(QShowEvent *)
signalsBlocked
() const : bool
size
() const : QSize
sizeAdjustPolicy
() const : QAbstractScrollArea::SizeAdjustPolicy
sizeHint
() const : QSize
sizeHintForColumn
(int) const : int
sizeHintForIndex
(const QModelIndex &) const : QSize
sizeHintForRow
(int) const : int
sizeIncrement
() const : QSize
sizePolicy
() const : QSizePolicy
stackUnder
(QWidget *)
startDrag
(Qt::DropActions)
startTimer
(int, Qt::TimerType) : int
startTimer
(std::chrono::milliseconds, Qt::TimerType) : int
state
() const : QAbstractItemView::State
staticMetaObject
:
statusTip
() const : QString
style
() const : QStyle *
styleSheet
() const : QString
tabKeyNavigation
() const : bool
tabletEvent
(QTabletEvent *)
testAttribute
(Qt::WidgetAttribute) const : bool
textElideMode
() const : Qt::TextElideMode
thread
() const : QThread *
timerEvent
(QTimerEvent *)
toolTip
() const : QString
toolTipDuration
() const : int
tr
(const char *, const char *, int) : QString
treePosition
() const : int
underMouse
() const : bool
ungrabGesture
(Qt::GestureType)
uniformRowHeights
() const : bool
unsetCursor
()
unsetLayoutDirection
()
unsetLocale
()
update
(int, int, int, int)
update
(const QRect &)
update
(const QRegion &)
updateGeometries
()
updateGeometry
()
updatesEnabled
() const : bool
verticalOffset
() const : int
verticalScrollBar
() const : QScrollBar *
verticalScrollBarPolicy
() const : Qt::ScrollBarPolicy
verticalScrollMode
() const : QAbstractItemView::ScrollMode
viewport
() const : QWidget *
viewportEvent
(QEvent *) : bool
viewportMargins
() const : QMargins
viewportSizeHint
() const : QSize
visibleRegion
() const : QRegion
visualRect
(const QModelIndex &) const : QRect
visualRegionForSelection
(const QItemSelection &) const : QRegion
whatsThis
() const : QString
wheelEvent
(QWheelEvent *)
width
() const : int
widthMM
() const : int
winId
() const : WId
window
() const : QWidget *
windowFilePath
() const : QString
windowFlags
() const : Qt::WindowFlags
windowHandle
() const : QWindow *
windowIcon
() const : QIcon
windowModality
() const : Qt::WindowModality
windowOpacity
() const : qreal
windowRole
() const : QString
windowState
() const : Qt::WindowStates
windowTitle
() const : QString
windowType
() const : Qt::WindowType
wordWrap
() const : bool
x
() const : int
y
() const : int