KLayout 0.29.8 (2024-10-28 63dd591e5) [master]

API reference - Class QTableView

Notation used in Ruby API documentation

Module: QtWidgets

Description: Binding of QTableView

Class hierarchy: QTableView » QAbstractItemView » QAbstractScrollArea » QFrame » QWidget » QObject

Public constructors

new QTableViewnew(QWidget ptr parent = nullptr)Constructor QTableView::QTableView(QWidget *parent)

Public methods

[const]QTableView ptr_const_castReturns a non-const reference to self.
void_createEnsures the C++ object is created
void_destroyExplicitly destroys the object
[const]bool_destroyed?Returns a value indicating whether the object was already destroyed
[const]bool_is_const_object?Returns a value indicating whether the reference is a const reference
void_manageMarks the object as managed by the script side.
void_unmanageMarks the object as no longer owned by the script side.
[signal]voidactivated(const QModelIndex index)Signal declaration for QTableView::activated(const QModelIndex &index)
voidclearSpansMethod void QTableView::clearSpans()
[signal]voidclicked(const QModelIndex index)Signal declaration for QTableView::clicked(const QModelIndex &index)
[const]intcolumnAt(int x)Method int QTableView::columnAt(int x)
[const]intcolumnSpan(int row,
int column)
Method int QTableView::columnSpan(int row, int column)
[const]intcolumnViewportPosition(int column)Method int QTableView::columnViewportPosition(int column)
[const]intcolumnWidth(int column)Method int QTableView::columnWidth(int column)
[const]boolcornerButtonEnabledMethod bool QTableView::isCornerButtonEnabled()
voidcornerButtonEnabled=(bool enable)Method void QTableView::setCornerButtonEnabled(bool enable)
[signal]voidcustomContextMenuRequested(const QPoint pos)Signal declaration for QTableView::customContextMenuRequested(const QPoint &pos)
[signal]voiddestroyed(QObject ptr arg1)Signal declaration for QTableView::destroyed(QObject *)
voiddoItemsLayoutVirtual method void QTableView::doItemsLayout()
[signal]voiddoubleClicked(const QModelIndex index)Signal declaration for QTableView::doubleClicked(const QModelIndex &index)
voidemit_activated(const QModelIndex index)Emitter for signal void QTableView::activated(const QModelIndex &index)
voidemit_clicked(const QModelIndex index)Emitter for signal void QTableView::clicked(const QModelIndex &index)
voidemit_customContextMenuRequested(const QPoint pos)Emitter for signal void QTableView::customContextMenuRequested(const QPoint &pos)
voidemit_destroyed(QObject ptr arg1 = nullptr)Emitter for signal void QTableView::destroyed(QObject *)
voidemit_doubleClicked(const QModelIndex index)Emitter for signal void QTableView::doubleClicked(const QModelIndex &index)
voidemit_entered(const QModelIndex index)Emitter for signal void QTableView::entered(const QModelIndex &index)
voidemit_iconSizeChanged(const QSize size)Emitter for signal void QTableView::iconSizeChanged(const QSize &size)
voidemit_objectNameChanged(string objectName)Emitter for signal void QTableView::objectNameChanged(const QString &objectName)
voidemit_pressed(const QModelIndex index)Emitter for signal void QTableView::pressed(const QModelIndex &index)
voidemit_viewportEnteredEmitter for signal void QTableView::viewportEntered()
voidemit_windowIconChanged(const QIcon icon)Emitter for signal void QTableView::windowIconChanged(const QIcon &icon)
voidemit_windowIconTextChanged(string iconText)Emitter for signal void QTableView::windowIconTextChanged(const QString &iconText)
voidemit_windowTitleChanged(string title)Emitter for signal void QTableView::windowTitleChanged(const QString &title)
[signal]voidentered(const QModelIndex index)Signal declaration for QTableView::entered(const QModelIndex &index)
[const]Qt_PenStylegridStyleMethod Qt::PenStyle QTableView::gridStyle()
voidgridStyle=(const Qt_PenStyle style)Method void QTableView::setGridStyle(Qt::PenStyle style)
[const]boolhasHeightForWidthVirtual method bool QTableView::hasHeightForWidth()
[const]intheightForWidth(int arg1)Virtual method int QTableView::heightForWidth(int)
voidhideColumn(int column)Method void QTableView::hideColumn(int column)
voidhideRow(int row)Method void QTableView::hideRow(int row)
[const]QHeaderView ptrhorizontalHeaderMethod QHeaderView *QTableView::horizontalHeader()
voidhorizontalHeader=(QHeaderView ptr header)Method void QTableView::setHorizontalHeader(QHeaderView *header)
[signal]voidiconSizeChanged(const QSize size)Signal declaration for QTableView::iconSizeChanged(const QSize &size)
[const]QModelIndexindexAt(const QPoint p)Virtual method QModelIndex QTableView::indexAt(const QPoint &p)
[const]variantinputMethodQuery(const Qt_InputMethodQuery query)Virtual method QVariant QTableView::inputMethodQuery(Qt::InputMethodQuery query)
[const]boolisColumnHidden?(int column)Method bool QTableView::isColumnHidden(int column)
[const]boolisCornerButtonEnabled?Method bool QTableView::isCornerButtonEnabled()
[const]boolisRowHidden?(int row)Method bool QTableView::isRowHidden(int row)
[const]boolisSortingEnabled?Method bool QTableView::isSortingEnabled()
voidkeyboardSearch(string search)Virtual method void QTableView::keyboardSearch(const QString &search)
[const]QSizeminimumSizeHintVirtual method QSize QTableView::minimumSizeHint()
voidmodel=(QAbstractItemModel ptr model)Method void QTableView::setModel(QAbstractItemModel *model)
[signal]voidobjectNameChanged(string objectName)Signal declaration for QTableView::objectNameChanged(const QString &objectName)
[const]QPaintEngine ptrpaintEngineVirtual method QPaintEngine *QTableView::paintEngine()
[signal]voidpressed(const QModelIndex index)Signal declaration for QTableView::pressed(const QModelIndex &index)
voidresetVirtual method void QTableView::reset()
voidresizeColumnToContents(int column)Method void QTableView::resizeColumnToContents(int column)
voidresizeColumnsToContentsMethod void QTableView::resizeColumnsToContents()
voidresizeRowToContents(int row)Method void QTableView::resizeRowToContents(int row)
voidresizeRowsToContentsMethod void QTableView::resizeRowsToContents()
voidrootIndex=(const QModelIndex index)Method void QTableView::setRootIndex(const QModelIndex &index)
[const]introwAt(int y)Method int QTableView::rowAt(int y)
[const]introwHeight(int row)Method int QTableView::rowHeight(int row)
[const]introwSpan(int row,
int column)
Method int QTableView::rowSpan(int row, int column)
[const]introwViewportPosition(int row)Method int QTableView::rowViewportPosition(int row)
voidscrollTo(const QModelIndex index,
const QAbstractItemView_ScrollHint hint)
Virtual method void QTableView::scrollTo(const QModelIndex &index, QAbstractItemView::ScrollHint hint)
voidselectAllVirtual method void QTableView::selectAll()
voidselectColumn(int column)Method void QTableView::selectColumn(int column)
voidselectRow(int row)Method void QTableView::selectRow(int row)
voidselectionModel=(QItemSelectionModel ptr selectionModel)Method void QTableView::setSelectionModel(QItemSelectionModel *selectionModel)
voidsetColumnHidden(int column,
bool hide)
Method void QTableView::setColumnHidden(int column, bool hide)
voidsetColumnWidth(int column,
int width)
Method void QTableView::setColumnWidth(int column, int width)
voidsetCornerButtonEnabled(bool enable)Method void QTableView::setCornerButtonEnabled(bool enable)
voidsetGridStyle(const Qt_PenStyle style)Method void QTableView::setGridStyle(Qt::PenStyle style)
voidsetHorizontalHeader(QHeaderView ptr header)Method void QTableView::setHorizontalHeader(QHeaderView *header)
voidsetModel(QAbstractItemModel ptr model)Virtual method void QTableView::setModel(QAbstractItemModel *model)
voidsetRootIndex(const QModelIndex index)Virtual method void QTableView::setRootIndex(const QModelIndex &index)
voidsetRowHeight(int row,
int height)
Method void QTableView::setRowHeight(int row, int height)
voidsetRowHidden(int row,
bool hide)
Method void QTableView::setRowHidden(int row, bool hide)
voidsetSelectionModel(QItemSelectionModel ptr selectionModel)Virtual method void QTableView::setSelectionModel(QItemSelectionModel *selectionModel)
voidsetShowGrid(bool show)Method void QTableView::setShowGrid(bool show)
voidsetSortingEnabled(bool enable)Method void QTableView::setSortingEnabled(bool enable)
voidsetSpan(int row,
int column,
int rowSpan,
int columnSpan)
Method void QTableView::setSpan(int row, int column, int rowSpan, int columnSpan)
voidsetVerticalHeader(QHeaderView ptr header)Method void QTableView::setVerticalHeader(QHeaderView *header)
voidsetVisible(bool visible)Virtual method void QTableView::setVisible(bool visible)
voidsetWordWrap(bool on)Method void QTableView::setWordWrap(bool on)
voidsetupViewport(QWidget ptr viewport)Virtual method void QTableView::setupViewport(QWidget *viewport)
voidshowColumn(int column)Method void QTableView::showColumn(int column)
[const]boolshowGridMethod bool QTableView::showGrid()
voidshowGrid=(bool show)Method void QTableView::setShowGrid(bool show)
voidshowRow(int row)Method void QTableView::showRow(int row)
[const]QSizesizeHintVirtual method QSize QTableView::sizeHint()
voidsortByColumn(int column,
const Qt_SortOrder order)
Method void QTableView::sortByColumn(int column, Qt::SortOrder order)
voidsortByColumn(int column)Method void QTableView::sortByColumn(int column)
[const]boolsortingEnabledMethod bool QTableView::isSortingEnabled()
voidsortingEnabled=(bool enable)Method void QTableView::setSortingEnabled(bool enable)
[const]QHeaderView ptrverticalHeaderMethod QHeaderView *QTableView::verticalHeader()
voidverticalHeader=(QHeaderView ptr header)Method void QTableView::setVerticalHeader(QHeaderView *header)
[signal]voidviewportEnteredSignal declaration for QTableView::viewportEntered()
[const]QRectvisualRect(const QModelIndex index)Virtual method QRect QTableView::visualRect(const QModelIndex &index)
[signal]voidwindowIconChanged(const QIcon icon)Signal declaration for QTableView::windowIconChanged(const QIcon &icon)
[signal]voidwindowIconTextChanged(string iconText)Signal declaration for QTableView::windowIconTextChanged(const QString &iconText)
[signal]voidwindowTitleChanged(string title)Signal declaration for QTableView::windowTitleChanged(const QString &title)
[const]boolwordWrapMethod bool QTableView::wordWrap()
voidwordWrap=(bool on)Method void QTableView::setWordWrap(bool on)

