<class name="QDialogButtonBox" doc="/**
&lt;p&gt;The &lt;a href=&quot;QDialogButtonBox.html#QDialogButtonBox(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QDialogButtonBox&lt;/tt&gt;&lt;/a&gt; class is a widget that presents buttons in a layout that is appropriate to the current widget style.&lt;/p&gt;
&lt;p&gt;Dialogs and message boxes typically present buttons in a layout that conforms to the interface guidelines for that platform. Invariably, different platforms have different layouts for their dialogs. &lt;a href=&quot;QDialogButtonBox.html#QDialogButtonBox(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QDialogButtonBox&lt;/tt&gt;&lt;/a&gt; allows a developer to add buttons to it and will automatically use the appropriate layout for the user's desktop environment.&lt;/p&gt;
&lt;p&gt;Most buttons for a dialog follow certain roles. Such roles include:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Accepting or rejecting the dialog.&lt;/li&gt;
&lt;li&gt;Asking for help.&lt;/li&gt;
&lt;li&gt;Performing actions on the dialog itself (such as resetting fields or applying changes).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;There can also be alternate ways of dismissing the dialog which may cause destructive results.&lt;/p&gt;
&lt;p&gt;Most dialogs have buttons that can almost be considered standard (e.g&amp;#x2e; &lt;b&gt;OK&lt;/b&gt; and &lt;b&gt;Cancel&lt;/b&gt; buttons). It is sometimes convenient to create these buttons in a standard way.&lt;/p&gt;
&lt;p&gt;There are a couple ways of using &lt;a href=&quot;QDialogButtonBox.html#QDialogButtonBox(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QDialogButtonBox&lt;/tt&gt;&lt;/a&gt;. One ways is to create the buttons (or button texts) yourself and add them to the button box, specifying their role.&lt;/p&gt;
&lt;pre&gt;        findButton = new QPushButton(tr(&amp;quot;&amp;amp;Find&amp;quot;));
        findButton-&amp;gt;setDefault(true);

        moreButton = new QPushButton(tr(&amp;quot;&amp;amp;More&amp;quot;));
        moreButton-&amp;gt;setCheckable(true);
        moreButton-&amp;gt;setAutoDefault(false);

        buttonBox = new QDialogButtonBox(Qt::Vertical);
        buttonBox-&amp;gt;addButton(findButton, QDialogButtonBox::ActionRole);
        buttonBox-&amp;gt;addButton(moreButton, QDialogButtonBox::ActionRole);&lt;/pre&gt;
&lt;p&gt;Alternatively, &lt;a href=&quot;QDialogButtonBox.html#QDialogButtonBox(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QDialogButtonBox&lt;/tt&gt;&lt;/a&gt; provides several standard buttons (e.g&amp;#x2e; OK, Cancel, Save) that you can use. They exist as flags so you can OR them together in the constructor.&lt;/p&gt;
&lt;pre&gt;        buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok
                                         | QDialogButtonBox::Cancel);

        connect(buttonBox, SIGNAL(accepted()), this, SLOT(accept()));
        connect(buttonBox, SIGNAL(rejected()), this, SLOT(reject()));&lt;/pre&gt;
