API reference - Class QUndoView

Notation used in Ruby API documentation

Description: Binding of QUndoView

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

Public constructors

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

Public methods

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.
[event]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)
[event]voidclicked(const QModelIndex index)Signal declaration for QUndoView::clicked(const QModelIndex &index)
[event]voidcustomContextMenuRequested(const QPoint pos)Signal declaration for QUndoView::customContextMenuRequested(const QPoint &pos)
[event]voiddestroyed(QObject ptr arg1)Signal declaration for QUndoView::destroyed(QObject *)
[virtual]voiddoItemsLayoutVirtual method void QUndoView::doItemsLayout()
[event]voiddoubleClicked(const QModelIndex index)Signal declaration for QUndoView::doubleClicked(const QModelIndex &index)
[const]stringemptyLabelMethod QString QUndoView::emptyLabel()
voidemptyLabel=(string label)Method void QUndoView::setEmptyLabel(const QString &label)
[event]voidentered(const QModelIndex index)Signal declaration for QUndoView::entered(const QModelIndex &index)
[virtual]booleventFilter(QObject ptr arg1,
QEvent ptr arg2)
Virtual method bool QUndoView::eventFilter(QObject *, QEvent *)
[const]QUndoGroup ptrgroupMethod QUndoGroup *QUndoView::group()
voidgroup=(QUndoGroup ptr group)Method void QUndoView::setGroup(QUndoGroup *group)
[virtual,const]intheightForWidth(int arg1)Virtual method int QUndoView::heightForWidth(int)
[virtual,const]QModelIndexindexAt(const QPoint p)Virtual method QModelIndex QUndoView::indexAt(const QPoint &p)
[event]voidindexesMoved(QModelIndex[] indexes)Signal declaration for QUndoView::indexesMoved(const QList<QModelIndex> &indexes)
[virtual,const]QVariantinputMethodQuery(const Qt_InputMethodQuery query)Virtual method QVariant QUndoView::inputMethodQuery(Qt::InputMethodQuery query)
[virtual]voidkeyboardSearch(string search)Virtual method void QUndoView::keyboardSearch(const QString &search)
[virtual,const]QSizeminimumSizeHintVirtual method QSize QUndoView::minimumSizeHint()
[virtual,const]QPaintEngine ptrpaintEngineVirtual method QPaintEngine *QUndoView::paintEngine()
[event]voidpressed(const QModelIndex index)Signal declaration for QUndoView::pressed(const QModelIndex &index)
[virtual]voidresetVirtual method void QUndoView::reset()
[virtual]voidscrollTo(const QModelIndex index,
const QAbstractItemView_ScrollHint hint)
Virtual method void QUndoView::scrollTo(const QModelIndex &index, QAbstractItemView::ScrollHint hint)
[virtual]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)
[virtual]voidsetModel(QAbstractItemModel ptr model)Virtual method void QUndoView::setModel(QAbstractItemModel *model)
[virtual]voidsetRootIndex(const QModelIndex index)Virtual method void QUndoView::setRootIndex(const QModelIndex &index)
[virtual]voidsetSelectionModel(QItemSelectionModel ptr selectionModel)Virtual method void QUndoView::setSelectionModel(QItemSelectionModel *selectionModel)
voidsetStack(QUndoStack ptr stack)Method void QUndoView::setStack(QUndoStack *stack)
[virtual]voidsetVisible(bool visible)Virtual method void QUndoView::setVisible(bool visible)
[virtual,const]QSizesizeHintVirtual method QSize QUndoView::sizeHint()
[virtual,const]intsizeHintForColumn(int column)Virtual method int QUndoView::sizeHintForColumn(int column)
[virtual,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)
[event]voidviewportEnteredSignal declaration for QUndoView::viewportEntered()
[virtual,const]QRectvisualRect(const QModelIndex index)Virtual method QRect QUndoView::visualRect(const QModelIndex &index)

Public static methods and constants

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

Protected methods (static, non-static and constructors)

