KWidgetsAddons
kled.cpp
212 QRadialGradient fillGradient(center, smallestSize / 2.0, QPointF(center.x(), size.height() / 3.0));
void setDarkFactor(int darkFactor)
Sets the factor to darken the LED in KLed::Off state.
Definition kled.cpp:109
KLed(QWidget *parent=nullptr)
Constructs a green, round LED widget which will initially be turned on.
Definition kled.cpp:28
Q_SCRIPTABLE Q_NOREPLY void start()
QColor lighter(int factor) const const
void setAlpha(int alpha)
Format_ARGB32_Premultiplied
T qobject_cast(QObject *object)
QString tr(const char *sourceText, const char *disambiguation, int n)
CompositionMode_SourceOver
Antialiasing
bool begin(QPaintDevice *device)
void drawEllipse(const QPoint ¢er, int rx, int ry)
void drawPixmap(const QPoint &point, const QPixmap &pixmap)
void drawRect(const QRect &rectangle)
bool end()
void setBrush(Qt::BrushStyle style)
void setPen(Qt::PenStyle style)
void setRenderHint(RenderHint hint, bool on)
Dark
QPixmap fromImage(QImage &&image, Qt::ImageConversionFlags flags)
PM_SmallIconSize
virtual int pixelMetric(PixelMetric metric, const QStyleOption *option, const QWidget *widget) const const=0
void initFrom(const QWidget *widget)
green
QTextStream & center(QTextStream &stream)
accessibleName
height
palette
size
QStyle * style() const const
void update()
width
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 3 2024 11:45:27 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 3 2024 11:45:27 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.