Public static methods and constants

QMetaObjectstaticMetaObjectObtains the static MetaObject for this class.
stringtr(string s,
string c = nullptr,
int n = -1)
Static method QString QTableView::tr(const char *s, const char *c, int n)
stringtrUtf8(string s,
string c = nullptr,
int n = -1)
Static method QString QTableView::trUtf8(const char *s, const char *c, int n)

Protected methods (static, non-static and constructors)

voidactionEvent(QActionEvent ptr event)Virtual method void QTableView::actionEvent(QActionEvent *event)
voidchangeEvent(QEvent ptr arg1)Virtual method void QTableView::changeEvent(QEvent *)
voidchildEvent(QChildEvent ptr event)Virtual method void QTableView::childEvent(QChildEvent *event)
voidcloseEditor(QWidget ptr editor,
const QAbstractItemDelegate_EndEditHint hint)
Virtual method void QTableView::closeEditor(QWidget *editor, QAbstractItemDelegate::EndEditHint hint)
voidcloseEvent(QCloseEvent ptr event)Virtual method void QTableView::closeEvent(QCloseEvent *event)
voidcolumnCountChanged(int oldCount,
int newCount)
Method void QTableView::columnCountChanged(int oldCount, int newCount)
voidcolumnMoved(int column,
int oldIndex,
int newIndex)
Method void QTableView::columnMoved(int column, int oldIndex, int newIndex)
voidcolumnResized(int column,
int oldWidth,
int newWidth)
Method void QTableView::columnResized(int column, int oldWidth, int newWidth)
voidcommitData(QWidget ptr editor)Virtual method void QTableView::commitData(QWidget *editor)
voidcontextMenuEvent(QContextMenuEvent ptr arg1)Virtual method void QTableView::contextMenuEvent(QContextMenuEvent *)
voidcreate(unsigned long long arg1 = 0,
bool initializeWindow = true,
bool destroyOldWindow = true)
Method void QTableView::create(WId, bool initializeWindow, bool destroyOldWindow)
voidcurrentChanged(const QModelIndex current,
const QModelIndex previous)
Virtual method void QTableView::currentChanged(const QModelIndex &current, const QModelIndex &previous)
voidcustomEvent(QEvent ptr event)Virtual method void QTableView::customEvent(QEvent *event)
voiddataChanged(const QModelIndex topLeft,
const QModelIndex bottomRight,
int[] roles)
Virtual method void QTableView::dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector<int> &roles)
voiddestroy(bool destroyWindow = true,
bool destroySubWindows = true)
Method void QTableView::destroy(bool destroyWindow, bool destroySubWindows)
[const]QPointdirtyRegionOffsetMethod QPoint QTableView::dirtyRegionOffset()
voiddisconnectNotify(const QMetaMethod signal)Virtual method void QTableView::disconnectNotify(const QMetaMethod &signal)
voiddoAutoScrollMethod void QTableView::doAutoScroll()
voiddragEnterEvent(QDragEnterEvent ptr event)Virtual method void QTableView::dragEnterEvent(QDragEnterEvent *event)
voiddragLeaveEvent(QDragLeaveEvent ptr event)Virtual method void QTableView::dragLeaveEvent(QDragLeaveEvent *event)
voiddragMoveEvent(QDragMoveEvent ptr event)Virtual method void QTableView::dragMoveEvent(QDragMoveEvent *event)
voiddrawFrame(QPainter ptr arg1)Method void QTableView::drawFrame(QPainter *)
voiddropEvent(QDropEvent ptr event)Virtual method void QTableView::dropEvent(QDropEvent *event)
[const]unsigned intdropIndicatorPositionMethod QAbstractItemView::DropIndicatorPosition QTableView::dropIndicatorPosition()
booledit(const QModelIndex index,
const QAbstractItemView_EditTrigger trigger,
QEvent ptr event)
Virtual method bool QTableView::edit(const QModelIndex &index, QAbstractItemView::EditTrigger trigger, QEvent *event)
voideditorDestroyed(QObject ptr editor)Virtual method void QTableView::editorDestroyed(QObject *editor)
voidenterEvent(QEvent ptr event)Virtual method void QTableView::enterEvent(QEvent *event)
boolevent(QEvent ptr event)Virtual method bool QTableView::event(QEvent *event)
booleventFilter(QObject ptr object,
QEvent ptr event)
Virtual method bool QTableView::eventFilter(QObject *object, QEvent *event)
voidexecuteDelayedItemsLayoutMethod void QTableView::executeDelayedItemsLayout()
voidfocusInEvent(QFocusEvent ptr event)Virtual method void QTableView::focusInEvent(QFocusEvent *event)
boolfocusNextChildMethod bool QTableView::focusNextChild()
boolfocusNextPrevChild(bool next)Virtual method bool QTableView::focusNextPrevChild(bool next)
voidfocusOutEvent(QFocusEvent ptr event)Virtual method void QTableView::focusOutEvent(QFocusEvent *event)
boolfocusPreviousChildMethod bool QTableView::focusPreviousChild()
voidhideEvent(QHideEvent ptr event)Virtual method void QTableView::hideEvent(QHideEvent *event)
[const]inthorizontalOffsetVirtual method int QTableView::horizontalOffset()
voidhorizontalScrollbarAction(int action)Virtual method void QTableView::horizontalScrollbarAction(int action)
voidhorizontalScrollbarValueChanged(int value)Virtual method void QTableView::horizontalScrollbarValueChanged(int value)
[const]inthorizontalStepsPerItemMethod int QTableView::horizontalStepsPerItem()
[const]voidinitPainter(QPainter ptr painter)Virtual method void QTableView::initPainter(QPainter *painter)
[const]voidinitStyleOption(QStyleOptionFrame ptr option)Method void QTableView::initStyleOption(QStyleOptionFrame *option)
voidinputMethodEvent(QInputMethodEvent ptr event)Virtual method void QTableView::inputMethodEvent(QInputMethodEvent *event)
[const]boolisIndexHidden(const QModelIndex index)Virtual method bool QTableView::isIndexHidden(const QModelIndex &index)
[const]boolisSignalConnected(const QMetaMethod signal)Method bool QTableView::isSignalConnected(const QMetaMethod &signal)
voidkeyPressEvent(QKeyEvent ptr event)Virtual method void QTableView::keyPressEvent(QKeyEvent *event)
voidkeyReleaseEvent(QKeyEvent ptr event)Virtual method void QTableView::keyReleaseEvent(QKeyEvent *event)
voidleaveEvent(QEvent ptr event)Virtual method void QTableView::leaveEvent(QEvent *event)
[const]intmetric(const QPaintDevice_PaintDeviceMetric arg1)Virtual method int QTableView::metric(QPaintDevice::PaintDeviceMetric)
voidmouseDoubleClickEvent(QMouseEvent ptr event)Virtual method void QTableView::mouseDoubleClickEvent(QMouseEvent *event)
voidmouseMoveEvent(QMouseEvent ptr event)Virtual method void QTableView::mouseMoveEvent(QMouseEvent *event)
voidmousePressEvent(QMouseEvent ptr event)Virtual method void QTableView::mousePressEvent(QMouseEvent *event)
voidmouseReleaseEvent(QMouseEvent ptr event)Virtual method void QTableView::mouseReleaseEvent(QMouseEvent *event)
QModelIndexmoveCursor(unsigned int cursorAction,
Qt_QFlags_KeyboardModifier modifiers)
Virtual method QModelIndex QTableView::moveCursor(QAbstractItemView::CursorAction cursorAction, QFlags<Qt::KeyboardModifier> modifiers)
voidmoveEvent(QMoveEvent ptr event)Virtual method void QTableView::moveEvent(QMoveEvent *event)
boolnativeEvent(bytes eventType,
void * message,
long ptr result)
Virtual method bool QTableView::nativeEvent(const QByteArray &eventType, void *message, long int *result)
voidpaintEvent(QPaintEvent ptr e)Virtual method void QTableView::paintEvent(QPaintEvent *e)
voidqt_create(unsigned long long arg1 = 0,
bool initializeWindow = true,
bool destroyOldWindow = true)
Method void QTableView::create(WId, bool initializeWindow, bool destroyOldWindow)
voidqt_destroy(bool destroyWindow = true,
bool destroySubWindows = true)
Method void QTableView::destroy(bool destroyWindow, bool destroySubWindows)
[const]intreceivers(string signal)Method int QTableView::receivers(const char *signal)
[const]QPaintDevice ptrredirected(QPoint ptr offset)Virtual method QPaintDevice *QTableView::redirected(QPoint *offset)
voidresizeEvent(QResizeEvent ptr event)Virtual method void QTableView::resizeEvent(QResizeEvent *event)
voidrowCountChanged(int oldCount,
int newCount)
Method void QTableView::rowCountChanged(int oldCount, int newCount)
voidrowMoved(int row,
int oldIndex,
int newIndex)
Method void QTableView::rowMoved(int row, int oldIndex, int newIndex)
voidrowResized(int row,
int oldHeight,
int newHeight)
Method void QTableView::rowResized(int row, int oldHeight, int newHeight)
voidrowsAboutToBeRemoved(const QModelIndex parent,
int start,
int end)
Virtual method void QTableView::rowsAboutToBeRemoved(const QModelIndex &parent, int start, int end)
voidrowsInserted(const QModelIndex parent,
int start,
int end)
Virtual method void QTableView::rowsInserted(const QModelIndex &parent, int start, int end)
voidscheduleDelayedItemsLayoutMethod void QTableView::scheduleDelayedItemsLayout()
voidscrollContentsBy(int dx,
int dy)
Virtual method void QTableView::scrollContentsBy(int dx, int dy)
voidscrollDirtyRegion(int dx,
int dy)
Method void QTableView::scrollDirtyRegion(int dx, int dy)
[const]QModelIndex[]selectedIndexesVirtual method QList<QModelIndex> QTableView::selectedIndexes()
voidselectionChanged(const QItemSelection selected,
const QItemSelection deselected)
Virtual method void QTableView::selectionChanged(const QItemSelection &selected, const QItemSelection &deselected)
[const]QItemSelectionModel_QFlags_SelectionFlagselectionCommand(const QModelIndex index,
const QEvent ptr event)
Virtual method QFlags<QItemSelectionModel::SelectionFlag> QTableView::selectionCommand(const QModelIndex &index, const QEvent *event)
[const]QObject ptrsenderMethod QObject *QTableView::sender()
[const]intsenderSignalIndexMethod int QTableView::senderSignalIndex()
voidsetDirtyRegion(const QRegion region)Method void QTableView::setDirtyRegion(const QRegion &region)
voidsetHorizontalStepsPerItem(int steps)Method void QTableView::setHorizontalStepsPerItem(int steps)
voidsetSelection(const QRect rect,
QItemSelectionModel_QFlags_SelectionFlag command)
Virtual method void QTableView::setSelection(const QRect &rect, QFlags<QItemSelectionModel::SelectionFlag> command)
voidsetState(unsigned int state)Method void QTableView::setState(QAbstractItemView::State state)
voidsetVerticalStepsPerItem(int steps)Method void QTableView::setVerticalStepsPerItem(int steps)
voidsetViewportMargins(int left,
int top,
int right,
int bottom)
Method void QTableView::setViewportMargins(int left, int top, int right, int bottom)
voidsetViewportMargins(const QMargins margins)Method void QTableView::setViewportMargins(const QMargins &margins)
[const]QPainter ptrsharedPainterVirtual method QPainter *QTableView::sharedPainter()
voidshowEvent(QShowEvent ptr event)Virtual method void QTableView::showEvent(QShowEvent *event)
[const]intsizeHintForColumn(int column)Virtual method int QTableView::sizeHintForColumn(int column)
[const]intsizeHintForRow(int row)Virtual method int QTableView::sizeHintForRow(int row)
voidstartAutoScrollMethod void QTableView::startAutoScroll()
voidstartDrag(Qt_QFlags_DropAction supportedActions)Virtual method void QTableView::startDrag(QFlags<Qt::DropAction> supportedActions)
[const]unsigned intstateMethod QAbstractItemView::State QTableView::state()
voidstopAutoScrollMethod void QTableView::stopAutoScroll()
voidtabletEvent(QTabletEvent ptr event)Virtual method void QTableView::tabletEvent(QTabletEvent *event)
voidtimerEvent(QTimerEvent ptr event)Virtual method void QTableView::timerEvent(QTimerEvent *event)
voidupdateEditorDataVirtual method void QTableView::updateEditorData()
voidupdateEditorGeometriesVirtual method void QTableView::updateEditorGeometries()
voidupdateGeometriesVirtual method void QTableView::updateGeometries()
voidupdateMicroFocusMethod void QTableView::updateMicroFocus()
[const]intverticalOffsetVirtual method int QTableView::verticalOffset()
voidverticalScrollbarAction(int action)Virtual method void QTableView::verticalScrollbarAction(int action)
voidverticalScrollbarValueChanged(int value)Virtual method void QTableView::verticalScrollbarValueChanged(int value)
[const]intverticalStepsPerItemMethod int QTableView::verticalStepsPerItem()
[const]QStyleOptionViewItemviewOptionsVirtual method QStyleOptionViewItem QTableView::viewOptions()
boolviewportEvent(QEvent ptr event)Virtual method bool QTableView::viewportEvent(QEvent *event)
[const]QMarginsviewportMarginsMethod QMargins QTableView::viewportMargins()
[const]QSizeviewportSizeHintVirtual method QSize QTableView::viewportSizeHint()
[const]QRegionvisualRegionForSelection(const QItemSelection selection)Virtual method QRegion QTableView::visualRegionForSelection(const QItemSelection &selection)
voidwheelEvent(QWheelEvent ptr arg1)Virtual method void QTableView::wheelEvent(QWheelEvent *)

