mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
line 117: #define _WIN64 1 must be removed in ./compressed_archive/libp7zip/CPP/myWindows/StdAfx.h "cannot find -lpulse" compiling under Qt 5.0.2 can be fixed creating a symbolic link from libpulse.so.0 to libpulse.so (further research is needed)
41 lines
958 B
C++
41 lines
958 B
C++
#ifndef __GOTO_FLOW_WIDGET_H
|
|
#define __GOTO_FLOW_WIDGET_H
|
|
|
|
#include <QWidget>
|
|
#include <QSettings>
|
|
#include "yacreader_global.h"
|
|
|
|
using namespace YACReader;
|
|
|
|
class QSettings;
|
|
class GoToFlowDecorationBar;
|
|
class GoToFlowToolBar;
|
|
class QVBoxLayout;
|
|
|
|
class GoToFlowWidget : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
protected:
|
|
QVBoxLayout * mainLayout;
|
|
GoToFlowDecorationBar * topBar;
|
|
GoToFlowToolBar * toolBar;
|
|
public:
|
|
GoToFlowWidget(QWidget * paret = 0);
|
|
virtual ~GoToFlowWidget() = 0;
|
|
public slots:
|
|
virtual void reset() = 0;
|
|
virtual void centerSlide(int slide) = 0;
|
|
virtual void setPageNumber(int page);
|
|
virtual void setFlowType(FlowType flowType) = 0;
|
|
virtual void setNumSlides(unsigned int slides) = 0;
|
|
virtual void setImageReady(int index,const QByteArray & image) = 0;
|
|
virtual void updateSize() = 0;
|
|
virtual void updateConfig(QSettings * settings) = 0;
|
|
|
|
protected:
|
|
void keyPressEvent(QKeyEvent* event);
|
|
|
|
};
|
|
|
|
#endif
|