<class name="QUndoView" doc="/**
&lt;p&gt;The &lt;a href=&quot;QUndoView.html#QUndoView(com.trolltech.qt.gui.QUndoStack, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QUndoView&lt;/tt&gt;&lt;/a&gt; class displays the contents of a &lt;a href=&quot;QUndoStack.html&quot;&gt;&lt;tt&gt;QUndoStack&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QUndoView.html#QUndoView(com.trolltech.qt.gui.QUndoStack, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QUndoView&lt;/tt&gt;&lt;/a&gt; is a &lt;a href=&quot;QListView.html#QListView(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QListView&lt;/tt&gt;&lt;/a&gt; which displays the list of commands pushed on an undo stack. The most recently executed command is always selected. Selecting a different command results in a call to QUndoStack::setIndex(), rolling the state of the document backwards or forward to the new command.&lt;/p&gt;
&lt;p&gt;The stack can be set explicitly with &lt;a href=&quot;QUndoView.html#setStack(com.trolltech.qt.gui.QUndoStack)&quot;&gt;&lt;tt&gt;setStack&lt;/tt&gt;&lt;/a&gt;. Alternatively, a &lt;a href=&quot;QUndoGroup.html&quot;&gt;&lt;tt&gt;QUndoGroup&lt;/tt&gt;&lt;/a&gt; object can be set with &lt;a href=&quot;QUndoView.html#setGroup(com.trolltech.qt.gui.QUndoGroup)&quot;&gt;&lt;tt&gt;setGroup&lt;/tt&gt;&lt;/a&gt;. The view will then update itself automatically whenever the active stack of the group changes.&lt;/p&gt;
&lt;p align=&quot;center&quot;&gt;&lt;img src=&quot;%2E%2E/images/qundoview.png&quot; /&gt;&lt;/p&gt; */">
    <signal name="protected final void activated(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;This signal is emitted when the item specified by &lt;tt&gt;index&lt;/tt&gt; is activated by the user. How to activate items depends on the platform; e.g&amp;#x2e;, by single- or double-clicking the item, or by pressing the Return or Enter key when the item is current.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.QModelIndex index)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QUndoView.html#clicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;clicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QUndoView.html#doubleClicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;doubleClicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QUndoView.html#entered(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;entered&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QUndoView.html#pressed(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;pressed&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void clicked(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;This signal is emitted when a mouse button is clicked. The item the mouse was clicked on is specified by &lt;tt&gt;index&lt;/tt&gt;. The signal is only emitted when the index is valid.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.QModelIndex index)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QUndoView.html#activated(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;activated&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QUndoView.html#doubleClicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;doubleClicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QUndoView.html#entered(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;entered&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QUndoView.html#pressed(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;pressed&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void customContextMenuRequested(com.trolltech.qt.core.QPoint pos)" doc="/**