Detailed description

_const_cast

Signature: [const] QTableView ptr _const_cast

Description: Returns a non-const reference to self.

Basically, this method allows turning a const object reference to a non-const one. This method is provided as last resort to remove the constness from an object. Usually there is a good reason for a const object reference, so using this method may have undesired side effects.

This method has been introduced in version 0.29.6.

_create

Signature: void _create

Description: Ensures the C++ object is created

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

_destroy

Signature: void _destroy

Description: Explicitly destroys the object

Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing.

_destroyed?

Signature: [const] bool _destroyed?

Description: Returns a value indicating whether the object was already destroyed

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

_is_const_object?

Signature: [const] bool _is_const_object?

Description: Returns a value indicating whether the reference is a const reference

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

_manage

Signature: void _manage

Description: Marks the object as managed by the script side.

After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required.

Usually it's not required to call this method. It has been introduced in version 0.24.

_unmanage

Signature: void _unmanage

Description: Marks the object as no longer owned by the script side.

Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur.

Usually it's not required to call this method. It has been introduced in version 0.24.

actionEvent

Signature: void actionEvent (QActionEvent ptr event)

Description: Virtual method void QTableView::actionEvent(QActionEvent *event)

This method can be reimplemented in a derived class.

activated

Signature: [signal] void activated (const QModelIndex index)