[virtual]voidactionEvent(QActionEvent ptr arg1)Virtual method void QUndoView::actionEvent(QActionEvent *)
[virtual]voidchangeEvent(QEvent ptr arg1)Virtual method void QUndoView::changeEvent(QEvent *)
[virtual]voidchildEvent(QChildEvent ptr arg1)Virtual method void QUndoView::childEvent(QChildEvent *)
[virtual]voidcloseEditor(QWidget ptr editor,
const QAbstractItemDelegate_EndEditHint hint)
Virtual method void QUndoView::closeEditor(QWidget *editor, QAbstractItemDelegate::EndEditHint hint)
[virtual]voidcloseEvent(QCloseEvent ptr arg1)Virtual method void QUndoView::closeEvent(QCloseEvent *)
[virtual]voidcommitData(QWidget ptr editor)Virtual method void QUndoView::commitData(QWidget *editor)
[const]QSizecontentsSizeMethod QSize QUndoView::contentsSize()
[virtual]voidcontextMenuEvent(QContextMenuEvent ptr arg1)Virtual method void QUndoView::contextMenuEvent(QContextMenuEvent *)
[virtual]voidcurrentChanged(const QModelIndex current,
const QModelIndex previous)
Virtual method void QUndoView::currentChanged(const QModelIndex &current, const QModelIndex &previous)
[virtual]voidcustomEvent(QEvent ptr arg1)Virtual method void QUndoView::customEvent(QEvent *)
[virtual]voiddataChanged(const QModelIndex topLeft,
const QModelIndex bottomRight)
Virtual method void QUndoView::dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight)
[const]QPointdirtyRegionOffsetMethod QPoint QUndoView::dirtyRegionOffset()
[virtual]voiddisconnectNotify(string signal)Virtual method void QUndoView::disconnectNotify(const char *signal)
voiddoAutoScrollMethod void QUndoView::doAutoScroll()
[virtual]voiddragEnterEvent(QDragEnterEvent ptr event)Virtual method void QUndoView::dragEnterEvent(QDragEnterEvent *event)
[virtual]voiddragLeaveEvent(QDragLeaveEvent ptr e)Virtual method void QUndoView::dragLeaveEvent(QDragLeaveEvent *e)
[virtual]voiddragMoveEvent(QDragMoveEvent ptr e)Virtual method void QUndoView::dragMoveEvent(QDragMoveEvent *e)
voiddrawFrame(QPainter ptr arg1)Method void QUndoView::drawFrame(QPainter *)
[virtual]voiddropEvent(QDropEvent ptr e)Virtual method void QUndoView::dropEvent(QDropEvent *e)
[const]unsigned intdropIndicatorPositionMethod QAbstractItemView::DropIndicatorPosition QUndoView::dropIndicatorPosition()
[virtual]booledit(const QModelIndex index,
const QAbstractItemView_EditTrigger trigger,
QEvent ptr event)
Virtual method bool QUndoView::edit(const QModelIndex &index, QAbstractItemView::EditTrigger trigger, QEvent *event)
[virtual]voideditorDestroyed(QObject ptr editor)Virtual method void QUndoView::editorDestroyed(QObject *editor)
[virtual]voidenabledChange(bool arg1)Virtual method void QUndoView::enabledChange(bool)
[virtual]voidenterEvent(QEvent ptr arg1)Virtual method void QUndoView::enterEvent(QEvent *)
[virtual]boolevent(QEvent ptr e)Virtual method bool QUndoView::event(QEvent *e)
voidexecuteDelayedItemsLayoutMethod void QUndoView::executeDelayedItemsLayout()
[virtual]voidfocusInEvent(QFocusEvent ptr event)Virtual method void QUndoView::focusInEvent(QFocusEvent *event)
boolfocusNextChildMethod bool QUndoView::focusNextChild()
[virtual]boolfocusNextPrevChild(bool next)Virtual method bool QUndoView::focusNextPrevChild(bool next)
[virtual]voidfocusOutEvent(QFocusEvent ptr event)Virtual method void QUndoView::focusOutEvent(QFocusEvent *event)
boolfocusPreviousChildMethod bool QUndoView::focusPreviousChild()
[virtual]voidfontChange(const QFont arg1)Virtual method void QUndoView::fontChange(const QFont &)
[virtual]voidhideEvent(QHideEvent ptr arg1)Virtual method void QUndoView::hideEvent(QHideEvent *)
[virtual,const]inthorizontalOffsetVirtual method int QUndoView::horizontalOffset()
[virtual]voidhorizontalScrollbarAction(int action)Virtual method void QUndoView::horizontalScrollbarAction(int action)
[virtual]voidhorizontalScrollbarValueChanged(int value)Virtual method void QUndoView::horizontalScrollbarValueChanged(int value)
[const]inthorizontalStepsPerItemMethod int QUndoView::horizontalStepsPerItem()
[virtual]voidinputMethodEvent(QInputMethodEvent ptr event)Virtual method void QUndoView::inputMethodEvent(QInputMethodEvent *event)
voidinternalDrag(const Qt_QFlags_DropAction supportedActions)Method void QUndoView::internalDrag(QFlags<Qt::DropAction> supportedActions)
voidinternalDrop(QDropEvent ptr e)Method void QUndoView::internalDrop(QDropEvent *e)
[virtual,const]boolisIndexHidden(const QModelIndex index)Virtual method bool QUndoView::isIndexHidden(const QModelIndex &index)
[virtual]voidkeyPressEvent(QKeyEvent ptr event)Virtual method void QUndoView::keyPressEvent(QKeyEvent *event)
[virtual]voidkeyReleaseEvent(QKeyEvent ptr arg1)Virtual method void QUndoView::keyReleaseEvent(QKeyEvent *)
[virtual]voidlanguageChangeVirtual method void QUndoView::languageChange()
[virtual]voidleaveEvent(QEvent ptr arg1)Virtual method void QUndoView::leaveEvent(QEvent *)
[virtual,const]intmetric(const QPaintDevice_PaintDeviceMetric arg1)Virtual method int QUndoView::metric(QPaintDevice::PaintDeviceMetric)
[virtual]voidmouseDoubleClickEvent(QMouseEvent ptr event)Virtual method void QUndoView::mouseDoubleClickEvent(QMouseEvent *event)
[virtual]voidmouseMoveEvent(QMouseEvent ptr e)Virtual method void QUndoView::mouseMoveEvent(QMouseEvent *e)
[virtual]voidmousePressEvent(QMouseEvent ptr event)Virtual method void QUndoView::mousePressEvent(QMouseEvent *event)
[virtual]voidmouseReleaseEvent(QMouseEvent ptr e)Virtual method void QUndoView::mouseReleaseEvent(QMouseEvent *e)
[virtual]QModelIndexmoveCursor(unsigned int cursorAction,
const Qt_QFlags_KeyboardModifier modifiers)
Virtual method QModelIndex QUndoView::moveCursor(QAbstractItemView::CursorAction cursorAction, QFlags<Qt::KeyboardModifier> modifiers)
[virtual]voidmoveEvent(QMoveEvent ptr arg1)Virtual method void QUndoView::moveEvent(QMoveEvent *)
[virtual]voidpaintEvent(QPaintEvent ptr e)Virtual method void QUndoView::paintEvent(QPaintEvent *e)
[virtual]voidpaletteChange(const QPalette arg1)Virtual method void QUndoView::paletteChange(const QPalette &)
voidqt_create(unsigned 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)
voidresetInputContextMethod void QUndoView::resetInputContext()
voidresizeContents(int width,
int height)
Method void QUndoView::resizeContents(int width, int height)
[virtual]voidresizeEvent(QResizeEvent ptr e)Virtual method void QUndoView::resizeEvent(QResizeEvent *e)
[virtual]voidrowsAboutToBeRemoved(const QModelIndex parent,
int start,
int end)
Virtual method void QUndoView::rowsAboutToBeRemoved(const QModelIndex &parent, int start, int end)
[virtual]voidrowsInserted(const QModelIndex parent,
int start,
int end)
Virtual method void QUndoView::rowsInserted(const QModelIndex &parent, int start, int end)
voidscheduleDelayedItemsLayoutMethod void QUndoView::scheduleDelayedItemsLayout()
[virtual]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)
[virtual,const]QModelIndex[]selectedIndexesVirtual method QList<QModelIndex> QUndoView::selectedIndexes()
[virtual]voidselectionChanged(const QItemSelection selected,
const QItemSelection deselected)
Virtual method void QUndoView::selectionChanged(const QItemSelection &selected, const QItemSelection &deselected)
[virtual,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()
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)
[virtual]voidsetSelection(const QRect rect,
const 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)
voidsetupViewport(QWidget ptr viewport)Method void QUndoView::setupViewport(QWidget *viewport)
[virtual]voidshowEvent(QShowEvent ptr arg1)Virtual method void QUndoView::showEvent(QShowEvent *)
voidstartAutoScrollMethod void QUndoView::startAutoScroll()
[virtual]voidstartDrag(const Qt_QFlags_DropAction supportedActions)Virtual method void QUndoView::startDrag(QFlags<Qt::DropAction> supportedActions)
[const]unsigned intstateMethod QAbstractItemView::State QUndoView::state()
voidstopAutoScrollMethod void QUndoView::stopAutoScroll()
[virtual]voidstyleChange(QStyle arg1)Virtual method void QUndoView::styleChange(QStyle &)
[virtual]voidtabletEvent(QTabletEvent ptr arg1)Virtual method void QUndoView::tabletEvent(QTabletEvent *)
[virtual]voidtimerEvent(QTimerEvent ptr e)Virtual method void QUndoView::timerEvent(QTimerEvent *e)
[virtual]voidupdateEditorDataVirtual method void QUndoView::updateEditorData()
[virtual]voidupdateEditorGeometriesVirtual method void QUndoView::updateEditorGeometries()
[virtual]voidupdateGeometriesVirtual method void QUndoView::updateGeometries()
voidupdateMicroFocusMethod void QUndoView::updateMicroFocus()
[virtual,const]intverticalOffsetVirtual method int QUndoView::verticalOffset()
[virtual]voidverticalScrollbarAction(int action)Virtual method void QUndoView::verticalScrollbarAction(int action)
[virtual]voidverticalScrollbarValueChanged(int value)Virtual method void QUndoView::verticalScrollbarValueChanged(int value)
[const]intverticalStepsPerItemMethod int QUndoView::verticalStepsPerItem()
[virtual,const]QStyleOptionViewItemviewOptionsVirtual method QStyleOptionViewItem QUndoView::viewOptions()
[virtual]boolviewportEvent(QEvent ptr event)Virtual method bool QUndoView::viewportEvent(QEvent *event)
[virtual,const]QRegionvisualRegionForSelection(const QItemSelection selection)Virtual method QRegion QUndoView::visualRegionForSelection(const QItemSelection &selection)
[virtual]voidwheelEvent(QWheelEvent ptr arg1)Virtual method void QUndoView::wheelEvent(QWheelEvent *)
[virtual]voidwindowActivationChange(bool arg1)Virtual method void QUndoView::windowActivationChange(bool)

