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

API reference - Class QUndoView

Notation used in Ruby API documentation

Module: QtWidgets

Description: Binding of QUndoView

Class hierarchy: QUndoView » QListView » QAbstractItemView » QAbstractScrollArea » QFrame » QWidget » QObject

Public constructors

new QUndoViewnew(QWidget ptr parent = nullptr)Constructor QUndoView::QUndoView(QWidget *parent)
new QUndoViewnew(QUndoStack ptr stack,
QWidget ptr parent = nullptr)
Constructor QUndoView::QUndoView(QUndoStack *stack, QWidget *parent)
new QUndoViewnew(QUndoGroup ptr group,
QWidget ptr parent = nullptr)
Constructor QUndoView::QUndoView(QUndoGroup *group, QWidget *parent)

Public methods

[const]QUndoView 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 QUndoView::activated(const QModelIndex &index)
[const]QIconcleanIconMethod QIcon QUndoView::cleanIcon()
voidcleanIcon=(const QIcon icon)Method void QUndoView::setCleanIcon(const QIcon &icon)
[signal]voidclicked(const QModelIndex index)Signal declaration for QUndoView::clicked(const QModelIndex &index)
[signal]voidcustomContextMenuRequested(const QPoint pos)Signal declaration for QUndoView::customContextMenuRequested(const QPoint &pos)
[signal]voiddestroyed(QObject ptr arg1)Signal declaration for QUndoView::destroyed(QObject *)
voiddoItemsLayoutVirtual method void QUndoView::doItemsLayout()
[signal]voiddoubleClicked(const QModelIndex index)Signal declaration for QUndoView::doubleClicked(const QModelIndex &index)
voidemit_activated(const QModelIndex index)Emitter for signal void QUndoView::activated(const QModelIndex &index)
voidemit_clicked(const QModelIndex index)Emitter for signal void QUndoView::clicked(const QModelIndex &index)
voidemit_customContextMenuRequested(const QPoint pos)Emitter for signal void QUndoView::customContextMenuRequested(const QPoint &pos)
voidemit_destroyed(QObject ptr arg1 = nullptr)Emitter for signal void QUndoView::destroyed(QObject *)
voidemit_doubleClicked(const QModelIndex index)Emitter for signal void QUndoView::doubleClicked(const QModelIndex &index)
voidemit_entered(const QModelIndex index)Emitter for signal void QUndoView::entered(const QModelIndex &index)
voidemit_iconSizeChanged(const QSize size)Emitter for signal void QUndoView::iconSizeChanged(const QSize &size)
voidemit_indexesMoved(QModelIndex[] indexes)Emitter for signal void QUndoView::indexesMoved(const QList<QModelIndex> &indexes)
voidemit_objectNameChanged(string objectName)Emitter for signal void QUndoView::objectNameChanged(const QString &objectName)
voidemit_pressed(const QModelIndex index)Emitter for signal void QUndoView::pressed(const QModelIndex &index)
voidemit_viewportEnteredEmitter for signal void QUndoView::viewportEntered()
voidemit_windowIconChanged(const QIcon icon)Emitter for signal void QUndoView::windowIconChanged(const QIcon &icon)
voidemit_windowIconTextChanged(string iconText)Emitter for signal void QUndoView::windowIconTextChanged(const QString &iconText)
voidemit_windowTitleChanged(string title)Emitter for signal void QUndoView::windowTitleChanged(const QString &title)
[const]stringemptyLabelMethod QString QUndoView::emptyLabel()
voidemptyLabel=(string label)Method void QUndoView::setEmptyLabel(const QString &label)
[signal]voidentered(const QModelIndex index)Signal declaration for QUndoView::entered(const QModelIndex &index)
[const]QUndoGroup ptrgroupMethod QUndoGroup *QUndoView::group()
voidgroup=(QUndoGroup ptr group)Method void QUndoView::setGroup(QUndoGroup *group)
[const]boolhasHeightForWidthVirtual method bool QUndoView::hasHeightForWidth()
[const]intheightForWidth(int arg1)Virtual method int QUndoView::heightForWidth(int)
[signal]voidiconSizeChanged(const QSize size)Signal declaration for QUndoView::iconSizeChanged(const QSize &size)
[const]QModelIndexindexAt(const QPoint p)Virtual method QModelIndex QUndoView::indexAt(const QPoint &p)
[signal]voidindexesMoved(QModelIndex[] indexes)Signal declaration for QUndoView::indexesMoved(const QList<QModelIndex> &indexes)
[const]variantinputMethodQuery(const Qt_InputMethodQuery query)Virtual method QVariant QUndoView::inputMethodQuery(Qt::InputMethodQuery query)
voidkeyboardSearch(string search)Virtual method void QUndoView::keyboardSearch(const QString &search)
[const]QSizeminimumSizeHintVirtual method QSize QUndoView::minimumSizeHint()
[signal]voidobjectNameChanged(string objectName)Signal declaration for QUndoView::objectNameChanged(const QString &objectName)
[const]QPaintEngine ptrpaintEngineVirtual method QPaintEngine *QUndoView::paintEngine()
[signal]voidpressed(const QModelIndex index)Signal declaration for QUndoView::pressed(const QModelIndex &index)
voidresetVirtual method void QUndoView::reset()
voidscrollTo(const QModelIndex index,
const QAbstractItemView_ScrollHint hint)
Virtual method void QUndoView::scrollTo(const QModelIndex &index, QAbstractItemView::ScrollHint hint)
voidselectAllVirtual method void QUndoView::selectAll()
voidsetCleanIcon(const QIcon icon)Method void QUndoView::setCleanIcon(const QIcon &icon)
voidsetEmptyLabel(string label)Method void QUndoView::setEmptyLabel(const QString &label)
voidsetGroup(QUndoGroup ptr group)Method void QUndoView::setGroup(QUndoGroup *group)
voidsetModel(QAbstractItemModel ptr model)Virtual method void QUndoView::setModel(QAbstractItemModel *model)
voidsetRootIndex(const QModelIndex index)Virtual method void QUndoView::setRootIndex(const QModelIndex &index)
voidsetSelectionModel(QItemSelectionModel ptr selectionModel)Virtual method void QUndoView::setSelectionModel(QItemSelectionModel *selectionModel)
voidsetStack(QUndoStack ptr stack)Method void QUndoView::setStack(QUndoStack *stack)
voidsetVisible(bool visible)Virtual method void QUndoView::setVisible(bool visible)
voidsetupViewport(QWidget ptr viewport)Virtual method void QUndoView::setupViewport(QWidget *viewport)
[const]QSizesizeHintVirtual method QSize QUndoView::sizeHint()
[const]intsizeHintForColumn(int column)Virtual method int QUndoView::sizeHintForColumn(int column)
[const]intsizeHintForRow(int row)Virtual method int QUndoView::sizeHintForRow(int row)
[const]QUndoStack ptrstackMethod QUndoStack *QUndoView::stack()
voidstack=(QUndoStack ptr stack)Method void QUndoView::setStack(QUndoStack *stack)
[signal]voidviewportEnteredSignal declaration for QUndoView::viewportEntered()
[const]QRectvisualRect(const QModelIndex index)Virtual method QRect QUndoView::visualRect(const QModelIndex &index)
[signal]voidwindowIconChanged(const QIcon icon)Signal declaration for QUndoView::windowIconChanged(const QIcon &icon)
[signal]voidwindowIconTextChanged(string iconText)Signal declaration for QUndoView::windowIconTextChanged(const QString &iconText)
[signal]voidwindowTitleChanged(string title)Signal declaration for QUndoView::windowTitleChanged(const QString &title)