Description: Signal declaration for QTableView::activated(const QModelIndex &index)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'activated'. This is the getter.
The object exposes a writable attribute 'activated'. This is the setter.

changeEvent

Signature: void changeEvent (QEvent ptr arg1)

Description: Virtual method void QTableView::changeEvent(QEvent *)

This method can be reimplemented in a derived class.

childEvent

Signature: void childEvent (QChildEvent ptr event)

Description: Virtual method void QTableView::childEvent(QChildEvent *event)

This method can be reimplemented in a derived class.

clearSpans

Signature: void clearSpans

Description: Method void QTableView::clearSpans()

clicked

Signature: [signal] void clicked (const QModelIndex index)

Description: Signal declaration for QTableView::clicked(const QModelIndex &index)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'clicked'. This is the getter.
The object exposes a writable attribute 'clicked'. This is the setter.

closeEditor

Signature: void closeEditor (QWidget ptr editor, const QAbstractItemDelegate_EndEditHint hint)

Description: Virtual method void QTableView::closeEditor(QWidget *editor, QAbstractItemDelegate::EndEditHint hint)

This method can be reimplemented in a derived class.

closeEvent

Signature: void closeEvent (QCloseEvent ptr event)

Description: Virtual method void QTableView::closeEvent(QCloseEvent *event)

This method can be reimplemented in a derived class.

columnAt

Signature: [const] int columnAt (int x)

Description: Method int QTableView::columnAt(int x)

columnCountChanged

Signature: void columnCountChanged (int oldCount, int newCount)

Description: Method void QTableView::columnCountChanged(int oldCount, int newCount)

This method is protected and can only be called from inside a derived class.

columnMoved

Signature: void columnMoved (int column, int oldIndex, int newIndex)

Description: Method void QTableView::columnMoved(int column, int oldIndex, int newIndex)

This method is protected and can only be called from inside a derived class.

columnResized

Signature: void columnResized (int column, int oldWidth, int newWidth)

Description: Method void QTableView::columnResized(int column, int oldWidth, int newWidth)

This method is protected and can only be called from inside a derived class.

columnSpan

Signature: [const] int columnSpan (int row, int column)

Description: Method int QTableView::columnSpan(int row, int column)

columnViewportPosition

Signature: [const] int columnViewportPosition (int column)

Description: Method int QTableView::columnViewportPosition(int column)

columnWidth

Signature: [const] int columnWidth (int column)

Description: Method int QTableView::columnWidth(int column)

commitData

Signature: void commitData (QWidget ptr editor)

Description: Virtual method void QTableView::commitData(QWidget *editor)

This method can be reimplemented in a derived class.

contextMenuEvent

Signature: void contextMenuEvent (QContextMenuEvent ptr arg1)

Description: Virtual method void QTableView::contextMenuEvent(QContextMenuEvent *)

This method can be reimplemented in a derived class.

cornerButtonEnabled

Signature: [const] bool cornerButtonEnabled

Description: Method bool QTableView::isCornerButtonEnabled()

Python specific notes:
The object exposes a readable attribute 'cornerButtonEnabled'. This is the getter.

cornerButtonEnabled=

Signature: void cornerButtonEnabled= (bool enable)

Description: Method void QTableView::setCornerButtonEnabled(bool enable)

Python specific notes:
The object exposes a writable attribute 'cornerButtonEnabled'. This is the setter.

create

Signature: void create (unsigned long long arg1 = 0, bool initializeWindow = true, bool destroyOldWindow = true)

Description: Method void QTableView::create(WId, bool initializeWindow, bool destroyOldWindow)

This method is protected and can only be called from inside a derived class.

currentChanged

Signature: void currentChanged (const QModelIndex current, const QModelIndex previous)

Description: Virtual method void QTableView::currentChanged(const QModelIndex &current, const QModelIndex &previous)

This method can be reimplemented in a derived class.

customContextMenuRequested

Signature: [signal] void customContextMenuRequested (const QPoint pos)

Description: Signal declaration for QTableView::customContextMenuRequested(const QPoint &pos)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'customContextMenuRequested'. This is the getter.
The object exposes a writable attribute 'customContextMenuRequested'. This is the setter.

customEvent

Signature: void customEvent (QEvent ptr event)

Description: Virtual method void QTableView::customEvent(QEvent *event)

This method can be reimplemented in a derived class.

dataChanged

Signature: void dataChanged (const QModelIndex topLeft, const QModelIndex bottomRight, int[] roles)

Description: Virtual method void QTableView::dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector<int> &roles)

This method can be reimplemented in a derived class.

destroy

Signature: void destroy (bool destroyWindow = true, bool destroySubWindows = true)

Description: Method void QTableView::destroy(bool destroyWindow, bool destroySubWindows)

This method is protected and can only be called from inside a derived class.

destroyed

Signature: [signal] void destroyed (QObject ptr arg1)

Description: Signal declaration for QTableView::destroyed(QObject *)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'destroyed'. This is the getter.
The object exposes a writable attribute 'destroyed'. This is the setter.

dirtyRegionOffset

Signature: [const] QPoint dirtyRegionOffset

Description: Method QPoint QTableView::dirtyRegionOffset()

This method is protected and can only be called from inside a derived class.

disconnectNotify

Signature: void disconnectNotify (const QMetaMethod signal)

Description: Virtual method void QTableView::disconnectNotify(const QMetaMethod &signal)

This method can be reimplemented in a derived class.

doAutoScroll

Signature: void doAutoScroll

Description: Method void QTableView::doAutoScroll()

This method is protected and can only be called from inside a derived class.

doItemsLayout

Signature: void doItemsLayout

Description: Virtual method void QTableView::doItemsLayout()

This method can be reimplemented in a derived class.

doubleClicked

Signature: [signal] void doubleClicked (const QModelIndex index)

Description: Signal declaration for QTableView::doubleClicked(const QModelIndex &index)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'doubleClicked'. This is the getter.
The object exposes a writable attribute 'doubleClicked'. This is the setter.

dragEnterEvent

Signature: void dragEnterEvent (QDragEnterEvent ptr event)

Description: Virtual method void QTableView::dragEnterEvent(QDragEnterEvent *event)

This method can be reimplemented in a derived class.

dragLeaveEvent

Signature: void dragLeaveEvent (QDragLeaveEvent ptr event)

Description: Virtual method void QTableView::dragLeaveEvent(QDragLeaveEvent *event)

This method can be reimplemented in a derived class.

dragMoveEvent

Signature: void dragMoveEvent (QDragMoveEvent ptr event)

Description: Virtual method void QTableView::dragMoveEvent(QDragMoveEvent *event)

This method can be reimplemented in a derived class.

drawFrame

Signature: void drawFrame (QPainter ptr arg1)

Description: Method void QTableView::drawFrame(QPainter *)

This method is protected and can only be called from inside a derived class.

dropEvent

Signature: void dropEvent (QDropEvent ptr event)

Description: Virtual method void QTableView::dropEvent(QDropEvent *event)

This method can be reimplemented in a derived class.

dropIndicatorPosition

Signature: [const] unsigned int dropIndicatorPosition

Description: Method QAbstractItemView::DropIndicatorPosition QTableView::dropIndicatorPosition()

