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 resizeEvent(QGraphicsSceneResizeEvent *event)
Definition: busywidget.cpp:198
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0)
Definition: busywidget.cpp:132
QString label() const
the text color to be used by items resting on the background
Definition: theme.h:63
void clicked()
void mousePressEvent(QGraphicsSceneMouseEvent *event)
Definition: busywidget.cpp:204
void mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
Definition: busywidget.cpp:209
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:33 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:33 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.