&lt;p&gt;You can mix and match normal buttons and standard buttons.&lt;/p&gt;
&lt;p&gt;Currently the buttons are laid out in the following way if the button box is horizontal:&lt;/p&gt;
&lt;p&gt;&lt;table width=&quot;100%&quot; align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; border=&quot;0&quot;&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/buttonbox-gnomelayout-horizontal.png&quot; alt=&quot;GnomeLayout Horizontal&quot; /&gt;&lt;/td&gt;&lt;td&gt;Button box laid out in horizontal &lt;a href=&quot;QDialogButtonBox.html#ButtonLayout-enum&quot;&gt;&lt;tt&gt;GnomeLayout&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/buttonbox-kdelayout-horizontal.png&quot; alt=&quot;KdeLayout Horizontal&quot; /&gt;&lt;/td&gt;&lt;td&gt;Button box laid out in horizontal &lt;a href=&quot;QDialogButtonBox.html#ButtonLayout-enum&quot;&gt;&lt;tt&gt;KdeLayout&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/buttonbox-maclayout-horizontal.png&quot; alt=&quot;MacLayout Horizontal&quot; /&gt;&lt;/td&gt;&lt;td&gt;Button box laid out in horizontal &lt;a href=&quot;QDialogButtonBox.html#ButtonLayout-enum&quot;&gt;&lt;tt&gt;MacLayout&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/buttonbox-winlayout-horizontal.png&quot; alt=&quot;WinLayout Horizontal&quot; /&gt;&lt;/td&gt;&lt;td&gt;Button box laid out in horizontal &lt;a href=&quot;QDialogButtonBox.html#ButtonLayout-enum&quot;&gt;&lt;tt&gt;WinLayout&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;
&lt;p&gt;The buttons are laid out the following way if the button box is vertical:&lt;/p&gt;
&lt;p&gt;&lt;table width=&quot;100%&quot; align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; border=&quot;0&quot;&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/buttonbox-gnomelayout-vertical.png&quot; alt=&quot;GnomeLayout Vertical&quot; /&gt;&lt;/td&gt;&lt;td&gt;Button box laid out in vertical &lt;a href=&quot;QDialogButtonBox.html#ButtonLayout-enum&quot;&gt;&lt;tt&gt;GnomeLayout&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/buttonbox-kdelayout-vertical.png&quot; alt=&quot;KdeLayout Vertical&quot; /&gt;&lt;/td&gt;&lt;td&gt;Button box laid out in vertical &lt;a href=&quot;QDialogButtonBox.html#ButtonLayout-enum&quot;&gt;&lt;tt&gt;KdeLayout&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/buttonbox-maclayout-vertical.png&quot; alt=&quot;MacLayout Vertical&quot; /&gt;&lt;/td&gt;&lt;td&gt;Button box laid out in vertical &lt;a href=&quot;QDialogButtonBox.html#ButtonLayout-enum&quot;&gt;&lt;tt&gt;MacLayout&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/buttonbox-winlayout-vertical.png&quot; alt=&quot;WinLayout Vertical&quot; /&gt;&lt;/td&gt;&lt;td&gt;Button box laid out in vertical &lt;a href=&quot;QDialogButtonBox.html#ButtonLayout-enum&quot;&gt;&lt;tt&gt;WinLayout&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;
&lt;p&gt;Additionally, button boxes that contain only buttons with &lt;a href=&quot;QDialogButtonBox.html#ButtonRole-enum&quot;&gt;&lt;tt&gt;ActionRole&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QDialogButtonBox.html#ButtonRole-enum&quot;&gt;&lt;tt&gt;HelpRole&lt;/tt&gt;&lt;/a&gt; can be considered modeless and have an alternate look on the mac:&lt;/p&gt;
&lt;p&gt;&lt;table width=&quot;100%&quot; align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; border=&quot;0&quot;&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/buttonbox-mac-modeless-horizontal.png&quot; alt=&quot;Screenshot of modeless horizontal MacLayout&quot; /&gt;&lt;/td&gt;&lt;td&gt;modeless horizontal &lt;a href=&quot;QDialogButtonBox.html#ButtonLayout-enum&quot;&gt;&lt;tt&gt;MacLayout&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/buttonbox-mac-modeless-vertical.png&quot; alt=&quot;Screenshot of modeless vertical MacLayout&quot; /&gt;&lt;/td&gt;&lt;td&gt;modeless vertical &lt;a href=&quot;QDialogButtonBox.html#ButtonLayout-enum&quot;&gt;&lt;tt&gt;MacLayout&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;
&lt;p&gt;When a button is clicked in the button box, the &lt;a href=&quot;QDialogButtonBox.html#clicked(com.trolltech.qt.gui.QAbstractButton)&quot;&gt;&lt;tt&gt;clicked&lt;/tt&gt;&lt;/a&gt; signal is emitted for the actual button is that is pressed. For convenience, if the button has an &lt;a href=&quot;QDialogButtonBox.html#ButtonRole-enum&quot;&gt;&lt;tt&gt;AcceptRole&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QDialogButtonBox.html#ButtonRole-enum&quot;&gt;&lt;tt&gt;RejectRole&lt;/tt&gt;&lt;/a&gt;, or &lt;a href=&quot;QDialogButtonBox.html#ButtonRole-enum&quot;&gt;&lt;tt&gt;HelpRole&lt;/tt&gt;&lt;/a&gt;, the &lt;a href=&quot;QDialogButtonBox.html#accepted()&quot;&gt;&lt;tt&gt;accepted&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QDialogButtonBox.html#rejected()&quot;&gt;&lt;tt&gt;rejected&lt;/tt&gt;&lt;/a&gt;, or &lt;a href=&quot;QDialogButtonBox.html#helpRequested()&quot;&gt;&lt;tt&gt;helpRequested&lt;/tt&gt;&lt;/a&gt; signals are emitted respectively.&lt;/p&gt;
&lt;p&gt;If you want a specific button to be default you need to call QPushButton::setDefault() on it yourself. However, if there is no default button set and to preserve which button is the default button across platforms when using the QPushButton::autoDefault property, the first push button with the accept role is made the default button when the &lt;a href=&quot;QDialogButtonBox.html#QDialogButtonBox(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QDialogButtonBox&lt;/tt&gt;&lt;/a&gt; is shown,&lt;/p&gt;

