mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
maquetado goToFlow
This commit is contained in:
33
YACReader/goto_flow_toolbar.h
Normal file
33
YACReader/goto_flow_toolbar.h
Normal file
@ -0,0 +1,33 @@
|
||||
#ifndef GOTO_FLOW_TOOLBAR_H
|
||||
#define GOTO_FLOW_TOOLBAR_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
class QLineEdit;
|
||||
class QIntValidator;
|
||||
class QPushButton;
|
||||
|
||||
class GoToFlowToolBar : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
private:
|
||||
QLineEdit * edit;
|
||||
QIntValidator * v;
|
||||
QPushButton * centerButton;
|
||||
QPushButton * goToButton;
|
||||
QWidget * bar;
|
||||
void resizeEvent(QResizeEvent * event);
|
||||
|
||||
public:
|
||||
GoToFlowToolBar(QWidget * parent = 0);
|
||||
public slots:
|
||||
void setPage(int pageNumber);
|
||||
void setTop(int numPages);
|
||||
void goTo();
|
||||
void centerSlide();
|
||||
signals:
|
||||
void setCenter(unsigned int);
|
||||
void goTo(unsigned int);
|
||||
};
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user