mirror of
https://github.com/YACReader/yacreader
synced 2026-02-14 19:13:07 -05:00
Add slider in goto_flow_toolbar
This commit is contained in:
@ -2,24 +2,30 @@
|
||||
#define GOTO_FLOW_TOOLBAR_H
|
||||
|
||||
#include <QWidget>
|
||||
#include <QStackedWidget.h>
|
||||
|
||||
class QLineEdit;
|
||||
class QIntValidator;
|
||||
class QPushButton;
|
||||
class QSlider;
|
||||
class QLabel;
|
||||
|
||||
class GoToFlowToolBar : public QWidget
|
||||
class GoToFlowToolBar : public QStackedWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
private:
|
||||
QLineEdit * edit;
|
||||
QSlider * slider;
|
||||
QIntValidator * v;
|
||||
QPushButton * centerButton;
|
||||
QPushButton * goToButton;
|
||||
QLabel * pageHint;
|
||||
QWidget * bar;
|
||||
void paintEvent(QPaintEvent *);
|
||||
|
||||
public:
|
||||
GoToFlowToolBar(QWidget * parent = 0);
|
||||
void switchLayout();
|
||||
public slots:
|
||||
void setPage(int pageNumber);
|
||||
void setTop(int numPages);
|
||||
|
||||
Reference in New Issue
Block a user