java.lang.Object
io.qt.QtObject
io.qt.gui.QUndoCommand
- All Implemented Interfaces:
QtObjectInterface
The base class of all commands stored on a QUndoStack
Java wrapper for Qt class QUndoCommand
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ConstructorsConstructorDescriptionOverloaded constructor forQUndoCommand(io.qt.gui.QUndoCommand)
withparent = null
.QUndoCommand
(String text) Overloaded constructor forQUndoCommand(java.lang.String, io.qt.gui.QUndoCommand)
withparent = null
.QUndoCommand
(String text, QUndoCommand parent) QUndoCommand
(QUndoCommand parent) -
Method Summary
Modifier and TypeMethodDescriptionfinal String
final QUndoCommand
child
(int index) final int
int
id()
final boolean
boolean
mergeWith
(QUndoCommand other) void
redo()
final void
setObsolete
(boolean obsolete) final void
final String
text()
void
undo()
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QUndoCommand
public QUndoCommand()Overloaded constructor for
QUndoCommand(io.qt.gui.QUndoCommand)
withparent = null
. -
QUndoCommand
-
QUndoCommand
Overloaded constructor for
QUndoCommand(java.lang.String, io.qt.gui.QUndoCommand)
withparent = null
. -
QUndoCommand
-
-
Method Details
-
actionText
-
child
-
childCount
-
isObsolete
-
setObsolete
-
setText
-
text
-
id
-
mergeWith
-
redo
-
undo
-