Plasma
flashinglabel.cpp
Go to the documentation of this file.
238 void FlashingLabel::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
QSize size() const
int width() const
virtual QSizeF sizeHint(Qt::SizeHint which, const QSizeF &constraint) const
int duration() const
the text color to be used by items resting on the background
Definition: theme.h:63
typedef Alignment
bool disconnect(const QObject *sender, const char *signal, const QObject *receiver, const char *method)
QScriptValue animation(const QString &anim)
Definition: animationscriptengine.cpp:55
QRect boundingRect(QChar ch) const
void stop()
QVariant property(const char *name) const
void drawPixmap(const QRectF &target, const QPixmap &pixmap, const QRectF &source)
bool isEmpty() const
Definition: theme.cpp:68
void setSizePolicy(const QSizePolicy &policy)
QFont font() const
bool isNull() const
bool autohide() const
FlashingLabel(QGraphicsItem *parent=0)
Definition: flashinglabel.cpp:94
QColor color() const
void setCacheMode(CacheMode mode, const QSize &logicalCacheSize)
static QScriptValue type(QScriptContext *ctx, QScriptEngine *eng)
Definition: easingcurve.cpp:63
QSizeF sizeHint(Qt::SizeHint which, const QSizeF &constraint) const
Definition: flashinglabel.cpp:251
static Plasma::Animation * create(Animator::Animation type, QObject *parent=0)
Factory to build new animation objects.
Definition: animator.cpp:61
QScriptValue data() const
int height() const
void setX(int x)
void setY(int y)
bool setProperty(const char *name, const QVariant &value)
Q_INVOKABLE QColor color(ColorRole role) const
Returns the text color to be used by items resting on the background.
Definition: theme.cpp:918
void start(QAbstractAnimation::DeletionPolicy policy)
void show()
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0)
Definition: flashinglabel.cpp:238
Q_INVOKABLE void flash(const QString &text, int duration=0, const QTextOption &option=QTextOption(Qt::AlignCenter))
Definition: flashinglabel.cpp:143
void setTargetWidget(QGraphicsWidget *widget)
Set the widget on which the animation is to be performed.
Definition: animation.cpp:62
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.