@see &lt;a href=&quot;QMessageBox.html&quot;&gt;&lt;tt&gt;QMessageBox&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPushButton.html&quot;&gt;&lt;tt&gt;QPushButton&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDialog.html&quot;&gt;&lt;tt&gt;QDialog&lt;/tt&gt;&lt;/a&gt; */">
    <signal name="protected final void accepted()" doc="/**
&lt;p&gt;This signal is emitted when a button inside the button box is clicked, as long as it was defined with the &lt;a href=&quot;QDialogButtonBox.html#ButtonRole-enum&quot;&gt;&lt;tt&gt;AcceptRole&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QDialogButtonBox.html#ButtonRole-enum&quot;&gt;&lt;tt&gt;YesRole&lt;/tt&gt;&lt;/a&gt;.&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;QDialogButtonBox.html#rejected()&quot;&gt;&lt;tt&gt;rejected&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QDialogButtonBox.html#clicked(com.trolltech.qt.gui.QAbstractButton)&quot;&gt;&lt;tt&gt;clicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QDialogButtonBox.html#helpRequested()&quot;&gt;&lt;tt&gt;helpRequested&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void clicked(com.trolltech.qt.gui.QAbstractButton button)" doc="/**
&lt;p&gt;This signal is emitted when a button inside the button box is clicked. The specific button that was pressed is specified by &lt;tt&gt;button&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.gui.QAbstractButton button)&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;QDialogButtonBox.html#accepted()&quot;&gt;&lt;tt&gt;accepted&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QDialogButtonBox.html#rejected()&quot;&gt;&lt;tt&gt;rejected&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QDialogButtonBox.html#helpRequested()&quot;&gt;&lt;tt&gt;helpRequested&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&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 helpRequested()" doc="/**
&lt;p&gt;This signal is emitted when a button inside the button box is clicked, as long as it was defined with the &lt;a href=&quot;QDialogButtonBox.html#ButtonRole-enum&quot;&gt;&lt;tt&gt;HelpRole&lt;/tt&gt;&lt;/a&gt;.&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;QDialogButtonBox.html#accepted()&quot;&gt;&lt;tt&gt;accepted&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QDialogButtonBox.html#rejected()&quot;&gt;&lt;tt&gt;rejected&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QDialogButtonBox.html#clicked(com.trolltech.qt.gui.QAbstractButton)&quot;&gt;&lt;tt&gt;clicked&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void rejected()" doc="/**
&lt;p&gt;This signal is emitted when a button inside the button box is clicked, as long as it was defined with the &lt;a href=&quot;QDialogButtonBox.html#ButtonRole-enum&quot;&gt;&lt;tt&gt;RejectRole&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QDialogButtonBox.html#ButtonRole-enum&quot;&gt;&lt;tt&gt;NoRole&lt;/tt&gt;&lt;/a&gt;.&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;QDialogButtonBox.html#accepted()&quot;&gt;&lt;tt&gt;accepted&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QDialogButtonBox.html#helpRequested()&quot;&gt;&lt;tt&gt;helpRequested&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QDialogButtonBox.html#clicked(com.trolltech.qt.gui.QAbstractButton)&quot;&gt;&lt;tt&gt;clicked&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <method name="public QDialogButtonBox(com.trolltech.qt.core.Qt.Orientation orientation, com.trolltech.qt.gui.QWidget parent)" doc="/**
&lt;p&gt;Constructs an empty button box with the given &lt;tt&gt;orientation&lt;/tt&gt; and &lt;tt&gt;parent&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QDialogButtonBox.html#orientation()&quot;&gt;orientation&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDialogButtonBox.html#addButton(java.lang.String, com.trolltech.qt.gui.QDialogButtonBox.ButtonRole)&quot;&gt;&lt;tt&gt;addButton&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public QDialogButtonBox(com.trolltech.qt.core.Qt.Orientation orientation)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QDialogButtonBox.html#QDialogButtonBox(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QDialogButtonBox&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;orientation&lt;/tt&gt;, 0). */"/>
    <method name="public QDialogButtonBox(com.trolltech.qt.gui.QDialogButtonBox.StandardButtons buttons, com.trolltech.qt.core.Qt.Orientation orientation, com.trolltech.qt.gui.QWidget parent)" doc="/**
