KWidgetsAddons
kled.h
101 KLed(const QColor &color, KLed::State state, KLed::Look look, KLed::Shape shape, QWidget *parent = nullptr);
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
KLed(const QColor &color, KLed::State state, KLed::Look look, KLed::Shape shape, QWidget *parent=nullptr)
Constructor with the color, state and look.
Q_ENUM(...)
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
Q_SLOTSQ_SLOTS
QObject * parent() const const
QWidget(QWidget *parent, Qt::WindowFlags f)
minimumSizeHint
virtual void paintEvent(QPaintEvent *event)
virtual void resizeEvent(QResizeEvent *event)
sizeHint
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:58 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:58 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.