raDIYo 0.4
|
Public Member Functions | |
SWAdjustableDigit (QWidget *parent=nullptr) | |
Public Member Functions inherited from SWFlipDigit | |
SWFlipDigit (QWidget *parent=nullptr) | |
void | setTransition (SWFlipMode tr) |
SWFlipMode | transition () const |
void | setRange (int from, int to) |
Protected Member Functions | |
void | mousePressEvent (QMouseEvent *event) override |
void | mouseMoveEvent (QMouseEvent *event) override |
void | mouseReleaseEvent (QMouseEvent *event) override |
void | timerEvent (QTimerEvent *event) override |
Protected Member Functions inherited from SWFlipDigit | |
void | drawFrame (QPainter *p, const QRect &rect) |
QPixmap | drawDigits (int n, const QRect &rect) |
void | preparePixmap () |
void | resizeEvent (QResizeEvent *event) override |
void | paintEvent (QPaintEvent *event) override |
void | paintStatic () |
void | paintSlide () |
void | paintFlip () |
void | paintRotate () |
Protected Attributes | |
bool | _waiting = false |
int | _delta = 0 |
int | _timerID = -1 |
int | _posY = -1 |
Protected Attributes inherited from SWFlipDigit | |
const double | SWSCALEFACTOR = 2.7 |
const double | SWFONTSCALE = 0.85 |
int | _rangeFrom = 0 |
int | _rangeTo = 99 |
int | _number |
SWFlipMode | _transition |
QPixmap | _pixmap |
QPixmap | _lastPixmap |
QTimeLine | _animator |
Additional Inherited Members | |
Public Types inherited from SWFlipDigit | |
enum | SWFlipMode { Slide , Flip , Rotate } |
Public Slots inherited from SWFlipDigit | |
void | setNumber (int n) |
void | flipTo (int n) |
Definition at line 21 of file swadjustabledigit.h.
|
explicit |
Definition at line 22 of file swadjustabledigit.cpp.
|
virtual |
Definition at line 28 of file swadjustabledigit.cpp.
|
overrideprotected |
Definition at line 50 of file swadjustabledigit.cpp.
|
overrideprotected |
Definition at line 33 of file swadjustabledigit.cpp.
|
overrideprotected |
Definition at line 65 of file swadjustabledigit.cpp.
|
overrideprotected |
Definition at line 79 of file swadjustabledigit.cpp.
|
protected |
Definition at line 46 of file swadjustabledigit.h.
|
protected |
Definition at line 48 of file swadjustabledigit.h.
|
protected |
Definition at line 47 of file swadjustabledigit.h.
|
protected |
Definition at line 45 of file swadjustabledigit.h.