Public static methods and constants

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

Protected methods (static, non-static and constructors)

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

Detailed description

_const_cast

Signature: [const] QUndoView 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 QUndoView::actionEvent(QActionEvent *event)

This method can be reimplemented in a derived class.

activated

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

Description: Signal declaration for QUndoView::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 QUndoView::changeEvent(QEvent *)

This method can be reimplemented in a derived class.

childEvent

Signature: void childEvent (QChildEvent ptr event)

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

This method can be reimplemented in a derived class.

cleanIcon

Signature: [const] QIcon cleanIcon

Description: Method QIcon QUndoView::cleanIcon()

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

cleanIcon=

Signature: void cleanIcon= (const QIcon icon)

Description: Method void QUndoView::setCleanIcon(const QIcon &icon)

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

clicked

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

Description: Signal declaration for QUndoView::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 QUndoView::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 QUndoView::closeEvent(QCloseEvent *event)

This method can be reimplemented in a derived class.

commitData

Signature: void commitData (QWidget ptr editor)

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

This method can be reimplemented in a derived class.

contentsSize

Signature: [const] QSize contentsSize

Description: Method QSize QUndoView::contentsSize()

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

contextMenuEvent

Signature: void contextMenuEvent (QContextMenuEvent ptr arg1)

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

This method can be reimplemented in a derived class.

create

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

Description: Method void QUndoView::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 QUndoView::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 QUndoView::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 QUndoView::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 QUndoView::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 QUndoView::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 QUndoView::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 QUndoView::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 QUndoView::disconnectNotify(const QMetaMethod &signal)

This method can be reimplemented in a derived class.

doAutoScroll

Signature: void doAutoScroll

Description: Method void QUndoView::doAutoScroll()

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

doItemsLayout

Signature: void doItemsLayout

Description: Virtual method void QUndoView::doItemsLayout()

This method can be reimplemented in a derived class.

doubleClicked

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

Description: Signal declaration for QUndoView::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 QUndoView::dragEnterEvent(QDragEnterEvent *event)

This method can be reimplemented in a derived class.

dragLeaveEvent

Signature: void dragLeaveEvent (QDragLeaveEvent ptr e)

Description: Virtual method void QUndoView::dragLeaveEvent(QDragLeaveEvent *e)

This method can be reimplemented in a derived class.

dragMoveEvent

Signature: void dragMoveEvent (QDragMoveEvent ptr e)

Description: Virtual method void QUndoView::dragMoveEvent(QDragMoveEvent *e)

This method can be reimplemented in a derived class.

drawFrame

Signature: void drawFrame (QPainter ptr arg1)

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

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

dropEvent

Signature: void dropEvent (QDropEvent ptr e)

Description: Virtual method void QUndoView::dropEvent(QDropEvent *e)

This method can be reimplemented in a derived class.

dropIndicatorPosition

Signature: [const] unsigned int dropIndicatorPosition

Description: Method QAbstractItemView::DropIndicatorPosition QUndoView::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 QUndoView::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 QUndoView::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 QUndoView::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 QUndoView::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 QUndoView::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 QUndoView::destroyed(QObject *)

Call this method to emit this signal.

emit_doubleClicked

Signature: void emit_doubleClicked (const QModelIndex index)

Description: Emitter for signal void QUndoView::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 QUndoView::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 QUndoView::iconSizeChanged(const QSize &size)

Call this method to emit this signal.

emit_indexesMoved

Signature: void emit_indexesMoved (QModelIndex[] indexes)

Description: Emitter for signal void QUndoView::indexesMoved(const QList<QModelIndex> &indexes)

Call this method to emit this signal.

emit_objectNameChanged

Signature: void emit_objectNameChanged (string objectName)

Description: Emitter for signal void QUndoView::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 QUndoView::pressed(const QModelIndex &index)

Call this method to emit this signal.

emit_viewportEntered

Signature: void emit_viewportEntered

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

Call this method to emit this signal.

emit_windowIconChanged

Signature: void emit_windowIconChanged (const QIcon icon)

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

Call this method to emit this signal.

emit_windowIconTextChanged

Signature: void emit_windowIconTextChanged (string iconText)

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

Call this method to emit this signal.

emit_windowTitleChanged

Signature: void emit_windowTitleChanged (string title)

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

Call this method to emit this signal.

emptyLabel

Signature: [const] string emptyLabel

Description: Method QString QUndoView::emptyLabel()

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

emptyLabel=

Signature: void emptyLabel= (string label)

Description: Method void QUndoView::setEmptyLabel(const QString &label)

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

enterEvent

Signature: void enterEvent (QEvent ptr event)

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

This method can be reimplemented in a derived class.

entered

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

Description: Signal declaration for QUndoView::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 e)

Description: Virtual method bool QUndoView::event(QEvent *e)

This method can be reimplemented in a derived class.

eventFilter

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

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

This method can be reimplemented in a derived class.

executeDelayedItemsLayout

Signature: void executeDelayedItemsLayout

