- Qt 5.15
- Qt Widgets
- C++ Classes
- QTableWidget
- Qt 5.15.19 Reference Documentation

# List of All Members for QTableWidget

This is the complete list of members for QTableWidget, including inherited members.

- enum CursorAction
- enum DragDropMode
- enum DropIndicatorPosition
- enum EditTrigger
- flags EditTriggers
- QTableWidget(int , int , QWidget *)
- QTableWidget(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 &)
- cellActivated(int , int )
- cellChanged(int , int )
- cellClicked(int , int )
- cellDoubleClicked(int , int )
- cellEntered(int , int )
- cellPressed(int , int )
- clear()
- clearContents()
- clearSelection()
- clicked(const QModelIndex &)
- close() : bool
- closeEditor(QWidget *, QAbstractItemDelegate::EndEditHint )
- columnCountChanged(int , int )
- columnMoved(int , int , int )
- columnResized(int , int , int )
- commitData(QWidget *)
- currentCellChanged(int , int , int , int )
- currentChanged(const QModelIndex &, const QModelIndex &)
- currentItemChanged(QTableWidgetItem *, QTableWidgetItem *)
- customContextMenuRequested(const QPoint &)
- dataChanged(const QModelIndex &, const QModelIndex &, const QVector<int> &)
- doubleClicked(const QModelIndex &)
- edit(const QModelIndex &)
- editorDestroyed(QObject *)
- entered(const QModelIndex &)
- hide()
- hideColumn(int )
- hideRow(int )
- iconSizeChanged(const QSize &)
- insertColumn(int )
- insertRow(int )
- itemActivated(QTableWidgetItem *)
- itemChanged(QTableWidgetItem *)
- itemClicked(QTableWidgetItem *)
- itemDoubleClicked(QTableWidgetItem *)
- itemEntered(QTableWidgetItem *)
- itemPressed(QTableWidgetItem *)
- itemSelectionChanged()
- lower()
- pressed(const QModelIndex &)
- raise()
- removeColumn(int )
- removeRow(int )
- repaint()
- reset()
- resizeColumnToContents(int )
- resizeColumnsToContents()
- resizeRowToContents(int )
- resizeRowsToContents()
- rowCountChanged(int , int )
- rowMoved(int , int , int )
- rowResized(int , int , int )
- rowsAboutToBeRemoved(const QModelIndex &, int , int )
- rowsInserted(const QModelIndex &, int , int )
- scrollToBottom()
- scrollToItem(const QTableWidgetItem *, QAbstractItemView::ScrollHint )
- scrollToTop()
- selectAll()
- selectColumn(int )
- selectRow(int )
- selectionChanged(const QItemSelection &, const QItemSelection &)
- setCurrentIndex(const QModelIndex &)
- setDisabled(bool )
- setEnabled(bool)
- setFocus()
- setHidden(bool )
- setRootIndex(const QModelIndex &)
- setShowGrid(bool )
- setStyleSheet(const QString &)
- setVisible(bool )
- setWindowModified(bool)
- setWindowTitle(const QString &)
- show()
- showColumn(int )
- showFullScreen()
- showMaximized()
- showMinimized()
- showNormal()
- showRow(int )
- sortByColumn(int , Qt::SortOrder )
- update(const QModelIndex &)
- updateGeometries()
- updateMicroFocus()
- viewportEntered()
- windowIconChanged(const QIcon &)
- windowTitleChanged(const QString &)
- ~QTableWidget()
- acceptDrops() const : bool
- accessibleDescription() const : QString
- accessibleName() const : QString
- actionEvent(QActionEvent *)
- actions() const : QList<QAction *>
- activateWindow()
- addAction(QAction *)
- addActions(QList<QAction *> )
- addScrollBarWidget(QWidget *, Qt::Alignment )
- adjustSize()
- alternatingRowColors() const : bool
- autoFillBackground() const : bool
- autoScrollMargin() const : int
- backgroundRole() const : QPalette::ColorRole
- backingStore() const : QBackingStore *
- baseSize() const : QSize
- cellWidget(int , int ) const : QWidget *
- changeEvent(QEvent *)
- childAt(int , int ) const : QWidget *
- childAt(const QPoint &) const : QWidget *
- childrenRect() const : QRect
- childrenRegion() const : QRegion
- clearFocus()
- clearMask()
- clearSpans()
- closeEvent(QCloseEvent *)
- closePersistentEditor(QTableWidgetItem *)
- column(const QTableWidgetItem *) const : int
- columnAt(int ) const : int
- columnCount() const : int
- columnSpan(int , int ) const : int
- columnViewportPosition(int ) const : int
- columnWidth(int ) const : int
- 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 &)
- currentColumn() const : int
- currentIndex() const : QModelIndex
- currentItem() const : QTableWidgetItem *
- currentRow() const : int
- cursor() const : QCursor
- defaultDropAction() const : Qt::DropAction
- destroy(bool , bool )
- dirtyRegionOffset() const : QPoint
- dragDropMode() const : DragDropMode
- dragDropOverwriteMode() const : bool
- dragEnabled() const : bool
- dragEnterEvent(QDragEnterEvent *)
- dragLeaveEvent(QDragLeaveEvent *)
- dragMoveEvent(QDragMoveEvent *)
- dropEvent(QDropEvent *)
- dropIndicatorPosition() const : DropIndicatorPosition
- dropMimeData(int , int , const QMimeData *, Qt::DropAction ) : bool
- edit(const QModelIndex &, EditTrigger , QEvent *) : bool
- editItem(QTableWidgetItem *)
- editTriggers() const : EditTriggers
- effectiveWinId() const : WId
- ensurePolished() const
- enterEvent(QEvent *)
- event(QEvent *) : bool
- eventFilter(QObject *, QEvent *) : bool
- executeDelayedItemsLayout()
- find(WId ) : QWidget *
- findItems(const QString &, Qt::MatchFlags ) const : QList<QTableWidgetItem *>
- 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 : Shadow
- frameShape() const : 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 *
- gridStyle() const : Qt::PenStyle
- hasAutoScroll() const : bool
- hasEditFocus() const : bool
- hasFocus() const : bool
- hasHeightForWidth() const : bool
- hasMouseTracking() const : bool
- hasTabletTracking() const : bool
- height() const : int
- heightForWidth(int ) const : int
- hideEvent(QHideEvent *)
- horizontalHeader() const : QHeaderView *
- horizontalHeaderItem(int ) const : QTableWidgetItem *
- horizontalOffset() const : int
- horizontalScrollBar() const : QScrollBar *
- horizontalScrollBarPolicy() const : Qt::ScrollBarPolicy
- horizontalScrollMode() const : ScrollMode
- iconSize() const : QSize
- indexAt(const QPoint &) const : QModelIndex
- indexFromItem(const QTableWidgetItem *) const : QModelIndex
- indexWidget(const QModelIndex &) const : QWidget *
- initPainter(QPainter *) const
- initStyleOption(QStyleOptionFrame *) const
- inputMethodEvent(QInputMethodEvent *)
- inputMethodHints() const : Qt::InputMethodHints
- inputMethodQuery(Qt::InputMethodQuery ) const : QVariant
- insertAction(QAction *, QAction *)
- insertActions(QAction *, QList<QAction *> )
- isActiveWindow() const : bool
- isAncestorOf(const QWidget *) const : bool
- isColumnHidden(int ) const : bool
- isCornerButtonEnabled() const : bool
- isEnabled() const : bool
- isEnabledTo(const QWidget *) const : bool
- isFullScreen() const : bool
- isHidden() const : bool
- isIndexHidden(const QModelIndex &) const : bool
- isMaximized() const : bool
- isMinimized() const : bool
- isModal() const : bool
- isPersistentEditorOpen(QTableWidgetItem *) const : bool
- isRowHidden(int ) const : bool
- isSortingEnabled() const : bool
- isVisible() const : bool
- isVisibleTo(const QWidget *) const : bool
- isWindow() const : bool
- isWindowModified() const : bool
- item(int , int ) const : QTableWidgetItem *
- itemAt(const QPoint &) const : QTableWidgetItem *
- itemAt(int , int ) const : QTableWidgetItem *
- itemDelegate() const : QAbstractItemDelegate *
- itemDelegate(const QModelIndex &) const : QAbstractItemDelegate *
- itemDelegateForColumn(int ) const : QAbstractItemDelegate *
- itemDelegateForRow(int ) const : QAbstractItemDelegate *
- itemFromIndex(const QModelIndex &) const : QTableWidgetItem *
- itemPrototype() const : const QTableWidgetItem *
- items(const QMimeData *) const : QList<QTableWidgetItem *>
- keyPressEvent(QKeyEvent *)
- keyReleaseEvent(QKeyEvent *)
- keyboardGrabber() : QWidget *
- keyboardSearch(const QString &)
- layout() const : QLayout *
- layoutDirection() const : Qt::LayoutDirection
- leaveEvent(QEvent *)
- lineWidth() const : int
- locale() const : QLocale
- mapFrom(const QWidget *, const QPoint &) const : QPoint
- mapFromGlobal(const QPoint &) const : QPoint
- mapFromParent(const QPoint &) const : QPoint
- mapTo(const QWidget *, const QPoint &) const : QPoint
- mapToGlobal(const QPoint &) const : QPoint
- mapToParent(const QPoint &) const : QPoint
- mask() const : QRegion
- maximumHeight() const : int
- maximumSize() const : QSize
- maximumViewportSize() const : QSize
- maximumWidth() const : int

