QTableView
The QTableView class provides a default model/view implementation of a table view.
This class is a JS wrapper around Qt's QTableView class
Example
const { QTableView } = require("@nodegui/nodegui");
const tableview = new QTableView();
Type parameters
▪ Signals: QTableViewSignals
Hierarchy
↳ QAbstractItemView‹Signals›
↳ QTableView
Index
Constructors
Properties
Methods
- _id
- acceptDrops
- accessibleDescription
- accessibleName
- activateWindow
- addAction
- addEventListener
- adjustSize
- alternatingRowColors
- autoFillBackground
- autoScrollMargin
- baseSize
- childAt
- children
- childrenRect
- clearFocus
- clearMask
- clearSelection
- clearSpans
- close
- closePersistentEditor
- colorCount
- columnAt
- columnSpan
- columnViewportPosition
- columnWidth
- contentsRect
- contextMenuPolicy
- currentIndex
- defaultDropAction
- delete
- deleteLater
- depth
- devicePixelRatio
- devicePixelRatioF
- dragDropMode
- dragDropOverwriteMode
- dragEnabled
- dumpObjectInfo
- dumpObjectTree
- edit
- editTriggers
- ensurePolished
- eventProcessed
- focusProxy
- focusWidget
- font
- frameGeometry
- frameRect
- frameShadow
- frameShape
- frameSize
- frameStyle
- frameWidth
- geometry
- getFlexNode
- grab
- grabKeyboard
- grabMouse
- gridStyle
- hasAutoScroll
- hasFocus
- hasHeightForWidth
- hasMouseTracking
- hasTabletTracking
- height
- heightForWidth
- heightMM
- hide
- hideColumn
- hideRow
- horizontalHeader
- horizontalScrollBar
- horizontalScrollMode
- iconSize
- indexAt
- indexWidget
- inherits
- inputMethodHints
- isActiveWindow
- isAncestorOf
- isColumnHidden
- isCornerButtonEnabled
- isEnabled
- isEnabledTo
- isFullScreen
- isHidden
- isMaximized
- isMinimized
- isModal
- isPersistentEditorOpen
- isRowHidden
- isSortingEnabled
- isVisible
- isVisibleTo
- isWindow
- isWindowModified
- keyboardSearch
- killTimer
- layout
- lineWidth
- logicalDpiX
- logicalDpiY
- lower
- mapFrom
- mapFromGlobal
- mapFromParent
- mapTo
- mapToGlobal
- mapToParent
- maximumHeight
- maximumSize
- maximumViewportSize
- maximumWidth
- midLineWidth
- minimumHeight
- minimumSize
- minimumSizeHint
- minimumWidth
- move
- nativeParentWidget
- nextInFocusChain
- normalGeometry
- objectName
- openPersistentEditor
- paintingActive
- parent
- parentWidget
- physicalDpiX
- physicalDpiY
- pos
- previousInFocusChain
- property
- raise
- rect
- releaseKeyboard
- releaseMouse
- releaseShortcut
- removeAction
- removeEventListener
- repaint
- repolish
- reset
- resetHorizontalScrollMode
- resetVerticalScrollMode
- resize
- resizeColumnToContents
- resizeColumnsToContents
- resizeRowToContents
- resizeRowsToContents
- rootIndex
- rowAt
- rowHeight
- rowSpan
- rowViewportPosition
- scrollTo
- scrollToBottom
- scrollToTop
- selectAll
- selectColumn
- selectRow
- selectionBehavior
- selectionMode
- selectionModel
- setAcceptDrops
- setAccessibleDescription
- setAccessibleName
- setAlternatingRowColors
- setAttribute
- setAutoFillBackground
- setAutoScroll
- setAutoScrollMargin
- setBaseSize
- setColumnHidden
- setColumnWidth
- setContentsMargins
- setContextMenuPolicy
- setCornerButtonEnabled
- setCurrentIndex
- setCursor
- setDefaultDropAction
- setDisabled
- setDragDropMode
- setDragDropOverwriteMode
- setDragEnabled
- setDropIndicatorShown
- setEditTriggers
- setEnabled
- setEventProcessed
- setFixedHeight
- setFixedSize
- setFixedWidth
- setFlexNodeSizeControlled
- setFocus
- setFocusPolicy
- setFocusProxy
- setFont
- setFrameRect
- setFrameShadow
- setFrameShape
- setFrameStyle
- setGeometry
- setGraphicsEffect
- setGridStyle
- setHidden
- setHorizontalScrollBar
- setHorizontalScrollBarPolicy
- setHorizontalScrollMode
- setIconSize
- setIndexWidget
- setInlineStyle
- setInputMethodHints
- setItemDelegate
- setItemDelegateForColumn
- setItemDelegateForRow
- setLayout
- setLineWidth
- setMaximumHeight
- setMaximumSize
- setMaximumWidth
- setMidLineWidth
- setMinimumHeight
- setMinimumSize
- setMinimumWidth
- setModel
- setMouseTracking
- setObjectName
- setParent
- setProperty
- setRootIndex
- setRowHeight
- setRowHidden
- setSelectionBehavior
- setSelectionMode
- setShortcutAutoRepeat
- setShortcutEnabled
- setShowGrid
- setSizeIncrement
- setSizePolicy
- setSortingEnabled
- setSpan
- setStatusTip
- setStyleSheet
- setTabKeyNavigation
- setTabletTracking
- setTextElideMode
- setToolTip
- setToolTipDuration
- setUpdatesEnabled
- setVerticalScrollBar
- setVerticalScrollBarPolicy
- setVerticalScrollMode
- setViewport
- setVisible
- setWhatsThis
- setWindowFilePath
- setWindowFlag
- setWindowIcon
- setWindowModified
- setWindowOpacity
- setWindowRole
- setWindowState
- setWindowTitle
- setWordWrap
- show
- showColumn
- showDropIndicator
- showFullScreen
- showGrid
- showMaximized
- showMinimized
- showNormal
- showRow
- size
- sizeHint
- sizeHintForIndex
- sizeIncrement
- sortByColumn
- stackUnder
- startTimer
- statusTip
- style
- styleSheet
- tabKeyNavigation
- testAttribute
- textElideMode
- toolTip
- toolTipDuration
- underMouse
- unsetCursor
- unsetLayoutDirection
- unsetLocale
- update
- updateGeometry
- updateMicroFocus
- updatesEnabled
- verticalHeader
- verticalScrollBar
- verticalScrollMode
- viewport
- visualRect
- whatsThis
- width
- widthMM
- winId
- window
- windowFilePath
- windowHandle
- windowIcon
- windowOpacity
- windowRole
- windowState
- windowTitle
- wordWrap
- x
- y
Constructors
constructor
+ new QTableView(arg?
: QWidget