Description: Method void QUndoView::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 QUndoView::focusInEvent(QFocusEvent *event)

This method can be reimplemented in a derived class.

focusNextChild

Signature: bool focusNextChild

Description: Method bool QUndoView::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 QUndoView::focusNextPrevChild(bool next)

This method can be reimplemented in a derived class.

focusOutEvent

Signature: void focusOutEvent (QFocusEvent ptr event)

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

This method can be reimplemented in a derived class.

focusPreviousChild

Signature: bool focusPreviousChild

Description: Method bool QUndoView::focusPreviousChild()

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

group

Signature: [const] QUndoGroup ptr group

Description: Method QUndoGroup *QUndoView::group()

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

group=

Signature: void group= (QUndoGroup ptr group)

Description: Method void QUndoView::setGroup(QUndoGroup *group)

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

hasHeightForWidth

Signature: [const] bool hasHeightForWidth

Description: Virtual method bool QUndoView::hasHeightForWidth()

This method can be reimplemented in a derived class.

heightForWidth

Signature: [const] int heightForWidth (int arg1)

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

This method can be reimplemented in a derived class.

hideEvent

Signature: void hideEvent (QHideEvent ptr event)

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

This method can be reimplemented in a derived class.

horizontalOffset

Signature: [const] int horizontalOffset

Description: Virtual method int QUndoView::horizontalOffset()

This method can be reimplemented in a derived class.

horizontalScrollbarAction

Signature: void horizontalScrollbarAction (int action)

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

This method can be reimplemented in a derived class.

horizontalScrollbarValueChanged

Signature: void horizontalScrollbarValueChanged (int value)

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

This method can be reimplemented in a derived class.

horizontalStepsPerItem

Signature: [const] int horizontalStepsPerItem

Description: Method int QUndoView::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 QUndoView::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 QUndoView::indexAt(const QPoint &p)

This method can be reimplemented in a derived class.

indexesMoved

Signature: [signal] void indexesMoved (QModelIndex[] indexes)

Description: Signal declaration for QUndoView::indexesMoved(const QList<QModelIndex> &indexes)

You can bind a procedure to this signal.

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

initPainter

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

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

This method can be reimplemented in a derived class.

initStyleOption

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

Description: Method void QUndoView::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 QUndoView::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 QUndoView::inputMethodQuery(Qt::InputMethodQuery query)

This method can be reimplemented in a derived class.

isIndexHidden

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

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

This method can be reimplemented in a derived class.

isSignalConnected

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

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

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

keyPressEvent

Signature: void keyPressEvent (QKeyEvent ptr event)

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

This method can be reimplemented in a derived class.

keyReleaseEvent

Signature: void keyReleaseEvent (QKeyEvent ptr event)

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

This method can be reimplemented in a derived class.

keyboardSearch

Signature: void keyboardSearch (string search)

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

This method can be reimplemented in a derived class.

leaveEvent

Signature: void leaveEvent (QEvent ptr event)

Description: Virtual method void QUndoView::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 QUndoView::metric(QPaintDevice::PaintDeviceMetric)

This method can be reimplemented in a derived class.

minimumSizeHint

Signature: [const] QSize minimumSizeHint

Description: Virtual method QSize QUndoView::minimumSizeHint()

This method can be reimplemented in a derived class.

mouseDoubleClickEvent

Signature: void mouseDoubleClickEvent (QMouseEvent ptr event)

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

This method can be reimplemented in a derived class.

mouseMoveEvent

Signature: void mouseMoveEvent (QMouseEvent ptr e)

Description: Virtual method void QUndoView::mouseMoveEvent(QMouseEvent *e)

This method can be reimplemented in a derived class.

mousePressEvent

Signature: void mousePressEvent (QMouseEvent ptr event)

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

This method can be reimplemented in a derived class.

mouseReleaseEvent

Signature: void mouseReleaseEvent (QMouseEvent ptr e)

Description: Virtual method void QUndoView::mouseReleaseEvent(QMouseEvent *e)

This method can be reimplemented in a derived class.

moveCursor

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

Description: Virtual method QModelIndex QUndoView::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 QUndoView::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 QUndoView::nativeEvent(const QByteArray &eventType, void *message, long int *result)

This method can be reimplemented in a derived class.