&lt;p&gt;This signal is emitted when the widget's &lt;a href=&quot;QWidget.html#contextMenuPolicy()&quot;&gt;&lt;tt&gt;contextMenuPolicy&lt;/tt&gt;&lt;/a&gt; is Qt::CustomContextMenu, and the user has requested a context menu on the widget. The position &lt;tt&gt;pos&lt;/tt&gt; is the position of the context menu event that the widget receives. Normally this is in widget coordinates. The exception to this rule is &lt;a href=&quot;QAbstractScrollArea.html#QAbstractScrollArea(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QAbstractScrollArea&lt;/tt&gt;&lt;/a&gt; and its subclasses that map the context menu event to coordinates of the viewport()&lt;/tt&gt; .&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.QPoint pos)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QWidget.html#mapToGlobal(com.trolltech.qt.core.QPoint)&quot;&gt;&lt;tt&gt;mapToGlobal&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QMenu.html&quot;&gt;&lt;tt&gt;QMenu&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QWidget.html#contextMenuPolicy()&quot;&gt;&lt;tt&gt;contextMenuPolicy&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void doubleClicked(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;This signal is emitted when a mouse button is double-clicked. The item the mouse was double-clicked on is specified by &lt;tt&gt;index&lt;/tt&gt;. The signal is only emitted when the index is valid.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.QModelIndex index)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QUndoView.html#clicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;clicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QUndoView.html#activated(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;activated&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void entered(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;This signal is emitted when the mouse cursor enters the item specified by &lt;tt&gt;index&lt;/tt&gt;. Mouse tracking needs to be enabled for this feature to work.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.QModelIndex index)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QUndoView.html#viewportEntered()&quot;&gt;&lt;tt&gt;viewportEntered&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QUndoView.html#activated(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;activated&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QUndoView.html#clicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;clicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QUndoView.html#doubleClicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;doubleClicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QUndoView.html#pressed(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;pressed&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void indexesMoved(java.util.List indexes)" doc="/**
&lt;p&gt;This signal is emitted when the specified &lt;tt&gt;indexes&lt;/tt&gt; are moved in the view.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(java.util.List indexes)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void pressed(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;This signal is emitted when a mouse button is pressed. The item the mouse was pressed on is specified by &lt;tt&gt;index&lt;/tt&gt;. The signal is only emitted when the index is valid.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.QModelIndex index)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QUndoView.html#activated(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;activated&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QUndoView.html#clicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;clicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QUndoView.html#doubleClicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;doubleClicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QUndoView.html#entered(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;entered&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void viewportEntered()" doc="/**
&lt;p&gt;This signal is emitted when the mouse cursor enters the viewport. Mouse tracking needs to be enabled for this feature to work.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signature:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QUndoView.html#entered(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;entered&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <method name="public QUndoView(com.trolltech.qt.gui.QUndoGroup group, com.trolltech.qt.gui.QWidget parent)" doc="/**
&lt;p&gt;Constructs a new view with parent &lt;tt&gt;parent&lt;/tt&gt; and sets the observed group to &lt;tt&gt;group&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The view will update itself autmiatically whenever the active stack of the group changes.&lt;/p&gt;
 */"/>
    <method name="public QUndoView(com.trolltech.qt.gui.QUndoGroup group)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QUndoView.html#QUndoView(com.trolltech.qt.gui.QUndoStack, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QUndoView&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;group&lt;/tt&gt;, 0). */"/>
    <method name="public QUndoView(com.trolltech.qt.gui.QWidget parent)" doc="/**
&lt;p&gt;Constructs a new view with parent &lt;tt&gt;parent&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public QUndoView()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QUndoView.html#QUndoView(com.trolltech.qt.gui.QUndoStack, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QUndoView&lt;/tt&gt;&lt;/a&gt;(0). */"/>
    <method name="public QUndoView(com.trolltech.qt.gui.QUndoStack stack, com.trolltech.qt.gui.QWidget parent)" doc="/**
&lt;p&gt;Constructs a new view with parent &lt;tt&gt;parent&lt;/tt&gt; and sets the observed stack to &lt;tt&gt;stack&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public QUndoView(com.trolltech.qt.gui.QUndoStack stack)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QUndoView.html#QUndoView(com.trolltech.qt.gui.QUndoStack, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QUndoView&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;stack&lt;/tt&gt;, 0). */"/>
    <method name="public final com.trolltech.qt.gui.QIcon cleanIcon()" doc="/**
&lt;p&gt;Returns the icon used to represent the clean state..&lt;/p&gt;
&lt;p&gt;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. &lt;a href=&quot;QUndoView.html#QUndoView(com.trolltech.qt.gui.QUndoStack, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QUndoView&lt;/tt&gt;&lt;/a&gt; can display an icon in the list of commands to show the clean state. If this proprety is a null icon, no icon is shown. The default value is the null icon.&lt;/p&gt;

@see &lt;a href=&quot;QUndoView.html#setCleanIcon(com.trolltech.qt.gui.QIcon)&quot;&gt;&lt;tt&gt;setCleanIcon&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.lang.String emptyLabel()" doc="/**
&lt;p&gt;Returns the label used for the empty state..&lt;/p&gt;
&lt;p&gt;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 &amp;quot;&amp;lt;empty&amp;gt;&amp;quot;.&lt;/p&gt;

