mirror of
				https://github.com/YACReader/yacreader
				synced 2025-10-31 00:04:26 -04:00 
			
		
		
		
	Fix 7zTypes.h include
This commit is contained in:
		
							
								
								
									
										39
									
								
								YACReader/goto_flow_toolbar.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								YACReader/goto_flow_toolbar.h
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,39 @@ | ||||
| #ifndef GOTO_FLOW_TOOLBAR_H | ||||
| #define GOTO_FLOW_TOOLBAR_H | ||||
|  | ||||
| #include <QWidget> | ||||
| #include <QStackedWidget.h> | ||||
|  | ||||
| class QLineEdit; | ||||
| class QIntValidator; | ||||
| class QPushButton; | ||||
| class QSlider; | ||||
| class QLabel; | ||||
|  | ||||
| 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); | ||||
| 		void goTo(); | ||||
| 		void centerSlide(); | ||||
| 	signals: | ||||
| 		void setCenter(unsigned int); | ||||
| 		void goTo(unsigned int); | ||||
| }; | ||||
|  | ||||
| #endif | ||||
		Reference in New Issue
	
	Block a user