new

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

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

This method creates an object of class QUndoView.

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

(2) Signature: [static] new QUndoView new (QUndoStack ptr stack, QWidget ptr parent = nullptr)

Description: Constructor QUndoView::QUndoView(QUndoStack *stack, QWidget *parent)

This method creates an object of class QUndoView.

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

(3) Signature: [static] new QUndoView new (QUndoGroup ptr group, QWidget ptr parent = nullptr)

Description: Constructor QUndoView::QUndoView(QUndoGroup *group, QWidget *parent)

This method creates an object of class QUndoView.

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

objectNameChanged

Signature: [signal] void objectNameChanged (string objectName)

Description: Signal declaration for QUndoView::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 *QUndoView::paintEngine()

This method can be reimplemented in a derived class.

paintEvent

Signature: void paintEvent (QPaintEvent ptr e)

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

This method can be reimplemented in a derived class.

pressed

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

Description: Signal declaration for QUndoView::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 QUndoView::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 QUndoView::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 QUndoView::receivers(const char *signal)

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

rectForIndex

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

Description: Method QRect QUndoView::rectForIndex(const QModelIndex &index)

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 *QUndoView::redirected(QPoint *offset)

This method can be reimplemented in a derived class.

reset

Signature: void reset

Description: Virtual method void QUndoView::reset()

This method can be reimplemented in a derived class.

resizeContents

Signature: void resizeContents (int width, int height)

Description: Method void QUndoView::resizeContents(int width, int height)

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

resizeEvent

Signature: void resizeEvent (QResizeEvent ptr e)

Description: Virtual method void QUndoView::resizeEvent(QResizeEvent *e)

This method can be reimplemented in a derived class.

rowsAboutToBeRemoved

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

Description: Virtual method void QUndoView::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 QUndoView::rowsInserted(const QModelIndex &parent, int start, int end)

This method can be reimplemented in a derived class.

scheduleDelayedItemsLayout

Signature: void scheduleDelayedItemsLayout

Description: Method void QUndoView::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 QUndoView::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 QUndoView::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 QUndoView::scrollTo(const QModelIndex &index, QAbstractItemView::ScrollHint hint)

This method can be reimplemented in a derived class.

selectAll

Signature: void selectAll

Description: Virtual method void QUndoView::selectAll()

This method can be reimplemented in a derived class.

selectedIndexes

Signature: [const] QModelIndex[] selectedIndexes

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

This method can be reimplemented in a derived class.

selectionChanged

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

Description: Virtual method void QUndoView::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> QUndoView::selectionCommand(const QModelIndex &index, const QEvent *event)

This method can be reimplemented in a derived class.

sender

Signature: [const] QObject ptr sender

Description: Method QObject *QUndoView::sender()

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

senderSignalIndex

Signature: [const] int senderSignalIndex

Description: Method int QUndoView::senderSignalIndex()

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

setCleanIcon

Signature: void setCleanIcon (const QIcon icon)

Description: Method void QUndoView::setCleanIcon(const QIcon &icon)

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

setDirtyRegion

Signature: void setDirtyRegion (const QRegion region)

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

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

setEmptyLabel

Signature: void setEmptyLabel (string label)

Description: Method void QUndoView::setEmptyLabel(const QString &label)

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

setGroup

Signature: void setGroup (QUndoGroup ptr group)

Description: Method void QUndoView::setGroup(QUndoGroup *group)

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

setHorizontalStepsPerItem

Signature: void setHorizontalStepsPerItem (int steps)

Description: Method void QUndoView::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 QUndoView::setModel(QAbstractItemModel *model)

This method can be reimplemented in a derived class.

setPositionForIndex

Signature: void setPositionForIndex (const QPoint position, const QModelIndex index)

Description: Method void QUndoView::setPositionForIndex(const QPoint &position, const QModelIndex &index)

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

setRootIndex

Signature: void setRootIndex (const QModelIndex index)

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

This method can be reimplemented in a derived class.

setSelection

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

Description: Virtual method void QUndoView::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 QUndoView::setSelectionModel(QItemSelectionModel *selectionModel)

This method can be reimplemented in a derived class.

setStack

Signature: void setStack (QUndoStack ptr stack)

