2007-01-28 01:28:19 +00:00
|
|
|
//
|
|
|
|
|
// C++ Interface: mycardspixmaplabel
|
|
|
|
|
//
|
|
|
|
|
// Description:
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
// Author: FThauer FHammer <f.thauer@web.de>, (C) 2007
|
|
|
|
|
//
|
|
|
|
|
// Copyright: See COPYING file that comes with this distribution
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
#ifndef MYCARDSPIXMAPLABEL_H
|
|
|
|
|
#define MYCARDSPIXMAPLABEL_H
|
|
|
|
|
|
|
|
|
|
#include <QtGui>
|
|
|
|
|
#include <QtCore>
|
|
|
|
|
|
|
|
|
|
#include <iostream>
|
|
|
|
|
|
|
|
|
|
class MyCardsPixmapLabel : public QLabel
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
public:
|
|
|
|
|
MyCardsPixmapLabel(QFrame*);
|
|
|
|
|
|
|
|
|
|
~MyCardsPixmapLabel();
|
|
|
|
|
|
|
|
|
|
qreal frameOpacity;
|
|
|
|
|
QTimer *timer;
|
|
|
|
|
|
2007-01-28 02:24:46 +00:00
|
|
|
bool fadeOutAction;
|
2007-01-28 01:28:19 +00:00
|
|
|
void startFadeOut();
|
|
|
|
|
void paintEvent(QPaintEvent * event);
|
|
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
|
|
|
|
|
|
void nextFadeOutFrame();
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|