<class name="QRadioButton" doc="/**
&lt;p&gt;The &lt;a href=&quot;QRadioButton.html#QRadioButton(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QRadioButton&lt;/tt&gt;&lt;/a&gt; widget provides a radio button with a text label.&lt;/p&gt;
&lt;p&gt;A &lt;a href=&quot;QRadioButton.html#QRadioButton(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QRadioButton&lt;/tt&gt;&lt;/a&gt; is an option button that can be switched on (checked) or off (unchecked). Radio buttons typically present the user with a &amp;quot;one of many&amp;quot; choice. In a group of radio buttons only one radio button at a time can be checked; if the user selects another button, the previously selected button is switched off.&lt;/p&gt;
&lt;p&gt;Radio buttons are &lt;a href=&quot;QAbstractButton.html#autoExclusive()&quot;&gt;&lt;tt&gt;autoExclusive&lt;/tt&gt;&lt;/a&gt; by default. If auto-exclusive is enabled, radio buttons that belong to the same parent widget behave as if they were part of the same exclusive button group. If you need multiple exclusive button groups for radio buttons that belong to the same parent widget, put them into a &lt;a href=&quot;QButtonGroup.html&quot;&gt;&lt;tt&gt;QButtonGroup&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Whenever a button is switched on or off it emits the &lt;a href=&quot;QRadioButton.html#toggled(boolean)&quot;&gt;&lt;tt&gt;toggled&lt;/tt&gt;&lt;/a&gt; signal. Connect to this signal if you want to trigger an action each time the button changes state. Use &lt;a href=&quot;QAbstractButton.html#isChecked()&quot;&gt;&lt;tt&gt;isChecked&lt;/tt&gt;&lt;/a&gt; to see if a particular button is selected.&lt;/p&gt;
&lt;p&gt;Just like &lt;a href=&quot;QPushButton.html&quot;&gt;&lt;tt&gt;QPushButton&lt;/tt&gt;&lt;/a&gt;, a radio button displays text, and optionally a small icon. The icon is set with &lt;a href=&quot;QAbstractButton.html#setIcon(com.trolltech.qt.gui.QIcon)&quot;&gt;&lt;tt&gt;setIcon&lt;/tt&gt;&lt;/a&gt;. The text can be set in the constructor or with &lt;a href=&quot;QAbstractButton.html#setText(java.lang.String)&quot;&gt;&lt;tt&gt;setText&lt;/tt&gt;&lt;/a&gt;. A shortcut key can be specified by preceding the preferred character with an ampersand in the text. For example:&lt;/p&gt;
&lt;pre&gt;    QRadioButton *button = new QRadioButton(&amp;quot;Search from the &amp;amp;cursor&amp;quot;, this);&lt;/pre&gt;
&lt;p&gt;In this example the shortcut is &lt;i&gt;Alt+c&lt;/i&gt;. See the &lt;a href=&quot;QShortcut.html#mnemonic&quot;&gt;QShortcut&lt;/a&gt; documentation for details (to display an actual ampersand, use '&amp;amp;&amp;amp;').&lt;/p&gt;
&lt;p&gt;Important inherited members: &lt;a href=&quot;QAbstractButton.html#text()&quot;&gt;&lt;tt&gt;text&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractButton.html#setText(java.lang.String)&quot;&gt;&lt;tt&gt;setText&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractButton.html#text()&quot;&gt;&lt;tt&gt;text&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractButton.html#setDown(boolean)&quot;&gt;&lt;tt&gt;setDown&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractButton.html#isDown()&quot;&gt;&lt;tt&gt;isDown&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractButton.html#autoRepeat()&quot;&gt;&lt;tt&gt;autoRepeat&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractButton.html#group()&quot;&gt;&lt;tt&gt;group&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractButton.html#setAutoRepeat(boolean)&quot;&gt;&lt;tt&gt;setAutoRepeat&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractButton.html#toggle()&quot;&gt;&lt;tt&gt;toggle&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QRadioButton.html#pressed()&quot;&gt;&lt;tt&gt;pressed&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QRadioButton.html#released()&quot;&gt;&lt;tt&gt;released&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QRadioButton.html#clicked(boolean)&quot;&gt;&lt;tt&gt;clicked&lt;/tt&gt;&lt;/a&gt;, and &lt;a href=&quot;QRadioButton.html#toggled(boolean)&quot;&gt;&lt;tt&gt;toggled&lt;/tt&gt;&lt;/a&gt;.&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/plastique-radiobutton.png&quot; alt=&quot;Screenshot of a Plastique radio button&quot; /&gt;&lt;/td&gt;&lt;td&gt;A radio button shown in the &lt;a href=&quot;%2E%2E/gallery-plastique.html&quot;&gt;Plastique widget style&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/windows-radiobutton.png&quot; alt=&quot;Screenshot of a Windows XP radio button&quot; /&gt;&lt;/td&gt;&lt;td&gt;A radio button shown in the &lt;a href=&quot;%2E%2E/gallery-windowsxp.html&quot;&gt;Windows XP widget style&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/macintosh-radiobutton.png&quot; alt=&quot;Screenshot of a Macintosh radio button&quot; /&gt;&lt;/td&gt;&lt;td&gt;A radio button shown in the &lt;a href=&quot;%2E%2E/gallery-macintosh.html&quot;&gt;Macintosh widget style&lt;/tt&gt;&lt;/a&gt;.&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&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;QToolButton.html&quot;&gt;&lt;tt&gt;QToolButton&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QCheckBox.html&quot;&gt;&lt;tt&gt;QCheckBox&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/guibooks.html#fowler&quot;&gt;GUI Design Handbook: Radio Button&lt;/tt&gt;&lt;/a&gt;
@see Group Box Example&lt;/tt&gt; */">
    <signal name="protected final void clicked(boolean checked)" doc="/**