This method is protected and can only be called from inside a derived class.

edit

Signature: bool edit (const QModelIndex index, const QAbstractItemView_EditTrigger trigger, QEvent ptr event)

Description: Virtual method bool QTableView::edit(const QModelIndex &index, QAbstractItemView::EditTrigger trigger, QEvent *event)

This method can be reimplemented in a derived class.

editorDestroyed

Signature: void editorDestroyed (QObject ptr editor)

Description: Virtual method void QTableView::editorDestroyed(QObject *editor)

This method can be reimplemented in a derived class.

emit_activated

Signature: void emit_activated (const QModelIndex index)

Description: Emitter for signal void QTableView::activated(const QModelIndex &index)

Call this method to emit this signal.

emit_clicked

Signature: void emit_clicked (const QModelIndex index)

Description: Emitter for signal void QTableView::clicked(const QModelIndex &index)

Call this method to emit this signal.

emit_customContextMenuRequested

Signature: void emit_customContextMenuRequested (const QPoint pos)

Description: Emitter for signal void QTableView::customContextMenuRequested(const QPoint &pos)

Call this method to emit this signal.

emit_destroyed

Signature: void emit_destroyed (QObject ptr arg1 = nullptr)

Description: Emitter for signal void QTableView::destroyed(QObject *)

Call this method to emit this signal.

emit_doubleClicked

Signature: void emit_doubleClicked (const QModelIndex index)

Description: Emitter for signal void QTableView::doubleClicked(const QModelIndex &index)

Call this method to emit this signal.

emit_entered

Signature: void emit_entered (const QModelIndex index)

Description: Emitter for signal void QTableView::entered(const QModelIndex &index)

Call this method to emit this signal.

emit_iconSizeChanged

Signature: void emit_iconSizeChanged (const QSize size)

Description: Emitter for signal void QTableView::iconSizeChanged(const QSize &size)

Call this method to emit this signal.

emit_objectNameChanged

Signature: void emit_objectNameChanged (string objectName)

Description: Emitter for signal void QTableView::objectNameChanged(const QString &objectName)

Call this method to emit this signal.

emit_pressed

Signature: void emit_pressed (const QModelIndex index)

Description: Emitter for signal void QTableView::pressed(const QModelIndex &index)

Call this method to emit this signal.

emit_viewportEntered

Signature: void emit_viewportEntered

Description: Emitter for signal void QTableView::viewportEntered()

Call this method to emit this signal.

emit_windowIconChanged

Signature: void emit_windowIconChanged (const QIcon icon)

Description: Emitter for signal void QTableView::windowIconChanged(const QIcon &icon)

Call this method to emit this signal.

emit_windowIconTextChanged

Signature: void emit_windowIconTextChanged (string iconText)

Description: Emitter for signal void QTableView::windowIconTextChanged(const QString &iconText)

Call this method to emit this signal.

emit_windowTitleChanged

Signature: void emit_windowTitleChanged (string title)

Description: Emitter for signal void QTableView::windowTitleChanged(const QString &title)

Call this method to emit this signal.

enterEvent

Signature: void enterEvent (QEvent ptr event)

Description: Virtual method void QTableView::enterEvent(QEvent *event)

This method can be reimplemented in a derived class.

entered

Signature: [signal] void entered (const QModelIndex index)

Description: Signal declaration for QTableView::entered(const QModelIndex &index)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'entered'. This is the getter.
The object exposes a writable attribute 'entered'. This is the setter.

event

Signature: bool event (QEvent ptr event)

Description: Virtual method bool QTableView::event(QEvent *event)

This method can be reimplemented in a derived class.

eventFilter

Signature: bool eventFilter (QObject ptr object, QEvent ptr event)

Description: Virtual method bool QTableView::eventFilter(QObject *object, QEvent *event)

This method can be reimplemented in a derived class.

executeDelayedItemsLayout

Signature: void executeDelayedItemsLayout

Description: Method void QTableView::executeDelayedItemsLayout()

This method is protected and can only be called from inside a derived class.

focusInEvent

Signature: void focusInEvent (QFocusEvent ptr event)

Description: Virtual method void QTableView::focusInEvent(QFocusEvent *event)

This method can be reimplemented in a derived class.

focusNextChild

Signature: bool focusNextChild

Description: Method bool QTableView::focusNextChild()

This method is protected and can only be called from inside a derived class.

focusNextPrevChild

Signature: bool focusNextPrevChild (bool next)

Description: Virtual method bool QTableView::focusNextPrevChild(bool next)

This method can be reimplemented in a derived class.

focusOutEvent

Signature: void focusOutEvent (QFocusEvent ptr event)

Description: Virtual method void QTableView::focusOutEvent(QFocusEvent *event)

This method can be reimplemented in a derived class.

focusPreviousChild

Signature: bool focusPreviousChild

Description: Method bool QTableView::focusPreviousChild()

This method is protected and can only be called from inside a derived class.

gridStyle

Signature: [const] Qt_PenStyle gridStyle

Description: Method Qt::PenStyle QTableView::gridStyle()

Python specific notes:
The object exposes a readable attribute 'gridStyle'. This is the getter.

gridStyle=

Signature: void gridStyle= (const Qt_PenStyle style)

Description: Method void QTableView::setGridStyle(Qt::PenStyle style)

Python specific notes:
The object exposes a writable attribute 'gridStyle'. This is the setter.

hasHeightForWidth

Signature: [const] bool hasHeightForWidth

Description: Virtual method bool QTableView::hasHeightForWidth()

This method can be reimplemented in a derived class.

heightForWidth

Signature: [const] int heightForWidth (int arg1)

Description: Virtual method int QTableView::heightForWidth(int)

This method can be reimplemented in a derived class.

hideColumn

Signature: void hideColumn (int column)

Description: Method void QTableView::hideColumn(int column)

hideEvent

Signature: void hideEvent (QHideEvent ptr event)

Description: Virtual method void QTableView::hideEvent(QHideEvent *event)

This method can be reimplemented in a derived class.

hideRow

Signature: void hideRow (int row)

Description: Method void QTableView::hideRow(int row)

horizontalHeader

Signature: [const] QHeaderView ptr horizontalHeader

Description: Method QHeaderView *QTableView::horizontalHeader()

Python specific notes:
The object exposes a readable attribute 'horizontalHeader'. This is the getter.

horizontalHeader=

Signature: void horizontalHeader= (QHeaderView ptr header)

Description: Method void QTableView::setHorizontalHeader(QHeaderView *header)

Python specific notes:
The object exposes a writable attribute 'horizontalHeader'. This is the setter.

horizontalOffset

Signature: [const] int horizontalOffset

Description: Virtual method int QTableView::horizontalOffset()

This method can be reimplemented in a derived class.

horizontalScrollbarAction

Signature: void horizontalScrollbarAction (int action)

Description: Virtual method void QTableView::horizontalScrollbarAction(int action)

This method can be reimplemented in a derived class.

horizontalScrollbarValueChanged

Signature: void horizontalScrollbarValueChanged (int value)

Description: Virtual method void QTableView::horizontalScrollbarValueChanged(int value)

This method can be reimplemented in a derived class.

horizontalStepsPerItem

Signature: [const] int horizontalStepsPerItem

Description: Method int QTableView::horizontalStepsPerItem()

This method is protected and can only be called from inside a derived class.

iconSizeChanged

Signature: [signal] void iconSizeChanged (const QSize size)

Description: Signal declaration for QTableView::iconSizeChanged(const QSize &size)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'iconSizeChanged'. This is the getter.
The object exposes a writable attribute 'iconSizeChanged'. This is the setter.

indexAt

Signature: [const] QModelIndex indexAt (const QPoint p)

Description: Virtual method QModelIndex QTableView::indexAt(const QPoint &p)

This method can be reimplemented in a derived class.

initPainter

Signature: [const] void initPainter (QPainter ptr painter)

Description: Virtual method void QTableView::initPainter(QPainter *painter)

This method can be reimplemented in a derived class.

initStyleOption

Signature: [const] void initStyleOption (QStyleOptionFrame ptr option)

Description: Method void QTableView::initStyleOption(QStyleOptionFrame *option)

This method is protected and can only be called from inside a derived class.

inputMethodEvent

Signature: void inputMethodEvent (QInputMethodEvent ptr event)

Description: Virtual method void QTableView::inputMethodEvent(QInputMethodEvent *event)

This method can be reimplemented in a derived class.

inputMethodQuery

Signature: [const] variant inputMethodQuery (const Qt_InputMethodQuery query)

Description: Virtual method QVariant QTableView::inputMethodQuery(Qt::InputMethodQuery query)

This method can be reimplemented in a derived class.

isColumnHidden?

Signature: [const] bool isColumnHidden? (int column)

Description: Method bool QTableView::isColumnHidden(int column)

isCornerButtonEnabled?

Signature: [const] bool isCornerButtonEnabled?

Description: Method bool QTableView::isCornerButtonEnabled()

Python specific notes:
The object exposes a readable attribute 'cornerButtonEnabled'. This is the getter.

isIndexHidden

Signature: [const] bool isIndexHidden (const QModelIndex index)

Description: Virtual method bool QTableView::isIndexHidden(const QModelIndex &index)

This method can be reimplemented in a derived class.

isRowHidden?

Signature: [const] bool isRowHidden? (int row)

Description: Method bool QTableView::isRowHidden(int row)

isSignalConnected

Signature: [const] bool isSignalConnected (const QMetaMethod signal)

Description: Method bool QTableView::isSignalConnected(const QMetaMethod &signal)

This method is protected and can only be called from inside a derived class.

isSortingEnabled?

Signature: [const] bool isSortingEnabled?

Description: Method bool QTableView::isSortingEnabled()

Python specific notes:
The object exposes a readable attribute 'sortingEnabled'. This is the getter.

keyPressEvent

Signature: void keyPressEvent (QKeyEvent ptr event)

Description: Virtual method void QTableView::keyPressEvent(QKeyEvent *event)

This method can be reimplemented in a derived class.

keyReleaseEvent

Signature: void keyReleaseEvent (QKeyEvent ptr event)

Description: Virtual method void QTableView::keyReleaseEvent(QKeyEvent *event)

This method can be reimplemented in a derived class.

keyboardSearch

Signature: void keyboardSearch (string search)

Description: Virtual method void QTableView::keyboardSearch(const QString &search)

This method can be reimplemented in a derived class.

leaveEvent

Signature: void leaveEvent (QEvent ptr event)

Description: Virtual method void QTableView::leaveEvent(QEvent *event)

This method can be reimplemented in a derived class.

metric

Signature: [const] int metric (const QPaintDevice_PaintDeviceMetric arg1)

Description: Virtual method int QTableView::metric(QPaintDevice::PaintDeviceMetric)

This method can be reimplemented in a derived class.

minimumSizeHint

Signature: [const] QSize minimumSizeHint

Description: Virtual method QSize QTableView::minimumSizeHint()

This method can be reimplemented in a derived class.

model=

Signature: void model= (QAbstractItemModel ptr model)

Description: Method void QTableView::setModel(QAbstractItemModel *model)

This is a reimplementation of QAbstractItemView::setModel

Python specific notes:
The object exposes a writable attribute 'model'. This is the setter.

mouseDoubleClickEvent

Signature: void mouseDoubleClickEvent (QMouseEvent ptr event)

Description: Virtual method void QTableView::mouseDoubleClickEvent(QMouseEvent *event)

This method can be reimplemented in a derived class.

mouseMoveEvent

Signature: void mouseMoveEvent (QMouseEvent ptr event)

Description: Virtual method void QTableView::mouseMoveEvent(QMouseEvent *event)

This method can be reimplemented in a derived class.

mousePressEvent

Signature: void mousePressEvent (QMouseEvent ptr event)

Description: Virtual method void QTableView::mousePressEvent(QMouseEvent *event)

This method can be reimplemented in a derived class.

mouseReleaseEvent

Signature: void mouseReleaseEvent (QMouseEvent ptr event)

Description: Virtual method void QTableView::mouseReleaseEvent(QMouseEvent *event)

This method can be reimplemented in a derived class.

moveCursor

Signature: QModelIndex moveCursor (unsigned int cursorAction, Qt_QFlags_KeyboardModifier modifiers)

Description: Virtual method QModelIndex QTableView::moveCursor(QAbstractItemView::CursorAction cursorAction, QFlags<Qt::KeyboardModifier> modifiers)

This method can be reimplemented in a derived class.

moveEvent

Signature: void moveEvent (QMoveEvent ptr event)

Description: Virtual method void QTableView::moveEvent(QMoveEvent *event)

This method can be reimplemented in a derived class.

nativeEvent

Signature: bool nativeEvent (bytes eventType, void * message, long ptr result)

Description: Virtual method bool QTableView::nativeEvent(const QByteArray &eventType, void *message, long int *result)

This method can be reimplemented in a derived class.

new

Signature: [static] new QTableView new (QWidget ptr parent = nullptr)

Description: Constructor QTableView::QTableView(QWidget *parent)

This method creates an object of class QTableView.

Python specific notes:
This method is the default initializer of the object.

objectNameChanged

Signature: [signal] void objectNameChanged (string objectName)

Description: Signal declaration for QTableView::objectNameChanged(const QString &objectName)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'objectNameChanged'. This is the getter.
The object exposes a writable attribute 'objectNameChanged'. This is the setter.

paintEngine

Signature: [const] QPaintEngine ptr paintEngine

Description: Virtual method QPaintEngine *QTableView::paintEngine()

This method can be reimplemented in a derived class.

paintEvent

Signature: void paintEvent (QPaintEvent ptr e)

Description: Virtual method void QTableView::paintEvent(QPaintEvent *e)

This method can be reimplemented in a derived class.

pressed

Signature: [signal] void pressed (const QModelIndex index)

Description: Signal declaration for QTableView::pressed(const QModelIndex &index)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'pressed'. This is the getter.
The object exposes a writable attribute 'pressed'. This is the setter.

qt_create

Signature: void qt_create (unsigned long long arg1 = 0, bool initializeWindow = true, bool destroyOldWindow = true)

Description: Method void QTableView::create(WId, bool initializeWindow, bool destroyOldWindow)

This method is protected and can only be called from inside a derived class.

qt_destroy

Signature: void qt_destroy (bool destroyWindow = true, bool destroySubWindows = true)

Description: Method void QTableView::destroy(bool destroyWindow, bool destroySubWindows)

This method is protected and can only be called from inside a derived class.

receivers

Signature: [const] int receivers (string signal)

Description: Method int QTableView::receivers(const char *signal)

This method is protected and can only be called from inside a derived class.

redirected

Signature: [const] QPaintDevice ptr redirected (QPoint ptr offset)

Description: Virtual method QPaintDevice *QTableView::redirected(QPoint *offset)

This method can be reimplemented in a derived class.

reset

Signature: void reset

Description: Virtual method void QTableView::reset()

This method can be reimplemented in a derived class.

resizeColumnToContents

Signature: void resizeColumnToContents (int column)

Description: Method void QTableView::resizeColumnToContents(int column)

resizeColumnsToContents

Signature: void resizeColumnsToContents

Description: Method void QTableView::resizeColumnsToContents()

resizeEvent

Signature: void resizeEvent (QResizeEvent ptr event)

Description: Virtual method void QTableView::resizeEvent(QResizeEvent *event)

This method can be reimplemented in a derived class.

resizeRowToContents

Signature: void resizeRowToContents (int row)

Description: Method void QTableView::resizeRowToContents(int row)

resizeRowsToContents

Signature: void resizeRowsToContents

Description: Method void QTableView::resizeRowsToContents()

rootIndex=

Signature: void rootIndex= (const QModelIndex index)

Description: Method void QTableView::setRootIndex(const QModelIndex &index)

This is a reimplementation of QAbstractItemView::setRootIndex

Python specific notes:
The object exposes a writable attribute 'rootIndex'. This is the setter.

rowAt

Signature: [const] int rowAt (int y)

Description: Method int QTableView::rowAt(int y)

rowCountChanged

Signature: void rowCountChanged (int oldCount, int newCount)

Description: Method void QTableView::rowCountChanged(int oldCount, int newCount)

This method is protected and can only be called from inside a derived class.

rowHeight

Signature: [const] int rowHeight (int row)

Description: Method int QTableView::rowHeight(int row)

rowMoved

Signature: void rowMoved (int row, int oldIndex, int newIndex)

Description: Method void QTableView::rowMoved(int row, int oldIndex, int newIndex)

This method is protected and can only be called from inside a derived class.

rowResized

Signature: void rowResized (int row, int oldHeight, int newHeight)

