yacreader/YACReader/goto_flow_gl.h
Luis Ángel San Martín b4669c5b8b opciones y configuraci?n integrados completamente con QSettings
goToFlow ya es sensible al nivel de rendimiento

a?adidos al repositorio ficheros que faltaban

corregidos varios warnings en la compilaci?n
2012-10-11 08:16:57 +02:00

46 lines
1.0 KiB
C++

#ifndef __GOTO_FLOW_GL_H
#define __GOTO_FLOW_GL_H
#include "yacreader_global.h"
#include "goto_flow_widget.h"
#include "yacreader_flow_gl.h"
class QLineEdit;
class QIntValidator;
class QPushButton;
class QPushButton;
class QSize;
class GoToFlowGL : public GoToFlowWidget
{
Q_OBJECT
public:
GoToFlowGL(QWidget* parent = 0,FlowType flowType = CoverFlowLike);
void reset();
void centerSlide();
void centerSlide(int slide);
void setPageNumber(int page);
void setFlowType(FlowType flowType);
void setNumSlides(unsigned int slides);
void setImageReady(int index,const QByteArray & image);
void updateSize();
void goTo();
bool eventFilter(QObject *target, QEvent *event);
void keyPressEvent(QKeyEvent* event);
void updateConfig(QSettings * settings);
signals:
void goToPage(unsigned int page);
private:
YACReaderPageFlowGL * flow;
QLineEdit * edit;
QIntValidator * v;
QPushButton * centerButton;
QPushButton * goToButton;
//Comic * comic;
QSize imageSize;
};
#endif