mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 13:04:28 -04:00
Add a new type of "look" to the import widget. It is going to be used as the "upgrading..." view while a library is being upgraded.
This commit is contained in:
@ -1,16 +1,9 @@
|
||||
#ifndef IMPORT_WIDGET_H
|
||||
#define IMPORT_WIDGET_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
class QLabel;
|
||||
class QGraphicsView;
|
||||
class QGraphicsScene;
|
||||
class QElapsedTimer;
|
||||
class QVBoxLayout;
|
||||
class QToolButton;
|
||||
class QResizeEvent;
|
||||
class QPropertyAnimation;
|
||||
#include <QtWidgets>
|
||||
|
||||
|
||||
class ImportWidget : public QWidget
|
||||
{
|
||||
@ -28,11 +21,12 @@ public slots:
|
||||
void clearScene();
|
||||
void setImportLook();
|
||||
void setUpdateLook();
|
||||
void setUpgradeLook();
|
||||
void showCovers(bool hide);
|
||||
|
||||
private:
|
||||
QLabel * currentComicLabel;
|
||||
QLabel * portadasLabel;
|
||||
QLabel * coversLabel;
|
||||
QLabel * iconLabel;
|
||||
QLabel * text;
|
||||
QLabel * textDescription;
|
||||
@ -40,6 +34,7 @@ private:
|
||||
QGraphicsView * coversView;
|
||||
QGraphicsScene * coversScene;
|
||||
QPropertyAnimation * scrollAnimation;
|
||||
QPushButton * stopButton;
|
||||
|
||||
int previousWidth;
|
||||
bool updatingCovers;
|
||||
|
Reference in New Issue
Block a user