yacreader/YACReaderLibrary/import_widget.h
Luis Ángel San Martín 65a50fb612 a?adidos 2 estados para importWidget (import y update)
a?adido bot?n que muestra las opciones avanzadas de YACReaderFlowGL en los di?logos de opciones

v6.2.0 rc1
2013-05-12 15:40:21 +02:00

44 lines
888 B
C++

#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();
void setImportLook();
void setUpdateLook();
private:
QLabel * currentComicLabel;
QLabel * portadasLabel;
QLabel * iconLabel;
QLabel * text;
QLabel * textDescription;
QGraphicsView * coversView;
QGraphicsScene * coversScene;
int previousWidth;
bool updatingCovers;
QElapsedTimer * elapsedTimer;
quint64 i;
};
#endif // IMPORT_WIDGET_H