Description: Method void QTableView::rowResized(int row, int oldHeight, int newHeight)

This method is protected and can only be called from inside a derived class.

rowSpan

Signature: [const] int rowSpan (int row, int column)

Description: Method int QTableView::rowSpan(int row, int column)

rowViewportPosition

Signature: [const] int rowViewportPosition (int row)

Description: Method int QTableView::rowViewportPosition(int row)

rowsAboutToBeRemoved

Signature: void rowsAboutToBeRemoved (const QModelIndex parent, int start, int end)

Description: Virtual method void QTableView::rowsAboutToBeRemoved(const QModelIndex &parent, int start, int end)

This method can be reimplemented in a derived class.

rowsInserted

Signature: void rowsInserted (const QModelIndex parent, int start, int end)

Description: Virtual method void QTableView::rowsInserted(const QModelIndex &parent, int start, int end)

This method can be reimplemented in a derived class.

scheduleDelayedItemsLayout

Signature: void scheduleDelayedItemsLayout

Description: Method void QTableView::scheduleDelayedItemsLayout()

This method is protected and can only be called from inside a derived class.

scrollContentsBy

Signature: void scrollContentsBy (int dx, int dy)

Description: Virtual method void QTableView::scrollContentsBy(int dx, int dy)

This method can be reimplemented in a derived class.

scrollDirtyRegion

Signature: void scrollDirtyRegion (int dx, int dy)

Description: Method void QTableView::scrollDirtyRegion(int dx, int dy)

This method is protected and can only be called from inside a derived class.

scrollTo

Signature: void scrollTo (const QModelIndex index, const QAbstractItemView_ScrollHint hint)

Description: Virtual method void QTableView::scrollTo(const QModelIndex &index, QAbstractItemView::ScrollHint hint)

This method can be reimplemented in a derived class.

selectAll

Signature: void selectAll

Description: Virtual method void QTableView::selectAll()

This method can be reimplemented in a derived class.

selectColumn

Signature: void selectColumn (int column)

Description: Method void QTableView::selectColumn(int column)

selectRow

Signature: void selectRow (int row)

Description: Method void QTableView::selectRow(int row)

selectedIndexes

Signature: [const] QModelIndex[] selectedIndexes

Description: Virtual method QList<QModelIndex> QTableView::selectedIndexes()

This method can be reimplemented in a derived class.

selectionChanged

Signature: void selectionChanged (const QItemSelection selected, const QItemSelection deselected)

Description: Virtual method void QTableView::selectionChanged(const QItemSelection &selected, const QItemSelection &deselected)

This method can be reimplemented in a derived class.

selectionCommand

Signature: [const] QItemSelectionModel_QFlags_SelectionFlag selectionCommand (const QModelIndex index, const QEvent ptr event)

Description: Virtual method QFlags<QItemSelectionModel::SelectionFlag> QTableView::selectionCommand(const QModelIndex &index, const QEvent *event)

This method can be reimplemented in a derived class.

selectionModel=

Signature: void selectionModel= (QItemSelectionModel ptr selectionModel)

Description: Method void QTableView::setSelectionModel(QItemSelectionModel *selectionModel)

This is a reimplementation of QAbstractItemView::setSelectionModel

Python specific notes:
The object exposes a writable attribute 'selectionModel'. This is the setter.

sender

Signature: [const] QObject ptr sender

Description: Method QObject *QTableView::sender()

This method is protected and can only be called from inside a derived class.

senderSignalIndex

Signature: [const] int senderSignalIndex

Description: Method int QTableView::senderSignalIndex()

This method is protected and can only be called from inside a derived class.

setColumnHidden

Signature: void setColumnHidden (int column, bool hide)

Description: Method void QTableView::setColumnHidden(int column, bool hide)

setColumnWidth

Signature: void setColumnWidth (int column, int width)

Description: Method void QTableView::setColumnWidth(int column, int width)

setCornerButtonEnabled

Signature: void setCornerButtonEnabled (bool enable)

Description: Method void QTableView::setCornerButtonEnabled(bool enable)

Python specific notes:
The object exposes a writable attribute 'cornerButtonEnabled'. This is the setter.

setDirtyRegion

Signature: void setDirtyRegion (const QRegion region)

Description: Method void QTableView::setDirtyRegion(const QRegion &region)

This method is protected and can only be called from inside a derived class.

setGridStyle

Signature: void setGridStyle (const Qt_PenStyle style)

Description: Method void QTableView::setGridStyle(Qt::PenStyle style)

Python specific notes:
The object exposes a writable attribute 'gridStyle'. This is the setter.

setHorizontalHeader

Signature: void setHorizontalHeader (QHeaderView ptr header)

Description: Method void QTableView::setHorizontalHeader(QHeaderView *header)

Python specific notes:
The object exposes a writable attribute 'horizontalHeader'. This is the setter.

setHorizontalStepsPerItem

Signature: void setHorizontalStepsPerItem (int steps)

Description: Method void QTableView::setHorizontalStepsPerItem(int steps)

This method is protected and can only be called from inside a derived class.

setModel

Signature: void setModel (QAbstractItemModel ptr model)

Description: Virtual method void QTableView::setModel(QAbstractItemModel *model)

This method can be reimplemented in a derived class.

setRootIndex

Signature: void setRootIndex (const QModelIndex index)

Description: Virtual method void QTableView::setRootIndex(const QModelIndex &index)

This method can be reimplemented in a derived class.

setRowHeight

Signature: void setRowHeight (int row, int height)

Description: Method void QTableView::setRowHeight(int row, int height)

setRowHidden

Signature: void setRowHidden (int row, bool hide)

Description: Method void QTableView::setRowHidden(int row, bool hide)

setSelection

Signature: void setSelection (const QRect rect, QItemSelectionModel_QFlags_SelectionFlag command)

Description: Virtual method void QTableView::setSelection(const QRect &rect, QFlags<QItemSelectionModel::SelectionFlag> command)

This method can be reimplemented in a derived class.

setSelectionModel

Signature: void setSelectionModel (QItemSelectionModel ptr selectionModel)

Description: Virtual method void QTableView::setSelectionModel(QItemSelectionModel *selectionModel)

This method can be reimplemented in a derived class.

setShowGrid

Signature: void setShowGrid (bool show)

Description: Method void QTableView::setShowGrid(bool show)

Python specific notes:
The object exposes a writable attribute 'showGrid'. This is the setter.

setSortingEnabled

Signature: void setSortingEnabled (bool enable)

Description: Method void QTableView::setSortingEnabled(bool enable)

Python specific notes:
The object exposes a writable attribute 'sortingEnabled'. This is the setter.

setSpan

Signature: void setSpan (int row, int column, int rowSpan, int columnSpan)

Description: Method void QTableView::setSpan(int row, int column, int rowSpan, int columnSpan)

setState

Signature: void setState (unsigned int state)

Description: Method void QTableView::setState(QAbstractItemView::State state)

This method is protected and can only be called from inside a derived class.

setVerticalHeader

Signature: void setVerticalHeader (QHeaderView ptr header)

Description: Method void QTableView::setVerticalHeader(QHeaderView *header)

Python specific notes:
The object exposes a writable attribute 'verticalHeader'. This is the setter.

setVerticalStepsPerItem

Signature: void setVerticalStepsPerItem (int steps)

Description: Method void QTableView::setVerticalStepsPerItem(int steps)

This method is protected and can only be called from inside a derived class.

setViewportMargins

(1) Signature: void setViewportMargins (int left, int top, int right, int bottom)

Description: Method void QTableView::setViewportMargins(int left, int top, int right, int bottom)

This method is protected and can only be called from inside a derived class.

(2) Signature: void setViewportMargins (const QMargins margins)

Description: Method void QTableView::setViewportMargins(const QMargins &margins)

This method is protected and can only be called from inside a derived class.

setVisible

Signature: void setVisible (bool visible)

Description: Virtual method void QTableView::setVisible(bool visible)

This method can be reimplemented in a derived class.

setWordWrap

Signature: void setWordWrap (bool on)

Description: Method void QTableView::setWordWrap(bool on)

Python specific notes:
The object exposes a writable attribute 'wordWrap'. This is the setter.

setupViewport

Signature: void setupViewport (QWidget ptr viewport)

Description: Virtual method void QTableView::setupViewport(QWidget *viewport)

This method can be reimplemented in a derived class.

