improve Own Flipside handling
This commit is contained in:
1 parent
34fd8aceef
commit
262b18a747
5 files changed
+187
-119
No files matched your search
@@ -25,18 +25,27 @@ public:
|
||||
|
||||
~MyCardsPixmapLabel();
|
||||
|
||||
qreal frameOpacity;
|
||||
qreal opacityRaiseIntervall;
|
||||
QTimer *timer;
|
||||
void setIsFlipside(bool theValue){ isFlipside = theValue;}
|
||||
bool getIsFlipside() const{ return isFlipside;}
|
||||
|
||||
bool fadeOutAction;
|
||||
void startFadeOut(int);
|
||||
|
||||
void paintEvent(QPaintEvent * event);
|
||||
|
||||
|
||||
public slots:
|
||||
|
||||
void setPixmap ( const QPixmap &, const bool );
|
||||
void nextFadeOutFrame();
|
||||
|
||||
private:
|
||||
|
||||
qreal frameOpacity;
|
||||
qreal opacityRaiseIntervall;
|
||||
QTimer *timer;
|
||||
|
||||
bool isFlipside;
|
||||
bool fadeOutAction;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user