&lt;p&gt;Constructs a button box with the given &lt;tt&gt;orientation&lt;/tt&gt; and &lt;tt&gt;parent&lt;/tt&gt;, containing the standard buttons specified by &lt;tt&gt;buttons&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QDialogButtonBox.html#orientation()&quot;&gt;orientation&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDialogButtonBox.html#addButton(java.lang.String, com.trolltech.qt.gui.QDialogButtonBox.ButtonRole)&quot;&gt;&lt;tt&gt;addButton&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public QDialogButtonBox(com.trolltech.qt.gui.QDialogButtonBox.StandardButtons buttons, com.trolltech.qt.core.Qt.Orientation orientation)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QDialogButtonBox.html#QDialogButtonBox(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QDialogButtonBox&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;buttons&lt;/tt&gt;, &lt;tt&gt;orientation&lt;/tt&gt;, 0). */"/>
    <method name="public QDialogButtonBox(com.trolltech.qt.gui.QDialogButtonBox.StandardButtons buttons)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QDialogButtonBox.html#QDialogButtonBox(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QDialogButtonBox&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;buttons&lt;/tt&gt;, Qt::Horizontal, 0). */"/>
    <method name="public QDialogButtonBox(com.trolltech.qt.gui.QWidget parent)" doc="/**
&lt;p&gt;Constructs an empty, horizontal button box with the given &lt;tt&gt;parent&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QDialogButtonBox.html#orientation()&quot;&gt;orientation&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDialogButtonBox.html#addButton(java.lang.String, com.trolltech.qt.gui.QDialogButtonBox.ButtonRole)&quot;&gt;&lt;tt&gt;addButton&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public QDialogButtonBox()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QDialogButtonBox.html#QDialogButtonBox(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QDialogButtonBox&lt;/tt&gt;&lt;/a&gt;(0). */"/>
    <method name="public final void addButton(com.trolltech.qt.gui.QAbstractButton button, com.trolltech.qt.gui.QDialogButtonBox.ButtonRole role)" doc="/**
&lt;p&gt;Adds the given &lt;tt&gt;button&lt;/tt&gt; to the button box with the specified &lt;tt&gt;role&lt;/tt&gt;. If the role is invalid, the button is not added.&lt;/p&gt;
&lt;p&gt;If the button has already been added, it is removed and added again with the new role.&lt;/p&gt;

@see &lt;a href=&quot;QDialogButtonBox.html#removeButton(com.trolltech.qt.gui.QAbstractButton)&quot;&gt;&lt;tt&gt;removeButton&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDialogButtonBox.html#clear()&quot;&gt;&lt;tt&gt;clear&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QPushButton addButton(com.trolltech.qt.gui.QDialogButtonBox.StandardButton button)" doc="/**
&lt;p&gt;Adds a standard &lt;tt&gt;button&lt;/tt&gt; to the button box if it is valid to do so, and returns a push button. If &lt;tt&gt;button&lt;/tt&gt; is invalid, it is not added to the button box, and zero is returned.&lt;/p&gt;

@see &lt;a href=&quot;QDialogButtonBox.html#removeButton(com.trolltech.qt.gui.QAbstractButton)&quot;&gt;&lt;tt&gt;removeButton&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDialogButtonBox.html#clear()&quot;&gt;&lt;tt&gt;clear&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QPushButton addButton(java.lang.String text, com.trolltech.qt.gui.QDialogButtonBox.ButtonRole role)" doc="/**
&lt;p&gt;Creates a push button with the given &lt;tt&gt;text&lt;/tt&gt;, adds it to the button box for the specified &lt;tt&gt;role&lt;/tt&gt;, and returns the corresponding push button. If &lt;tt&gt;role&lt;/tt&gt; is invalid, no button is created, and zero is returned.&lt;/p&gt;

