fixed issue #13

This commit is contained in:
Luis Ángel San Martín
2014-06-24 12:00:31 -07:00
commit c9fdb5270b
752 changed files with 69736 additions and 0 deletions

View File

@ -0,0 +1,29 @@
#ifndef NOTIFICATIONS_LABEL_WIDGET_H
#define NOTIFICATIONS_LABEL_WIDGET_H
#include <QWidget>
class QLabel;
class QPropertyAnimation;
class QGraphicsOpacityEffect;
class NotificationsLabelWidget : public QWidget
{
Q_OBJECT
private:
QLabel * imgLabel;
QLabel * textLabel;
QPropertyAnimation * anim;
QPropertyAnimation * anim2;
QGraphicsOpacityEffect * effect;
QGraphicsOpacityEffect * effect2;
public:
NotificationsLabelWidget(QWidget * parent);
public slots:
void flash();
void setText(const QString & text);
void updatePosition();
};
#endif