Description: Method void QUndoView::setStack(QUndoStack *stack)

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

setState

Signature: void setState (unsigned int state)

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

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

setVerticalStepsPerItem

Signature: void setVerticalStepsPerItem (int steps)

Description: Method void QUndoView::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 QUndoView::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 QUndoView::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 QUndoView::setVisible(bool visible)

This method can be reimplemented in a derived class.

setupViewport

Signature: void setupViewport (QWidget ptr viewport)

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

This method can be reimplemented in a derived class.

sharedPainter

Signature: [const] QPainter ptr sharedPainter

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

This method can be reimplemented in a derived class.

showEvent

Signature: void showEvent (QShowEvent ptr event)

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

This method can be reimplemented in a derived class.

sizeHint

Signature: [const] QSize sizeHint

Description: Virtual method QSize QUndoView::sizeHint()

This method can be reimplemented in a derived class.

sizeHintForColumn

Signature: [const] int sizeHintForColumn (int column)

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

This method can be reimplemented in a derived class.

sizeHintForRow

Signature: [const] int sizeHintForRow (int row)

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

This method can be reimplemented in a derived class.

stack

Signature: [const] QUndoStack ptr stack

Description: Method QUndoStack *QUndoView::stack()

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

stack=

Signature: void stack= (QUndoStack ptr stack)

Description: Method void QUndoView::setStack(QUndoStack *stack)

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

startAutoScroll

Signature: void startAutoScroll

Description: Method void QUndoView::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 QUndoView::startDrag(QFlags<Qt::DropAction> supportedActions)

This method can be reimplemented in a derived class.

state

Signature: [const] unsigned int state

Description: Method QAbstractItemView::State QUndoView::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 QUndoView::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 QUndoView::tabletEvent(QTabletEvent *event)

This method can be reimplemented in a derived class.

timerEvent

Signature: void timerEvent (QTimerEvent ptr e)

Description: Virtual method void QUndoView::timerEvent(QTimerEvent *e)

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 QUndoView::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 QUndoView::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 QUndoView::updateEditorData()

This method can be reimplemented in a derived class.

updateEditorGeometries

Signature: void updateEditorGeometries

Description: Virtual method void QUndoView::updateEditorGeometries()

This method can be reimplemented in a derived class.

updateGeometries

Signature: void updateGeometries

Description: Virtual method void QUndoView::updateGeometries()

This method can be reimplemented in a derived class.

updateMicroFocus

Signature: void updateMicroFocus

Description: Method void QUndoView::updateMicroFocus()

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

verticalOffset

Signature: [const] int verticalOffset

Description: Virtual method int QUndoView::verticalOffset()

This method can be reimplemented in a derived class.

verticalScrollbarAction

Signature: void verticalScrollbarAction (int action)

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

This method can be reimplemented in a derived class.

verticalScrollbarValueChanged

Signature: void verticalScrollbarValueChanged (int value)

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

This method can be reimplemented in a derived class.

verticalStepsPerItem

Signature: [const] int verticalStepsPerItem

Description: Method int QUndoView::verticalStepsPerItem()

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

viewOptions

Signature: [const] QStyleOptionViewItem viewOptions

Description: Virtual method QStyleOptionViewItem QUndoView::viewOptions()

This method can be reimplemented in a derived class.

viewportEntered

Signature: [signal] void viewportEntered

Description: Signal declaration for QUndoView::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 QUndoView::viewportEvent(QEvent *event)

This method can be reimplemented in a derived class.

viewportMargins

Signature: [const] QMargins viewportMargins

Description: Method QMargins QUndoView::viewportMargins()

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

viewportSizeHint

Signature: [const] QSize viewportSizeHint

Description: Virtual method QSize QUndoView::viewportSizeHint()

This method can be reimplemented in a derived class.

visualRect

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

Description: Virtual method QRect QUndoView::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 QUndoView::visualRegionForSelection(const QItemSelection &selection)

This method can be reimplemented in a derived class.

wheelEvent

Signature: void wheelEvent (QWheelEvent ptr e)

Description: Virtual method void QUndoView::wheelEvent(QWheelEvent *e)

This method can be reimplemented in a derived class.

windowIconChanged

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

Description: Signal declaration for QUndoView::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 QUndoView::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 QUndoView::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.