&lt;p&gt;This signal is emitted when the button is activated (i.e&amp;#x2e; pressed down then released while the mouse cursor is inside the button), when the shortcut key is typed, or when &lt;a href=&quot;QAbstractButton.html#click()&quot;&gt;&lt;tt&gt;click&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QAbstractButton.html#animateClick(int)&quot;&gt;&lt;tt&gt;animateClick&lt;/tt&gt;&lt;/a&gt; is called. Notably, this signal is &lt;i&gt;not&lt;/i&gt; emitted if you call &lt;a href=&quot;QAbstractButton.html#setDown(boolean)&quot;&gt;&lt;tt&gt;setDown&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractButton.html#setChecked(boolean)&quot;&gt;&lt;tt&gt;setChecked&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QAbstractButton.html#toggle()&quot;&gt;&lt;tt&gt;toggle&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If the button is checkable, &lt;tt&gt;checked&lt;/tt&gt; is true if the button is checked, or false if the button is unchecked.&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(boolean checked)&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;QRadioButton.html#pressed()&quot;&gt;&lt;tt&gt;pressed&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QRadioButton.html#released()&quot;&gt;&lt;tt&gt;released&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QRadioButton.html#toggled(boolean)&quot;&gt;&lt;tt&gt;toggled&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 pressed()" doc="/**
&lt;p&gt;This signal is emitted when the button is pressed down.&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;QRadioButton.html#released()&quot;&gt;&lt;tt&gt;released&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QRadioButton.html#clicked(boolean)&quot;&gt;&lt;tt&gt;clicked&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void released()" doc="/**
&lt;p&gt;This signal is emitted when the button is released.&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;QRadioButton.html#pressed()&quot;&gt;&lt;tt&gt;pressed&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QRadioButton.html#clicked(boolean)&quot;&gt;&lt;tt&gt;clicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QRadioButton.html#toggled(boolean)&quot;&gt;&lt;tt&gt;toggled&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void toggled(boolean checked)" doc="/**
&lt;p&gt;This signal is emitted whenever a checkable button changes its state. &lt;tt&gt;checked&lt;/tt&gt; is true if the button is checked, or false if the button is unchecked.&lt;/p&gt;
&lt;p&gt;This may be the result of a user action, &lt;a href=&quot;QAbstractButton.html#click()&quot;&gt;&lt;tt&gt;click&lt;/tt&gt;&lt;/a&gt; slot activation, or because &lt;a href=&quot;QAbstractButton.html#setChecked(boolean)&quot;&gt;&lt;tt&gt;setChecked&lt;/tt&gt;&lt;/a&gt; was called.&lt;/p&gt;
&lt;p&gt;The states of buttons in exclusive button groups are updated before this signal is emitted. This means that slots can act on either the &amp;quot;off&amp;quot; signal or the &amp;quot;on&amp;quot; signal emitted by the buttons in the group whose states have changed.&lt;/p&gt;
&lt;p&gt;For example, a slot that reacts to signals emitted by newly checked buttons but which ignores signals from buttons that have been unchecked can be implemented using the following pattern:&lt;/p&gt;
&lt;pre&gt;    void MyWidget::reactToToggle(bool checked)
    {
       if (checked) {
          &lt;span class=&quot;comment&quot;&gt;//&lt;/span&gt; Examine the new button states.
          ...
       }
    }&lt;/pre&gt;
&lt;p&gt;Button groups can be created using the &lt;a href=&quot;QButtonGroup.html&quot;&gt;&lt;tt&gt;QButtonGroup&lt;/tt&gt;&lt;/a&gt; class, and updates to the button states monitored with the &lt;tt&gt;QButtonGroup::buttonClicked&lt;/tt&gt; signal.&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(boolean checked)&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;checked&lt;/tt&gt;, &lt;a href=&quot;QRadioButton.html#clicked(boolean)&quot;&gt;&lt;tt&gt;clicked&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <method name="public QRadioButton(java.lang.String text, com.trolltech.qt.gui.QWidget parent)" doc="/**
&lt;p&gt;Constructs a radio button with the given &lt;tt&gt;parent&lt;/tt&gt; and a &lt;tt&gt;text&lt;/tt&gt; string.&lt;/p&gt;
&lt;p&gt;The &lt;tt&gt;parent&lt;/tt&gt; argument is passed on to the &lt;a href=&quot;QAbstractButton.html#QAbstractButton(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QAbstractButton&lt;/tt&gt;&lt;/a&gt; constructor.&lt;/p&gt;
 */"/>
    <method name="public QRadioButton(java.lang.String text)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QRadioButton.html#QRadioButton(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QRadioButton&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;text&lt;/tt&gt;, 0). */"/>
    <method name="public QRadioButton(com.trolltech.qt.gui.QWidget parent)" doc="/**
&lt;p&gt;Constructs a radio button with the given &lt;tt&gt;parent&lt;/tt&gt;, but with no text or pixmap.&lt;/p&gt;
&lt;p&gt;The &lt;tt&gt;parent&lt;/tt&gt; argument is passed on to the &lt;a href=&quot;QAbstractButton.html#QAbstractButton(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QAbstractButton&lt;/tt&gt;&lt;/a&gt; constructor.&lt;/p&gt;
 */"/>
    <method name="public QRadioButton()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QRadioButton.html#QRadioButton(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QRadioButton&lt;/tt&gt;&lt;/a&gt;(0). */"/>
    <method name="public boolean event(com.trolltech.qt.core.QEvent e)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected boolean hitButton(com.trolltech.qt.core.QPoint arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void mouseMoveEvent(com.trolltech.qt.gui.QMouseEvent arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void paintEvent(com.trolltech.qt.gui.QPaintEvent arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public com.trolltech.qt.core.QSize sizeHint()" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
</class>
