Plasma
busywidget.cpp
Go to the documentation of this file.
132 void BusyWidget::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
139 QRectF spinnerRect(QPoint(0, 0), QSize(qMin(size().width(), size().height()), qMin(size().width(), size().height())));
164 d->svg->paint(&buffPainter, QRectF(-translatedPos.toPoint(), spinnerRect.size()), "busywidget-shadow");
169 d->svg->paint(&buffPainter, QRectF(-translatedPos.toPoint(), spinnerRect.size()), "busywidget");
void setOpacity(qreal opacity)
void resizeEvent(QGraphicsSceneResizeEvent *event)
Definition: busywidget.cpp:198
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0)
Definition: busywidget.cpp:132
QString label() const
QSizeF size() const
void save()
the text color to be used by items resting on the background
Definition: theme.h:63
void rotate(qreal angle)
typedef Alignment
virtual void timerEvent(QTimerEvent *event)
void update(const QRectF &rect)
void clicked()
QSizeF size() const
void setPen(const QColor &color)
QSize toSize() const
void drawPixmap(const QRectF &target, const QPixmap &pixmap, const QRectF &source)
QPointF topLeft() const
void mousePressEvent(QGraphicsSceneMouseEvent *event)
Definition: busywidget.cpp:204
void drawText(const QPointF &position, const QString &text)
Qt::MouseButton button() const
void moveCenter(const QPointF &position)
void setRenderHints(QFlags< QPainter::RenderHint > hints, bool on)
void restore()
bool isEnabled() const
int startTimer(int interval)
bool isVisible() const
qreal width() const
QPoint toPoint() const
Qt::MouseButtons buttons() const
void mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
Definition: busywidget.cpp:209
void translate(const QPointF &offset)
int timerId() const
qreal height() const
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void killTimer(int id)
virtual QRectF boundingRect() const
qreal opacity() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:11 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:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.