a?adido nuevo widget para gestionar las importacione y actualizaciones

En OSX se ha desactivado el uso de QGraphicsOpacityEffect debido a un bug en Qt
This commit is contained in:
Luis Ángel San Martín
2013-05-11 23:27:31 +02:00
parent 97bd2ee0ab
commit 882dd0c435
16 changed files with 452 additions and 20 deletions

View File

@ -0,0 +1,38 @@
#ifndef IMPORT_WIDGET_H
#define IMPORT_WIDGET_H
#include <QWidget>
class QLabel;
class QGraphicsView;
class QGraphicsScene;
class QElapsedTimer;
class ImportWidget : public QWidget
{
Q_OBJECT
public:
explicit ImportWidget(QWidget *parent = 0);
signals:
void stop();
public slots:
void newComic(const QString & path, const QString & coverPath);
void newCover(const QPixmap & image);
void clear();
void addCoverTest();
void finishedUpdatingCover();
void clearScene();
private:
QLabel * currentComicLabel;
QLabel * portadasLabel;
QGraphicsView * coversView;
QGraphicsScene * coversScene;
int previousWidth;
bool updatingCovers;
QElapsedTimer * elapsedTimer;
quint64 i;
};
#endif // IMPORT_WIDGET_H