Skip to content

PythonQt.QtGui.QUndoView · declarations 001

Back to PythonQt.QtGui.QUndoView

activated

activated(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QUndoView.activated; argument details are not documented.

cleanIcon instance-attribute

cleanIcon: QIcon

Qt 5 reference:

cleanIcon : QIcon

This property holds the icon used to represent the clean state.

A stack may have a clean state set with QUndoStack::setClean(). This is usually the state of the document at the point it was saved. QUndoView can display an icon in the list of commands to show the clean state. If this property is a null icon, no icon is shown. The default value is the null icon.

Access functions:

QIcon cleanIcon() const
void setCleanIcon(const QIcon \&icon)

Source: https://doc.qt.io/archives/qt-5.15/qundoview.html#cleanIcon

clicked

clicked(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QUndoView.clicked; argument details are not documented.

customContextMenuRequested

customContextMenuRequested(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QUndoView.customContextMenuRequested; argument details are not documented.

destroyed

destroyed(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QUndoView.destroyed; argument details are not documented.

doubleClicked

doubleClicked(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QUndoView.doubleClicked; argument details are not documented.

emptyLabel instance-attribute

emptyLabel: str

Qt 5 reference:

emptyLabel : QString

This property holds the label used for the empty state.

The empty label is the topmost element in the list of commands, which represents the state of the document before any commands were pushed on the stack. The default is the string "\<empty>".

Access functions:

QString emptyLabel() const
void setEmptyLabel(const QString \&label)

Source: https://doc.qt.io/archives/qt-5.15/qundoview.html#emptyLabel

entered

entered(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QUndoView.entered; argument details are not documented.

group

group() -> Any

X.group() -> PythonQt.QtGui.QUndoGroup

Supplemental documentation: Qt 5 reference:

QUndoGroup *QUndoView::group() const

Returns the group displayed by this view.

If the view is not looking at group, this function returns nullptr.

See also setGroup() and setStack().

Upstream PySide2 reference signatures (binding differences may apply):

group(self) -> PySide2.QtWidgets.QUndoGroup

Source: https://doc.qt.io/archives/qt-5.15/qundoview.html#group

iconSizeChanged

iconSizeChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QUndoView.iconSizeChanged; argument details are not documented.

indexesMoved

indexesMoved(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QUndoView.indexesMoved; argument details are not documented.

objectNameChanged

objectNameChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QUndoView.objectNameChanged; argument details are not documented.

pressed

pressed(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QUndoView.pressed; argument details are not documented.

setCleanIcon

setCleanIcon(icon: Any) -> None

X.setCleanIcon(icon)

Upstream PySide2 reference signatures (binding differences may apply):

setCleanIcon(self, icon: PySide2.QtGui.QIcon) -> None

Source: https://doc.qt.io/archives/qt-5.15/qundoview.html#setCleanIcon

setEmptyLabel

setEmptyLabel(label: str) -> None

X.setEmptyLabel(label)

Upstream PySide2 reference signatures (binding differences may apply):

setEmptyLabel(self, label: str) -> None

Source: https://doc.qt.io/archives/qt-5.15/qundoview.html#setEmptyLabel

setGroup

setGroup(group: Any) -> None

X.setGroup(group)

Supplemental documentation: Qt 5 reference:

[slot] void QUndoView::setGroup(QUndoGroup *group)

Sets the group displayed by this view to group. If group is nullptr, the view will be empty.

The view will update itself automatically whenever the active stack of the group changes.

See also group() and setStack().

Upstream PySide2 reference signatures (binding differences may apply):

setGroup(self, group: PySide2.QtWidgets.QUndoGroup) -> None

Source: https://doc.qt.io/archives/qt-5.15/qundoview.html#setGroup

setStack

setStack(stack: Any) -> None

X.setStack(stack)

Supplemental documentation: Qt 5 reference:

[slot] void QUndoView::setStack(QUndoStack *stack)

Sets the stack displayed by this view to stack. If stack is nullptr, the view will be empty.

If the view was previously looking at a QUndoGroup, the group is set to nullptr.

See also stack() and setGroup().

Upstream PySide2 reference signatures (binding differences may apply):

setStack(self, stack: PySide2.QtWidgets.QUndoStack) -> None

Source: https://doc.qt.io/archives/qt-5.15/qundoview.html#setStack

stack

stack() -> Any

X.stack() -> PythonQt.QtGui.QUndoStack

Supplemental documentation: Qt 5 reference:

QUndoStack *QUndoView::stack() const

Returns the stack currently displayed by this view. If the view is looking at a QUndoGroup, this the group's active stack.

See also setStack() and setGroup().

Upstream PySide2 reference signatures (binding differences may apply):

stack(self) -> PySide2.QtWidgets.QUndoStack

Source: https://doc.qt.io/archives/qt-5.15/qundoview.html#stack

viewportEntered

viewportEntered(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QUndoView.viewportEntered; argument details are not documented.

windowIconChanged

windowIconChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QUndoView.windowIconChanged; argument details are not documented.

windowIconTextChanged

windowIconTextChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QUndoView.windowIconTextChanged; argument details are not documented.

windowTitleChanged

windowTitleChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QUndoView.windowTitleChanged; argument details are not documented.