@see &lt;a href=&quot;QDialogButtonBox.html#removeButton(com.trolltech.qt.gui.QAbstractButton)&quot;&gt;&lt;tt&gt;removeButton&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDialogButtonBox.html#clear()&quot;&gt;&lt;tt&gt;clear&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QPushButton button(com.trolltech.qt.gui.QDialogButtonBox.StandardButton which)" doc="/**
&lt;p&gt;Returns the &lt;a href=&quot;QPushButton.html&quot;&gt;&lt;tt&gt;QPushButton&lt;/tt&gt;&lt;/a&gt; corresponding to the standard button &lt;tt&gt;which&lt;/tt&gt;, or 0 if the standard button doesn't exist in this button box.&lt;/p&gt;

@see &lt;a href=&quot;QDialogButtonBox.html#standardButton(com.trolltech.qt.gui.QAbstractButton)&quot;&gt;&lt;tt&gt;standardButton&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDialogButtonBox.html#standardButtons()&quot;&gt;&lt;tt&gt;standardButtons&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDialogButtonBox.html#buttons()&quot;&gt;&lt;tt&gt;buttons&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QDialogButtonBox.ButtonRole buttonRole(com.trolltech.qt.gui.QAbstractButton button)" doc="/**
&lt;p&gt;Returns the button role for the specified &lt;tt&gt;button&lt;/tt&gt;. This function returns &lt;a href=&quot;QDialogButtonBox.html#ButtonRole-enum&quot;&gt;&lt;tt&gt;InvalidRole&lt;/tt&gt;&lt;/a&gt; if &lt;tt&gt;button&lt;/tt&gt; is 0 or has not been added to the button box.&lt;/p&gt;

@see &lt;a href=&quot;QDialogButtonBox.html#buttons()&quot;&gt;&lt;tt&gt;buttons&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDialogButtonBox.html#addButton(java.lang.String, com.trolltech.qt.gui.QDialogButtonBox.ButtonRole)&quot;&gt;&lt;tt&gt;addButton&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.util.List&lt;com.trolltech.qt.gui.QAbstractButton&gt; buttons()" doc="/**
&lt;p&gt;Returns a list of all the buttons that have been added to the button box.&lt;/p&gt;

