7#if QT_CONFIG(buttongroup)
15#include "private/qabstractbutton_p.h"
35 q->setCheckable(
true);
36 q->setAutoExclusive(
true);
37 q->setMouseTracking(
true);
152 if (
d->sizeHint.isValid())
158 false,
text()).size();
194 if (hit !=
d->hovering) {
229#include "moc_qradiobutton.cpp"
Type type() const
Returns the event type.
bool isNull() const
Returns true if the icon is empty; otherwise returns false.
The QPaintEvent class contains event parameters for paint events.
constexpr QPoint toPoint() const
Rounds the coordinates of this point to the nearest integer, and returns a QPoint object with the rou...
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
QPointF position() const
Returns the position of the point in this event, relative to the widget or item that received the eve...
The QSizePolicy class is a layout attribute describing horizontal and vertical resizing policy.
constexpr int height() const noexcept
Returns the height.
constexpr int width() const noexcept
Returns the width.
\macro QT_RESTRICTED_CAST_FROM_ASCII
The QStylePainter class is a convenience class for drawing QStyle elements inside a widget.
virtual QSize sizeFromContents(ContentsType ct, const QStyleOption *opt, const QSize &contentsSize, const QWidget *w=nullptr) const =0
Returns the size of the element described by the specified option and type, based on the provided con...
virtual QRect itemTextRect(const QFontMetrics &fm, const QRect &r, int flags, bool enabled, const QString &text) const
Returns the area within the given rectangle in which to draw the provided text according to the speci...
virtual QRect subElementRect(SubElement subElement, const QStyleOption *option, const QWidget *widget=nullptr) const =0
Returns the sub-area for the given element as described in the provided style option.
@ SE_RadioButtonLayoutItem
@ SE_RadioButtonClickRect
Combined button and popup list for selecting options.
constexpr const T & qMax(const T &a, const T &b)
GLdouble GLdouble GLdouble GLdouble q