sharedPainter

Signature: [const] QPainter ptr sharedPainter

Description: Virtual method QPainter *QTableView::sharedPainter()

This method can be reimplemented in a derived class.

showColumn

Signature: void showColumn (int column)

Description: Method void QTableView::showColumn(int column)

showEvent

Signature: void showEvent (QShowEvent ptr event)

Description: Virtual method void QTableView::showEvent(QShowEvent *event)

This method can be reimplemented in a derived class.

showGrid

Signature: [const] bool showGrid

Description: Method bool QTableView::showGrid()

Python specific notes:
The object exposes a readable attribute 'showGrid'. This is the getter.

showGrid=

Signature: void showGrid= (bool show)

Description: Method void QTableView::setShowGrid(bool show)

Python specific notes:
The object exposes a writable attribute 'showGrid'. This is the setter.

showRow

Signature: void showRow (int row)

Description: Method void QTableView::showRow(int row)

sizeHint

Signature: [const] QSize sizeHint

Description: Virtual method QSize QTableView::sizeHint()

This method can be reimplemented in a derived class.

sizeHintForColumn

Signature: [const] int sizeHintForColumn (int column)

Description: Virtual method int QTableView::sizeHintForColumn(int column)

This method can be reimplemented in a derived class.

sizeHintForRow

Signature: [const] int sizeHintForRow (int row)

Description: Virtual method int QTableView::sizeHintForRow(int row)

This method can be reimplemented in a derived class.

sortByColumn

(1) Signature: void sortByColumn (int column, const Qt_SortOrder order)

Description: Method void QTableView::sortByColumn(int column, Qt::SortOrder order)

(2) Signature: void sortByColumn (int column)

Description: Method void QTableView::sortByColumn(int column)

sortingEnabled

Signature: [const] bool sortingEnabled

Description: Method bool QTableView::isSortingEnabled()

Python specific notes:
The object exposes a readable attribute 'sortingEnabled'. This is the getter.

sortingEnabled=

Signature: void sortingEnabled= (bool enable)

Description: Method void QTableView::setSortingEnabled(bool enable)

Python specific notes:
The object exposes a writable attribute 'sortingEnabled'. This is the setter.

startAutoScroll

Signature: void startAutoScroll

Description: Method void QTableView::startAutoScroll()

This method is protected and can only be called from inside a derived class.

startDrag

Signature: void startDrag (Qt_QFlags_DropAction supportedActions)

Description: Virtual method void QTableView::startDrag(QFlags<Qt::DropAction> supportedActions)

This method can be reimplemented in a derived class.

state

Signature: [const] unsigned int state

Description: Method QAbstractItemView::State QTableView::state()

This method is protected and can only be called from inside a derived class.

staticMetaObject

Signature: [static] QMetaObject staticMetaObject

Description: Obtains the static MetaObject for this class.

stopAutoScroll

Signature: void stopAutoScroll

Description: Method void QTableView::stopAutoScroll()

This method is protected and can only be called from inside a derived class.

tabletEvent

Signature: void tabletEvent (QTabletEvent ptr event)

Description: Virtual method void QTableView::tabletEvent(QTabletEvent *event)

This method can be reimplemented in a derived class.

timerEvent

Signature: void timerEvent (QTimerEvent ptr event)

Description: Virtual method void QTableView::timerEvent(QTimerEvent *event)

This method can be reimplemented in a derived class.

tr

Signature: [static] string tr (string s, string c = nullptr, int n = -1)

Description: Static method QString QTableView::tr(const char *s, const char *c, int n)

This method is static and can be called without an instance.

trUtf8

Signature: [static] string trUtf8 (string s, string c = nullptr, int n = -1)

Description: Static method QString QTableView::trUtf8(const char *s, const char *c, int n)

This method is static and can be called without an instance.

updateEditorData

Signature: void updateEditorData

Description: Virtual method void QTableView::updateEditorData()

This method can be reimplemented in a derived class.

updateEditorGeometries

Signature: void updateEditorGeometries

Description: Virtual method void QTableView::updateEditorGeometries()

This method can be reimplemented in a derived class.

updateGeometries

Signature: void updateGeometries

Description: Virtual method void QTableView::updateGeometries()

This method can be reimplemented in a derived class.

updateMicroFocus

Signature: void updateMicroFocus

Description: Method void QTableView::updateMicroFocus()

This method is protected and can only be called from inside a derived class.

verticalHeader

Signature: [const] QHeaderView ptr verticalHeader

Description: Method QHeaderView *QTableView::verticalHeader()

Python specific notes:
The object exposes a readable attribute 'verticalHeader'. This is the getter.

verticalHeader=

Signature: void verticalHeader= (QHeaderView ptr header)

Description: Method void QTableView::setVerticalHeader(QHeaderView *header)

Python specific notes:
The object exposes a writable attribute 'verticalHeader'. This is the setter.

verticalOffset

Signature: [const] int verticalOffset

Description: Virtual method int QTableView::verticalOffset()

This method can be reimplemented in a derived class.

verticalScrollbarAction

Signature: void verticalScrollbarAction (int action)

Description: Virtual method void QTableView::verticalScrollbarAction(int action)

This method can be reimplemented in a derived class.

verticalScrollbarValueChanged

Signature: void verticalScrollbarValueChanged (int value)

Description: Virtual method void QTableView::verticalScrollbarValueChanged(int value)

This method can be reimplemented in a derived class.

verticalStepsPerItem

Signature: [const] int verticalStepsPerItem

Description: Method int QTableView::verticalStepsPerItem()

This method is protected and can only be called from inside a derived class.

viewOptions

Signature: [const] QStyleOptionViewItem viewOptions

Description: Virtual method QStyleOptionViewItem QTableView::viewOptions()

This method can be reimplemented in a derived class.

viewportEntered

Signature: [signal] void viewportEntered

Description: Signal declaration for QTableView::viewportEntered()

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'viewportEntered'. This is the getter.
The object exposes a writable attribute 'viewportEntered'. This is the setter.

viewportEvent

Signature: bool viewportEvent (QEvent ptr event)

Description: Virtual method bool QTableView::viewportEvent(QEvent *event)

This method can be reimplemented in a derived class.

viewportMargins

Signature: [const] QMargins viewportMargins

Description: Method QMargins QTableView::viewportMargins()

This method is protected and can only be called from inside a derived class.

viewportSizeHint

Signature: [const] QSize viewportSizeHint

Description: Virtual method QSize QTableView::viewportSizeHint()

This method can be reimplemented in a derived class.

visualRect

Signature: [const] QRect visualRect (const QModelIndex index)

Description: Virtual method QRect QTableView::visualRect(const QModelIndex &index)

This method can be reimplemented in a derived class.

visualRegionForSelection

Signature: [const] QRegion visualRegionForSelection (const QItemSelection selection)

Description: Virtual method QRegion QTableView::visualRegionForSelection(const QItemSelection &selection)

This method can be reimplemented in a derived class.

wheelEvent

Signature: void wheelEvent (QWheelEvent ptr arg1)

Description: Virtual method void QTableView::wheelEvent(QWheelEvent *)

This method can be reimplemented in a derived class.

windowIconChanged

Signature: [signal] void windowIconChanged (const QIcon icon)

Description: Signal declaration for QTableView::windowIconChanged(const QIcon &icon)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'windowIconChanged'. This is the getter.
The object exposes a writable attribute 'windowIconChanged'. This is the setter.

windowIconTextChanged

Signature: [signal] void windowIconTextChanged (string iconText)

Description: Signal declaration for QTableView::windowIconTextChanged(const QString &iconText)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'windowIconTextChanged'. This is the getter.
The object exposes a writable attribute 'windowIconTextChanged'. This is the setter.

windowTitleChanged

Signature: [signal] void windowTitleChanged (string title)

Description: Signal declaration for QTableView::windowTitleChanged(const QString &title)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'windowTitleChanged'. This is the getter.
The object exposes a writable attribute 'windowTitleChanged'. This is the setter.

wordWrap

Signature: [const] bool wordWrap

Description: Method bool QTableView::wordWrap()

Python specific notes:
The object exposes a readable attribute 'wordWrap'. This is the getter.

wordWrap=

Signature: void wordWrap= (bool on)

Description: Method void QTableView::setWordWrap(bool on)

Python specific notes:
The object exposes a writable attribute 'wordWrap'. This is the setter.