@see &lt;a href=&quot;QDialogButtonBox.html#buttonRole(com.trolltech.qt.gui.QAbstractButton)&quot;&gt;&lt;tt&gt;buttonRole&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDialogButtonBox.html#addButton(java.lang.String, com.trolltech.qt.gui.QDialogButtonBox.ButtonRole)&quot;&gt;&lt;tt&gt;addButton&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDialogButtonBox.html#removeButton(com.trolltech.qt.gui.QAbstractButton)&quot;&gt;&lt;tt&gt;removeButton&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean centerButtons()" doc="/**
&lt;p&gt;Returns whether the buttons in the button box are centered.&lt;/p&gt;
&lt;p&gt;By default, this property is false. This behavior is appopriate for most types of dialogs. A notable exception is message boxes on most platforms (e.g&amp;#x2e; Windows), where the button box is centered horizontally.&lt;/p&gt;

@see &lt;a href=&quot;QDialogButtonBox.html#setCenterButtons(boolean)&quot;&gt;&lt;tt&gt;setCenterButtons&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QMessageBox.html&quot;&gt;&lt;tt&gt;QMessageBox&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void clear()" doc="/**
&lt;p&gt;Clears the button box, deleting all buttons within it.&lt;/p&gt;

@see &lt;a href=&quot;QDialogButtonBox.html#removeButton(com.trolltech.qt.gui.QAbstractButton)&quot;&gt;&lt;tt&gt;removeButton&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDialogButtonBox.html#addButton(java.lang.String, com.trolltech.qt.gui.QDialogButtonBox.ButtonRole)&quot;&gt;&lt;tt&gt;addButton&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.Qt.Orientation orientation()" doc="/**
&lt;p&gt;Returns the orientation of the button box.&lt;/p&gt;
&lt;p&gt;By default, the orientation is horizontal (i.e&amp;#x2e; the buttons are laid out side by side). The possible orientations are Qt::Horizontal and Qt::Vertical.&lt;/p&gt;

@see &lt;a href=&quot;QDialogButtonBox.html#setOrientation(com.trolltech.qt.core.Qt.Orientation)&quot;&gt;&lt;tt&gt;setOrientation&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void removeButton(com.trolltech.qt.gui.QAbstractButton button)" doc="/**
&lt;p&gt;Removes &lt;tt&gt;button&lt;/tt&gt; from the button box without deleting it and sets its parent to zero.&lt;/p&gt;

@see &lt;a href=&quot;QDialogButtonBox.html#clear()&quot;&gt;&lt;tt&gt;clear&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDialogButtonBox.html#buttons()&quot;&gt;&lt;tt&gt;buttons&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDialogButtonBox.html#addButton(java.lang.String, com.trolltech.qt.gui.QDialogButtonBox.ButtonRole)&quot;&gt;&lt;tt&gt;addButton&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setCenterButtons(boolean center)" doc="/**
&lt;p&gt;Sets whether the buttons in the button box are centered to &lt;tt&gt;center&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;By default, this property is false. This behavior is appopriate for most types of dialogs. A notable exception is message boxes on most platforms (e.g&amp;#x2e; Windows), where the button box is centered horizontally.&lt;/p&gt;

@see &lt;a href=&quot;QDialogButtonBox.html#centerButtons()&quot;&gt;&lt;tt&gt;centerButtons&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QMessageBox.html&quot;&gt;&lt;tt&gt;QMessageBox&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setOrientation(com.trolltech.qt.core.Qt.Orientation orientation)" doc="/**
&lt;p&gt;Sets the orientation of the button box to &lt;tt&gt;orientation&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;By default, the orientation is horizontal (i.e&amp;#x2e; the buttons are laid out side by side). The possible orientations are Qt::Horizontal and Qt::Vertical.&lt;/p&gt;

@see &lt;a href=&quot;QDialogButtonBox.html#orientation()&quot;&gt;&lt;tt&gt;orientation&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setStandardButtons(com.trolltech.qt.gui.QDialogButtonBox.StandardButtons buttons)" doc="/**
&lt;p&gt;Sets collection of standard buttons in the button box to &lt;tt&gt;buttons&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;This property controls which standard buttons are used by the button box.&lt;/p&gt;

@see &lt;a href=&quot;QDialogButtonBox.html#standardButtons()&quot;&gt;&lt;tt&gt;standardButtons&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDialogButtonBox.html#addButton(java.lang.String, com.trolltech.qt.gui.QDialogButtonBox.ButtonRole)&quot;&gt;&lt;tt&gt;addButton&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QDialogButtonBox.StandardButton standardButton(com.trolltech.qt.gui.QAbstractButton button)" doc="/**
&lt;p&gt;Returns the standard button enum value corresponding to the given &lt;tt&gt;button&lt;/tt&gt;, or &lt;a href=&quot;QDialogButtonBox.html#StandardButton-enum&quot;&gt;&lt;tt&gt;NoButton&lt;/tt&gt;&lt;/a&gt; if the given &lt;tt&gt;button&lt;/tt&gt; isn't a standard button.&lt;/p&gt;

@see &lt;a href=&quot;QDialogButtonBox.html#button(com.trolltech.qt.gui.QDialogButtonBox.StandardButton)&quot;&gt;&lt;tt&gt;button&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDialogButtonBox.html#buttons()&quot;&gt;&lt;tt&gt;buttons&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDialogButtonBox.html#standardButtons()&quot;&gt;&lt;tt&gt;standardButtons&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QDialogButtonBox.StandardButtons standardButtons()" doc="/**
&lt;p&gt;Returns collection of standard buttons in the button box.&lt;/p&gt;
&lt;p&gt;This property controls which standard buttons are used by the button box.&lt;/p&gt;

@see &lt;a href=&quot;QDialogButtonBox.html#setStandardButtons(com.trolltech.qt.gui.QDialogButtonBox.StandardButtons)&quot;&gt;&lt;tt&gt;setStandardButtons&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDialogButtonBox.html#addButton(java.lang.String, com.trolltech.qt.gui.QDialogButtonBox.ButtonRole)&quot;&gt;&lt;tt&gt;addButton&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected void changeEvent(com.trolltech.qt.core.QEvent event)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public boolean event(com.trolltech.qt.core.QEvent event)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <enum name="ButtonLayout" doc="/**
&lt;p&gt;This enum describes the layout policy to be used when arranging the buttons contained in the button box.&lt;/p&gt;
&lt;p&gt;The button layout is specified by the &lt;a href=&quot;QWidget.html#style()&quot;&gt;current style&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */">
        <enum-value name="WinLayout" doc="/**
&lt;p&gt;Use a policy appropriate for applications on Windows.&lt;/p&gt;
 */"/>
        <enum-value name="MacLayout" doc="/**
&lt;p&gt;Use a policy appropriate for applications on Mac OS X.&lt;/p&gt;
 */"/>
        <enum-value name="KdeLayout" doc="/**
&lt;p&gt;Use a policy appropriate for applications on KDE.&lt;/p&gt;
 */"/>
        <enum-value name="GnomeLayout" doc="/**
&lt;p&gt;Use a policy appropriate for applications on GNOME.&lt;/p&gt;
 */"/>
</enum>
    <enum name="ButtonRole" doc="/**
&lt;p&gt;This enum describes the roles that can be used to describe buttons in the button box. Combinations of these roles are as flags used to describe different aspects of their behavior.&lt;/p&gt;

@see &lt;a href=&quot;QDialogButtonBox.html#StandardButton-enum&quot;&gt;&lt;tt&gt;StandardButton&lt;/tt&gt;&lt;/a&gt; */">
        <enum-value name="InvalidRole" doc="/**
&lt;p&gt;The button is invalid.&lt;/p&gt;
 */"/>
        <enum-value name="AcceptRole" doc="/**
&lt;p&gt;Clicking the button causes the dialog to be accepted (e.g&amp;#x2e; OK).&lt;/p&gt;
 */"/>
        <enum-value name="RejectRole" doc="/**
&lt;p&gt;Clicking the button causes the dialog to be rejected (e.g&amp;#x2e; Cancel).&lt;/p&gt;
 */"/>
        <enum-value name="DestructiveRole" doc="/**
&lt;p&gt;Clicking the button causes a destructive change (e.g&amp;#x2e; for Discarding Changes) and closes the dialog.&lt;/p&gt;
 */"/>
        <enum-value name="ActionRole" doc="/**
&lt;p&gt;Clicking the button causes changes to the elements within the dialog, without closing the dialog.&lt;/p&gt;
 */"/>
        <enum-value name="HelpRole" doc="/**
&lt;p&gt;The button can be clicked to request help.&lt;/p&gt;
 */"/>
        <enum-value name="YesRole" doc="/**
&lt;p&gt;The button is a &amp;quot;Yes&amp;quot;-like button.&lt;/p&gt;
 */"/>
        <enum-value name="NoRole" doc="/**
&lt;p&gt;The button is a &amp;quot;No&amp;quot;-like button.&lt;/p&gt;
 */"/>
        <enum-value name="ResetRole" doc="/**
&lt;p&gt;The button resets the dialog's fields to default values.&lt;/p&gt;
 */"/>
        <enum-value name="ApplyRole" doc="/**
&lt;p&gt;The button applies current changes.&lt;/p&gt;
 */"/>
        <enum-value name="NRoles" doc="/**
Internal. */"/>
</enum>
    <enum name="StandardButton" doc="/**
&lt;p&gt;These enums describe flags for standard buttons. Each button has a defined &lt;a href=&quot;QDialogButtonBox.html#ButtonRole-enum&quot;&gt;&lt;tt&gt;ButtonRole&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QDialogButtonBox.html#ButtonRole-enum&quot;&gt;&lt;tt&gt;ButtonRole&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDialogButtonBox.html#standardButtons()&quot;&gt;&lt;tt&gt;standardButtons&lt;/tt&gt;&lt;/a&gt; */">
        <enum-value name="NoButton" doc="/**
&lt;p&gt;An invalid button.&lt;/p&gt;
 */"/>
        <enum-value name="Ok" doc="/**
&lt;p&gt;An &amp;quot;OK&amp;quot; button defined with the &lt;a href=&quot;QDialogButtonBox.html#ButtonRole-enum&quot;&gt;&lt;tt&gt;AcceptRole&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
        <enum-value name="Save" doc="/**
&lt;p&gt;A &amp;quot;Save&amp;quot; button defined with the &lt;a href=&quot;QDialogButtonBox.html#ButtonRole-enum&quot;&gt;&lt;tt&gt;AcceptRole&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
        <enum-value name="SaveAll" doc="/**
&lt;p&gt;A &amp;quot;Save All&amp;quot; button defined with the &lt;a href=&quot;QDialogButtonBox.html#ButtonRole-enum&quot;&gt;&lt;tt&gt;AcceptRole&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
        <enum-value name="Open" doc="/**
&lt;p&gt;A &amp;quot;Open&amp;quot; button defined with the &lt;a href=&quot;QDialogButtonBox.html#ButtonRole-enum&quot;&gt;&lt;tt&gt;AcceptRole&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
        <enum-value name="Yes" doc="/**
&lt;p&gt;A &amp;quot;Yes&amp;quot; button defined with the &lt;a href=&quot;QDialogButtonBox.html#ButtonRole-enum&quot;&gt;&lt;tt&gt;YesRole&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
        <enum-value name="YesToAll" doc="/**
&lt;p&gt;A &amp;quot;Yes to All&amp;quot; button defined with the &lt;a href=&quot;QDialogButtonBox.html#ButtonRole-enum&quot;&gt;&lt;tt&gt;YesRole&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
        <enum-value name="No" doc="/**
&lt;p&gt;A &amp;quot;No&amp;quot; button defined with the &lt;a href=&quot;QDialogButtonBox.html#ButtonRole-enum&quot;&gt;&lt;tt&gt;NoRole&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
        <enum-value name="NoToAll" doc="/**
&lt;p&gt;A &amp;quot;No to All&amp;quot; button defined with the &lt;a href=&quot;QDialogButtonBox.html#ButtonRole-enum&quot;&gt;&lt;tt&gt;NoRole&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
        <enum-value name="Abort" doc="/**
&lt;p&gt;An &amp;quot;Abort&amp;quot; button defined with the &lt;a href=&quot;QDialogButtonBox.html#ButtonRole-enum&quot;&gt;&lt;tt&gt;RejectRole&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
        <enum-value name="Retry" doc="/**
&lt;p&gt;A &amp;quot;Retry&amp;quot; button defined with the &lt;a href=&quot;QDialogButtonBox.html#ButtonRole-enum&quot;&gt;&lt;tt&gt;AcceptRole&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
        <enum-value name="Ignore" doc="/**
&lt;p&gt;An &amp;quot;Ignore&amp;quot; button defined with the &lt;a href=&quot;QDialogButtonBox.html#ButtonRole-enum&quot;&gt;&lt;tt&gt;AcceptRole&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
        <enum-value name="Close" doc="/**
&lt;p&gt;A &amp;quot;Close&amp;quot; button defined with the &lt;a href=&quot;QDialogButtonBox.html#ButtonRole-enum&quot;&gt;&lt;tt&gt;RejectRole&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
        <enum-value name="Cancel" doc="/**
&lt;p&gt;A &amp;quot;Cancel&amp;quot; button defined with the &lt;a href=&quot;QDialogButtonBox.html#ButtonRole-enum&quot;&gt;&lt;tt&gt;RejectRole&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
        <enum-value name="Discard" doc="/**
&lt;p&gt;A &amp;quot;Discard&amp;quot; or &amp;quot;Don't Save&amp;quot; button, depending on the platform, defined with the &lt;a href=&quot;QDialogButtonBox.html#ButtonRole-enum&quot;&gt;&lt;tt&gt;DestructiveRole&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
        <enum-value name="Help" doc="/**
&lt;p&gt;A &amp;quot;Help&amp;quot; button defined with the &lt;a href=&quot;QDialogButtonBox.html#ButtonRole-enum&quot;&gt;&lt;tt&gt;HelpRole&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
        <enum-value name="Apply" doc="/**
&lt;p&gt;An &amp;quot;Apply&amp;quot; button defined with the &lt;a href=&quot;QDialogButtonBox.html#ButtonRole-enum&quot;&gt;&lt;tt&gt;ApplyRole&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
        <enum-value name="Reset" doc="/**
&lt;p&gt;A &amp;quot;Reset&amp;quot; button defined with the &lt;a href=&quot;QDialogButtonBox.html#ButtonRole-enum&quot;&gt;&lt;tt&gt;ResetRole&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
        <enum-value name="RestoreDefaults" doc="/**
&lt;p&gt;A &amp;quot;Restore Defaults&amp;quot; button defined with the &lt;a href=&quot;QDialogButtonBox.html#ButtonRole-enum&quot;&gt;&lt;tt&gt;ResetRole&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
        <enum-value name="FirstButton" doc="/**
Internal. */"/>
        <enum-value name="LastButton" doc="/**
Internal. */"/>
</enum>
</class>