- metric(PaintDeviceMetric ) const : int
- midLineWidth() const : int
- mimeData(const QList<QTableWidgetItem *> ) const : QMimeData *
- mimeTypes() const : QStringList
- 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(CursorAction , Qt::KeyboardModifiers ) : QModelIndex
- moveEvent(QMoveEvent *)
- nativeEvent(const QByteArray &, void *, long *) : bool
- nativeParentWidget() const : QWidget *
- nextInFocusChain() const : QWidget *
- normalGeometry() const : QRect
- openPersistentEditor(QTableWidgetItem *)
- overrideWindowFlags(Qt::WindowFlags )
- paintEngine() const : QPaintEngine *
- paintEvent(QPaintEvent *)
- palette() const : const QPalette &
- parentWidget() const : QWidget *
- pos() const : QPoint
- previousInFocusChain() const : QWidget *
- rect() const : QRect
- releaseKeyboard()
- releaseMouse()
- releaseShortcut(int )
- removeAction(QAction *)
- removeCellWidget(int , int )
- render(QPaintDevice *, const QPoint &, const QRegion &, RenderFlags )
- render(QPainter *, const QPoint &, const QRegion &, RenderFlags )
- repaint(int , int , int , int )
- repaint(const QRect &)
- repaint(const QRegion &)
- resetHorizontalScrollMode()
- resetVerticalScrollMode()
- resize(const QSize &)
- resize(int , int )
- resizeEvent(QResizeEvent *)
- restoreGeometry(const QByteArray &) : bool
- rootIndex() const : QModelIndex
- row(const QTableWidgetItem *) const : int
- rowAt(int ) const : int
- rowCount() const : int
- rowHeight(int ) const : int
- rowSpan(int , int ) const : int
- rowViewportPosition(int ) const : 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 &, ScrollHint )
- selectedIndexes() const : QModelIndexList
- selectedItems() const : QList<QTableWidgetItem *>
- selectedRanges() const : QList<QTableWidgetSelectionRange>
- selectionBehavior() const : QAbstractItemView::SelectionBehavior
- selectionChanged(const QItemSelection &, const QItemSelection &)
- selectionCommand(const QModelIndex &, const QEvent *) const : QItemSelectionModel::SelectionFlags
- selectionMode() const : QAbstractItemView::SelectionMode
- selectionModel() const : QItemSelectionModel *
- setAcceptDrops(bool )
- setAccessibleDescription(const QString &)
- setAccessibleName(const QString &)
- setAlternatingRowColors(bool )
- setAttribute(Qt::WidgetAttribute , bool )
- setAutoFillBackground(bool )
- setAutoScroll(bool )
- setAutoScrollMargin(int )
- setBackgroundRole(QPalette::ColorRole )
- setBaseSize(const QSize &)
- setBaseSize(int , int )
- setCellWidget(int , int , QWidget *)
- setColumnCount(int )
- setColumnHidden(int , bool )
- setColumnWidth(int , int )
- setContentsMargins(int , int , int , int )
- setContentsMargins(const QMargins &)
- setContextMenuPolicy(Qt::ContextMenuPolicy )
- setCornerButtonEnabled(bool )
- setCornerWidget(QWidget *)
- setCurrentCell(int , int )
- setCurrentCell(int , int , QItemSelectionModel::SelectionFlags )
- setCurrentItem(QTableWidgetItem *)
- setCurrentItem(QTableWidgetItem *, QItemSelectionModel::SelectionFlags )
- setCursor(const QCursor &)
- setDefaultDropAction(Qt::DropAction )
- setDirtyRegion(const QRegion &)
- setDragDropMode(DragDropMode )
- setDragDropOverwriteMode(bool )
- setDragEnabled(bool )
- setDropIndicatorShown(bool )
- setEditFocus(bool )
- setEditTriggers(EditTriggers )
- 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(Shadow)
- setFrameShape(Shape)
- setFrameStyle(int )
- setGeometry(const QRect &)
- setGeometry(int , int , int , int )
- setGraphicsEffect(QGraphicsEffect *)
- setGridStyle(Qt::PenStyle )
- setHorizontalHeader(QHeaderView *)
- setHorizontalHeaderItem(int , QTableWidgetItem *)
- setHorizontalHeaderLabels(const QStringList &)
- setHorizontalScrollBar(QScrollBar *)
- setHorizontalScrollBarPolicy(Qt::ScrollBarPolicy)
- setHorizontalScrollMode(ScrollMode )
- setIconSize(const QSize &)
- setIndexWidget(const QModelIndex &, QWidget *)
- setInputMethodHints(Qt::InputMethodHints )
- setItem(int , int , QTableWidgetItem *)
- setItemDelegate(QAbstractItemDelegate *)
- setItemDelegateForColumn(int , QAbstractItemDelegate *)
- setItemDelegateForRow(int , QAbstractItemDelegate *)
- setItemPrototype(const QTableWidgetItem *)
- 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 )
- setPalette(const QPalette &)
- setParent(QWidget *)
- setParent(QWidget *, Qt::WindowFlags )
- setRangeSelected(const QTableWidgetSelectionRange &, bool )
- setRootIndex(const QModelIndex &)
- setRowCount(int )
- setRowHeight(int , int )
- setRowHidden(int , bool )
- setSelection(const QRect &, QItemSelectionModel::SelectionFlags )
- setSelectionBehavior(QAbstractItemView::SelectionBehavior )
- setSelectionMode(QAbstractItemView::SelectionMode )
- setSelectionModel(QItemSelectionModel *)
- setShortcutAutoRepeat(int , bool )
- setShortcutEnabled(int , bool )
- setSizeAdjustPolicy(SizeAdjustPolicy )
- setSizeIncrement(const QSize &)
- setSizeIncrement(int , int )
- setSizePolicy(QSizePolicy)
- setSizePolicy(QSizePolicy::Policy , QSizePolicy::Policy )
- setSortingEnabled(bool )
- setSpan(int , int , int , int )
- setState(State )
- setStatusTip(const QString &)
- setStyle(QStyle *)
- setTabKeyNavigation(bool )
- setTabOrder(QWidget *, QWidget *)
- setTabletTracking(bool )
- setTextElideMode(Qt::TextElideMode )
- setToolTip(const QString &)
- setToolTipDuration(int )
- setUpdatesEnabled(bool )
- setVerticalHeader(QHeaderView *)
- setVerticalHeaderItem(int , QTableWidgetItem *)
- setVerticalHeaderLabels(const QStringList &)
- setVerticalScrollBar(QScrollBar *)
- setVerticalScrollBarPolicy(Qt::ScrollBarPolicy)
- setVerticalScrollMode(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 *)
- showGrid() const : bool
- size() const : QSize
- sizeAdjustPolicy() const : SizeAdjustPolicy
- sizeHint() const : QSize
- sizeHintForColumn(int ) const : int
- sizeHintForIndex(const QModelIndex &) const : QSize
- sizeHintForRow(int ) const : int
- sizeIncrement() const : QSize
- sizePolicy() const : QSizePolicy
- sortItems(int , Qt::SortOrder )
- stackUnder(QWidget *)
- startDrag(Qt::DropActions )
- state() const : State
- statusTip() const : QString
- style() const : QStyle *
- styleSheet() const : QString
- supportedDropActions() const : Qt::DropActions
- tabKeyNavigation() const : bool
- tabletEvent(QTabletEvent *)
- takeHorizontalHeaderItem(int ) : QTableWidgetItem *
- takeItem(int , int ) : QTableWidgetItem *
- takeVerticalHeaderItem(int ) : QTableWidgetItem *
- testAttribute(Qt::WidgetAttribute ) const : bool
- textElideMode() const : Qt::TextElideMode
- timerEvent(QTimerEvent *)
- toolTip() const : QString
- toolTipDuration() const : int
- underMouse() const : bool
- ungrabGesture(Qt::GestureType )
- unsetCursor()
- unsetLayoutDirection()
- unsetLocale()
- update(int , int , int , int )
- update(const QRect &)
- update(const QRegion &)
- updateGeometries()
- updateGeometry()
- updatesEnabled() const : bool
- verticalHeader() const : QHeaderView *
- verticalHeaderItem(int ) const : QTableWidgetItem *
- verticalOffset() const : int
- verticalScrollBar() const : QScrollBar *
- verticalScrollBarPolicy() const : Qt::ScrollBarPolicy
- verticalScrollMode() const : ScrollMode
- viewOptions() const : QStyleOptionViewItem
- viewport() const : QWidget *
- viewportEvent(QEvent *) : bool
- viewportMargins() const : QMargins
- viewportSizeHint() const : QSize
- visibleRegion() const : QRegion
- visualColumn(int ) const : int
- visualItemRect(const QTableWidgetItem *) const : QRect
- visualRect(const QModelIndex &) const : QRect
- visualRegionForSelection(const QItemSelection &) const : QRegion
- visualRow(int ) const : int
- whatsThis() const : QString
- wheelEvent(QWheelEvent *)
- width() 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