![]() |
LibrePCB Developers Documentation
|
A widget drawing a rotating spinner to indicate an ongoing operation. More...
#include <waitingspinnerwidget.h>
Inherits QWidget.
Collaboration diagram for WaitingSpinnerWidget:Public Member Functions | |
| WaitingSpinnerWidget (QWidget *parent=nullptr) noexcept | |
| WaitingSpinnerWidget (const WaitingSpinnerWidget &other)=delete | |
| ~WaitingSpinnerWidget () noexcept | |
| void | setColor (const QColor &color) noexcept |
| WaitingSpinnerWidget & | operator= (const WaitingSpinnerWidget &rhs)=delete |
Protected Member Functions | |
| void | showEvent (QShowEvent *e) noexcept override |
| void | hideEvent (QHideEvent *e) noexcept override |
| void | paintEvent (QPaintEvent *e) noexcept override |
| bool | eventFilter (QObject *watched, QEvent *event) noexcept override |
Private Member Functions | |
| int | calculateSize () const noexcept |
| void | updateSize () noexcept |
| void | updatePosition () noexcept |
Private Attributes | |
| QColor | mColor |
| int | mTotalRotations |
| int | mCurrentRotation |
| int | mCircleDiameter |
| int | mDotDiameter |
| int | mMargin |
| QScopedPointer< QTimer > | mTimer |
| QPointer< QWidget > | mEventFilterObject |
A widget drawing a rotating spinner to indicate an ongoing operation.
Usage:
show(), hide() or setVisible() to make the spinner visible or not.Memory management is done by the Qt parent-child mechanism.
|
explicitnoexcept |
|
delete |
|
noexcept |
|
inlinenoexcept |
|
delete |
|
overrideprotectednoexcept |
|
overrideprotectednoexcept |
|
overrideprotectednoexcept |
|
overrideprotectednoexcept |
|
privatenoexcept |
Here is the caller graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
|
privatenoexcept |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |