mirror of
https://github.com/YACReader/yacreader
synced 2026-02-08 00:00:36 -05:00
a?adido idoma ruso
a?adidos mensajes de notificaci?n (cover y last page) eliminada temporalmente la comprobaci?n de nueva versi?n (para evitar bloqueo en el hilo principal) a?adidos nuevos iconos para los diferentes tipos de archivo cbz,cbr,cbt,cb7
This commit is contained in:
29
YACReader/notifications_label_widget.h
Normal file
29
YACReader/notifications_label_widget.h
Normal 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
|
||||
Reference in New Issue
Block a user