@see &lt;a href=&quot;QUndoView.html#setEmptyLabel(java.lang.String)&quot;&gt;&lt;tt&gt;setEmptyLabel&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QUndoGroup group()" doc="/**
&lt;p&gt;Returns the group displayed by this view.&lt;/p&gt;
&lt;p&gt;If the view is not looking at group, this function returns 0.&lt;/p&gt;

@see &lt;a href=&quot;QUndoView.html#setGroup(com.trolltech.qt.gui.QUndoGroup)&quot;&gt;&lt;tt&gt;setGroup&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QUndoView.html#setStack(com.trolltech.qt.gui.QUndoStack)&quot;&gt;&lt;tt&gt;setStack&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setCleanIcon(com.trolltech.qt.gui.QIcon icon)" doc="/**
&lt;p&gt;Sets the icon used to represent the clean state. to &lt;tt&gt;icon&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;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. &lt;a href=&quot;QUndoView.html#QUndoView(com.trolltech.qt.gui.QUndoStack, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QUndoView&lt;/tt&gt;&lt;/a&gt; can display an icon in the list of commands to show the clean state. If this proprety is a null icon, no icon is shown. The default value is the null icon.&lt;/p&gt;

@see &lt;a href=&quot;QUndoView.html#cleanIcon()&quot;&gt;&lt;tt&gt;cleanIcon&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setEmptyLabel(java.lang.String label)" doc="/**
&lt;p&gt;Sets the label used for the empty state. to &lt;tt&gt;label&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;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 &amp;quot;&amp;lt;empty&amp;gt;&amp;quot;.&lt;/p&gt;

@see &lt;a href=&quot;QUndoView.html#emptyLabel()&quot;&gt;&lt;tt&gt;emptyLabel&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setGroup(com.trolltech.qt.gui.QUndoGroup group)" doc="/**
&lt;p&gt;Sets the group displayed by this view to &lt;tt&gt;group&lt;/tt&gt;. If &lt;tt&gt;group&lt;/tt&gt; is 0, the view will be empty.&lt;/p&gt;
&lt;p&gt;The view will update itself autmiatically whenever the active stack of the group changes.&lt;/p&gt;

@see &lt;a href=&quot;QUndoView.html#group()&quot;&gt;&lt;tt&gt;group&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QUndoView.html#setStack(com.trolltech.qt.gui.QUndoStack)&quot;&gt;&lt;tt&gt;setStack&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setStack(com.trolltech.qt.gui.QUndoStack stack)" doc="/**
&lt;p&gt;Sets the stack displayed by this view to &lt;tt&gt;stack&lt;/tt&gt;. If &lt;tt&gt;stack&lt;/tt&gt; is 0, the view will be empty.&lt;/p&gt;
&lt;p&gt;If the view was previously looking at a &lt;a href=&quot;QUndoGroup.html&quot;&gt;&lt;tt&gt;QUndoGroup&lt;/tt&gt;&lt;/a&gt;, the group is set to 0.&lt;/p&gt;

@see &lt;a href=&quot;QUndoView.html#stack()&quot;&gt;&lt;tt&gt;stack&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QUndoView.html#setGroup(com.trolltech.qt.gui.QUndoGroup)&quot;&gt;&lt;tt&gt;setGroup&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QUndoStack stack()" doc="/**
&lt;p&gt;Returns the stack currently displayed by this view. If the view is looking at a &lt;a href=&quot;QUndoGroup.html&quot;&gt;&lt;tt&gt;QUndoGroup&lt;/tt&gt;&lt;/a&gt;, this the group's active stack.&lt;/p&gt;

@see &lt;a href=&quot;QUndoView.html#setStack(com.trolltech.qt.gui.QUndoStack)&quot;&gt;&lt;tt&gt;setStack&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QUndoView.html#setGroup(com.trolltech.qt.gui.QUndoGroup)&quot;&gt;&lt;tt&gt;setGroup&lt;/tt&gt;&lt;/a&gt; */"/>
</class>