Deprecated methods (protected, public, static, non-static and constructors)

voidcreateUse of this method is deprecated. Use _create instead
voiddestroyUse of this method is deprecated. Use _destroy instead
[const]booldestroyed?Use of this method is deprecated. Use _destroyed? instead
[const]boolis_const_object?Use of this method is deprecated. Use _is_const_object? instead

Detailed description

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.

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.

[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.

[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.

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.

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.

[virtual] void actionEvent(QActionEvent ptr arg1)

Description: Virtual method void QUndoView::actionEvent(QActionEvent *)

This method can be reimplemented in a derived class.

[event] void activated(const QModelIndex index)

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

You can bind a procedure to this signal.

[virtual] void changeEvent(QEvent ptr arg1)

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

This method can be reimplemented in a derived class.

[virtual] void childEvent(QChildEvent ptr arg1)

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

This method can be reimplemented in a derived class.

[const] QIcon cleanIcon

Description: Method QIcon QUndoView::cleanIcon()

Python specific notes:

The object exposes a readable attribute 'cleanIcon'. This is the getter.

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.

[event] void clicked(const QModelIndex index)

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

You can bind a procedure to this signal.

[virtual] 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.

[virtual] void closeEvent(QCloseEvent ptr arg1)

Description: Virtual method void QUndoView::closeEvent(QCloseEvent *)

This method can be reimplemented in a derived class.

[virtual] void commitData(QWidget ptr editor)

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

This method can be reimplemented in a derived class.

[const] QSize contentsSize

Description: Method QSize QUndoView::contentsSize()

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

[virtual] void contextMenuEvent(QContextMenuEvent ptr arg1)

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

This method can be reimplemented in a derived class.

void create

Description: Ensures the C++ object is created

Use of this method is deprecated. Use _create instead

[virtual] 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.

[event] void customContextMenuRequested(const QPoint pos)

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

You can bind a procedure to this signal.

[virtual] void customEvent(QEvent ptr arg1)

Description: Virtual method void QUndoView::customEvent(QEvent *)

This method can be reimplemented in a derived class.

[virtual] void dataChanged(const QModelIndex topLeft,const QModelIndex bottomRight)

Description: Virtual method void QUndoView::dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight)

This method can be reimplemented in a derived class.

void destroy

Description: Explicitly destroys the object

Use of this method is deprecated. Use _destroy instead

[event] void destroyed(QObject ptr arg1)

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

You can bind a procedure to this signal.

[const] bool destroyed?

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

Use of this method is deprecated. Use _destroyed? instead

[const] QPoint dirtyRegionOffset

Description: Method QPoint QUndoView::dirtyRegionOffset()

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

[virtual] void disconnectNotify(string signal)

Description: Virtual method void QUndoView::disconnectNotify(const char *signal)

This method can be reimplemented in a derived class.

void doAutoScroll

Description: Method void QUndoView::doAutoScroll()

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

[virtual] void doItemsLayout

Description: Virtual method void QUndoView::doItemsLayout()

This method can be reimplemented in a derived class.

[event] void doubleClicked(const QModelIndex index)

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

You can bind a procedure to this signal.

[virtual] void dragEnterEvent(QDragEnterEvent ptr event)

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

This method can be reimplemented in a derived class.

[virtual] void dragLeaveEvent(QDragLeaveEvent ptr e)

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

This method can be reimplemented in a derived class.

[virtual] void dragMoveEvent(QDragMoveEvent ptr e)

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

This method can be reimplemented in a derived class.

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.

[virtual] void dropEvent(QDropEvent ptr e)

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

This method can be reimplemented in a derived class.

[const] unsigned int dropIndicatorPosition

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

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

[virtual] 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.

[virtual] void editorDestroyed(QObject ptr editor)

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

This method can be reimplemented in a derived class.

[const] string emptyLabel

Description: Method QString QUndoView::emptyLabel()

Python specific notes:

The object exposes a readable attribute 'emptyLabel'. This is the getter.

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.

[virtual] void enabledChange(bool arg1)

Description: Virtual method void QUndoView::enabledChange(bool)

This method can be reimplemented in a derived class.

[virtual] void enterEvent(QEvent ptr arg1)

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

This method can be reimplemented in a derived class.

[event] void entered(const QModelIndex index)

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

You can bind a procedure to this signal.

[virtual] bool event(QEvent ptr e)

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

This method can be reimplemented in a derived class.

[virtual] bool eventFilter(QObject ptr arg1,QEvent ptr arg2)

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

This method can be reimplemented in a derived class.

void executeDelayedItemsLayout

Description: Method void QUndoView::executeDelayedItemsLayout()

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

[virtual] void focusInEvent(QFocusEvent ptr event)

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

This method can be reimplemented in a derived class.

bool focusNextChild

Description: Method bool QUndoView::focusNextChild()

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

[virtual] bool focusNextPrevChild(bool next)

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

This method can be reimplemented in a derived class.

[virtual] void focusOutEvent(QFocusEvent ptr event)

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

This method can be reimplemented in a derived class.

bool focusPreviousChild

Description: Method bool QUndoView::focusPreviousChild()

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

[virtual] void fontChange(const QFont arg1)

Description: Virtual method void QUndoView::fontChange(const QFont &)

This method can be reimplemented in a derived class.

[const] QUndoGroup ptr group

Description: Method QUndoGroup *QUndoView::group()

Python specific notes:

The object exposes a readable attribute 'group'. This is the getter.

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.

[virtual,const] int heightForWidth(int arg1)

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

This method can be reimplemented in a derived class.

[virtual] void hideEvent(QHideEvent ptr arg1)

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

This method can be reimplemented in a derived class.

[virtual,const] int horizontalOffset

Description: Virtual method int QUndoView::horizontalOffset()

This method can be reimplemented in a derived class.

[virtual] void horizontalScrollbarAction(int action)

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

This method can be reimplemented in a derived class.

[virtual] void horizontalScrollbarValueChanged(int value)

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

This method can be reimplemented in a derived class.

[const] int horizontalStepsPerItem

Description: Method int QUndoView::horizontalStepsPerItem()

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

[virtual,const] QModelIndex indexAt(const QPoint p)

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

This method can be reimplemented in a derived class.

[event] void indexesMoved(QModelIndex[] indexes)

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

You can bind a procedure to this signal.

[virtual] void inputMethodEvent(QInputMethodEvent ptr event)

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

This method can be reimplemented in a derived class.

[virtual,const] QVariant inputMethodQuery(const Qt_InputMethodQuery query)

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

This method can be reimplemented in a derived class.

void internalDrag(const Qt_QFlags_DropAction supportedActions)

Description: Method void QUndoView::internalDrag(QFlags<Qt::DropAction> supportedActions)

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

void internalDrop(QDropEvent ptr e)

Description: Method void QUndoView::internalDrop(QDropEvent *e)

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

[virtual,const] bool isIndexHidden(const QModelIndex index)

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

This method can be reimplemented in a derived class.

[const] bool is_const_object?

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

Use of this method is deprecated. Use _is_const_object? instead

[virtual] void keyPressEvent(QKeyEvent ptr event)

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

This method can be reimplemented in a derived class.

[virtual] void keyReleaseEvent(QKeyEvent ptr arg1)

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

This method can be reimplemented in a derived class.

[virtual] void keyboardSearch(string search)

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

This method can be reimplemented in a derived class.

[virtual] void languageChange

Description: Virtual method void QUndoView::languageChange()

This method can be reimplemented in a derived class.

[virtual] void leaveEvent(QEvent ptr arg1)

Description: Virtual method void QUndoView::leaveEvent(QEvent *)

This method can be reimplemented in a derived class.

[virtual,const] int metric(const QPaintDevice_PaintDeviceMetric arg1)

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

This method can be reimplemented in a derived class.

[virtual,const] QSize minimumSizeHint

Description: Virtual method QSize QUndoView::minimumSizeHint()

This method can be reimplemented in a derived class.

[virtual] void mouseDoubleClickEvent(QMouseEvent ptr event)

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

This method can be reimplemented in a derived class.

[virtual] void mouseMoveEvent(QMouseEvent ptr e)

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

This method can be reimplemented in a derived class.

[virtual] void mousePressEvent(QMouseEvent ptr event)

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

This method can be reimplemented in a derived class.

[virtual] void mouseReleaseEvent(QMouseEvent ptr e)

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

This method can be reimplemented in a derived class.

[virtual] QModelIndex moveCursor(unsigned int cursorAction,const 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.

[virtual] void moveEvent(QMoveEvent ptr arg1)

Description: Virtual method void QUndoView::moveEvent(QMoveEvent *)

This method can be reimplemented in a derived class.

[static] new QUndoView new(QWidget ptr parent = 0)

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

[static] new QUndoView new(QUndoStack ptr stack,QWidget ptr parent = 0)

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

[static] new QUndoView new(QUndoGroup ptr group,QWidget ptr parent = 0)

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

[virtual,const] QPaintEngine ptr paintEngine

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

This method can be reimplemented in a derived class.

[virtual] void paintEvent(QPaintEvent ptr e)

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

This method can be reimplemented in a derived class.

[virtual] void paletteChange(const QPalette arg1)

Description: Virtual method void QUndoView::paletteChange(const QPalette &)

This method can be reimplemented in a derived class.

[event] void pressed(const QModelIndex index)

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

You can bind a procedure to this signal.

void qt_create(unsigned 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.

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.

[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.

[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.

[virtual] void reset

Description: Virtual method void QUndoView::reset()

This method can be reimplemented in a derived class.

void resetInputContext

Description: Method void QUndoView::resetInputContext()

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

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.

[virtual] void resizeEvent(QResizeEvent ptr e)

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

This method can be reimplemented in a derived class.

[virtual] 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.

[virtual] 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.

void scheduleDelayedItemsLayout

Description: Method void QUndoView::scheduleDelayedItemsLayout()

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

[virtual] 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.

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.

[virtual] 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.

[virtual] void selectAll

Description: Virtual method void QUndoView::selectAll()

This method can be reimplemented in a derived class.

[virtual,const] QModelIndex[] selectedIndexes

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

This method can be reimplemented in a derived class.

[virtual] 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.

[virtual,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.

[const] QObject ptr sender

Description: Method QObject *QUndoView::sender()

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

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.

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.

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.

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.

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.

[virtual] void setModel(QAbstractItemModel ptr model)

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

This method can be reimplemented in a derived class.

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.

[virtual] void setRootIndex(const QModelIndex index)

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

This method can be reimplemented in a derived class.

[virtual] void setSelection(const QRect rect,const 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.

[virtual] void setSelectionModel(QItemSelectionModel ptr selectionModel)

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

This method can be reimplemented in a derived class.

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.

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.

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.

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.

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.

[virtual] void setVisible(bool visible)

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

This method can be reimplemented in a derived class.

void setupViewport(QWidget ptr viewport)

Description: Method void QUndoView::setupViewport(QWidget *viewport)

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

[virtual] void showEvent(QShowEvent ptr arg1)

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

This method can be reimplemented in a derived class.

[virtual,const] QSize sizeHint

Description: Virtual method QSize QUndoView::sizeHint()

This method can be reimplemented in a derived class.

[virtual,const] int sizeHintForColumn(int column)

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

This method can be reimplemented in a derived class.

[virtual,const] int sizeHintForRow(int row)

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

This method can be reimplemented in a derived class.

[const] QUndoStack ptr stack

Description: Method QUndoStack *QUndoView::stack()

Python specific notes:

The object exposes a readable attribute 'stack'. This is the getter.

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.

void startAutoScroll

Description: Method void QUndoView::startAutoScroll()

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

[virtual] void startDrag(const Qt_QFlags_DropAction supportedActions)

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

This method can be reimplemented in a derived class.

[const] unsigned int state

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

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

[static] QMetaObject staticMetaObject

Description: Obtains the static MetaObject for this class.

void stopAutoScroll

Description: Method void QUndoView::stopAutoScroll()

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

[virtual] void styleChange(QStyle arg1)

Description: Virtual method void QUndoView::styleChange(QStyle &)

This method can be reimplemented in a derived class.

[virtual] void tabletEvent(QTabletEvent ptr arg1)

Description: Virtual method void QUndoView::tabletEvent(QTabletEvent *)

This method can be reimplemented in a derived class.

[virtual] void timerEvent(QTimerEvent ptr e)

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

This method can be reimplemented in a derived class.

[static] string tr(string s,string c = 0)

Description: Static method QString QUndoView::tr(const char *s, const char *c)

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

[static] string tr(string s,string c,int n)

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.

[static] string trUtf8(string s,string c = 0)

Description: Static method QString QUndoView::trUtf8(const char *s, const char *c)

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

[static] string trUtf8(string s,string c,int n)

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.

[virtual] void updateEditorData

Description: Virtual method void QUndoView::updateEditorData()

This method can be reimplemented in a derived class.

[virtual] void updateEditorGeometries

Description: Virtual method void QUndoView::updateEditorGeometries()

This method can be reimplemented in a derived class.

[virtual] void updateGeometries

Description: Virtual method void QUndoView::updateGeometries()

This method can be reimplemented in a derived class.

void updateMicroFocus

Description: Method void QUndoView::updateMicroFocus()

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

[virtual,const] int verticalOffset

Description: Virtual method int QUndoView::verticalOffset()

This method can be reimplemented in a derived class.

[virtual] void verticalScrollbarAction(int action)

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

This method can be reimplemented in a derived class.

[virtual] void verticalScrollbarValueChanged(int value)

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

This method can be reimplemented in a derived class.

[const] int verticalStepsPerItem

Description: Method int QUndoView::verticalStepsPerItem()

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

[virtual,const] QStyleOptionViewItem viewOptions

Description: Virtual method QStyleOptionViewItem QUndoView::viewOptions()

This method can be reimplemented in a derived class.

[event] void viewportEntered

Description: Signal declaration for QUndoView::viewportEntered()

You can bind a procedure to this signal.

[virtual] bool viewportEvent(QEvent ptr event)

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

This method can be reimplemented in a derived class.

[virtual,const] QRect visualRect(const QModelIndex index)

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

This method can be reimplemented in a derived class.

[virtual,const] QRegion visualRegionForSelection(const QItemSelection selection)

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

This method can be reimplemented in a derived class.

[virtual] void wheelEvent(QWheelEvent ptr arg1)

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

This method can be reimplemented in a derived class.

[virtual] void windowActivationChange(bool arg1)

Description: Virtual method void QUndoView::windowActivationChange(bool)

This method can be reimplemented in a derived class.