mirror of
				https://github.com/YACReader/yacreader
				synced 2025-10-31 16:25:15 -04:00 
			
		
		
		
	Add .gitattributes rules for text and binary handling
This commit is contained in:
		| @ -1,72 +1,72 @@ | ||||
| #ifndef __OPTIONS_DIALOG_H | ||||
| #define __OPTIONS_DIALOG_H | ||||
|  | ||||
| #include "yacreader_options_dialog.h" | ||||
|  | ||||
| class QDialog; | ||||
| class QLabel; | ||||
| class QLineEdit; | ||||
| class QPushButton; | ||||
| class QSlider; | ||||
| class QPushButton; | ||||
| class QRadioButton; | ||||
| class QColorDialog; | ||||
| class YACReaderSpinSliderWidget; | ||||
|  | ||||
|  | ||||
| class OptionsDialog : public YACReaderOptionsDialog | ||||
| { | ||||
| Q_OBJECT | ||||
| 	public: | ||||
| 		OptionsDialog(QWidget * parent = 0); | ||||
| 	private: | ||||
| 		//QLabel * pathLabel; | ||||
| 		QLineEdit * pathEdit; | ||||
| 		QPushButton * pathFindButton; | ||||
|         QCheckBox * quickNavi; | ||||
|         QCheckBox * disableShowOnMouseOver; | ||||
|  | ||||
| 		QLabel * magGlassSizeLabel; | ||||
|  | ||||
| 		QLabel * zoomLevel; | ||||
|  | ||||
| 		//QLabel * slideSizeLabel; | ||||
| 		QSlider * slideSize; | ||||
| 		 | ||||
| 		//QLabel * fitToWidthRatioLabel; | ||||
| 		//QSlider * fitToWidthRatioS; | ||||
|  | ||||
| 		QLabel * backgroundColor; | ||||
| 		QPushButton * selectBackgroundColorButton; | ||||
|  | ||||
| 		QColorDialog * colorDialog; | ||||
|  | ||||
| 		YACReaderSpinSliderWidget  * brightnessS; | ||||
|  | ||||
| 		YACReaderSpinSliderWidget * contrastS; | ||||
|  | ||||
| 		YACReaderSpinSliderWidget * gammaS; | ||||
|  | ||||
| 	public slots: | ||||
| 		void saveOptions(); | ||||
| 		void restoreOptions(QSettings * settings); | ||||
| 		void findFolder(); | ||||
| 		void updateColor(const QColor & color); | ||||
| 		//void fitToWidthRatio(int value); | ||||
| 		void brightnessChanged(int value); | ||||
| 		void contrastChanged(int value); | ||||
| 		void gammaChanged(int value); | ||||
| 		void resetImageConfig(); | ||||
| 		void show(); | ||||
| 		void setFilters(int brightness, int contrast, int gamma); | ||||
|  | ||||
| signals: | ||||
| 		void changedOptions(); | ||||
| 		void changedImageOptions(); | ||||
| 		void changedFilters(int brightness, int contrast, int gamma); | ||||
| 		//void fitToWidthRatioChanged(float ratio); | ||||
|  | ||||
| }; | ||||
|  | ||||
|  | ||||
| #endif | ||||
| #ifndef __OPTIONS_DIALOG_H | ||||
| #define __OPTIONS_DIALOG_H | ||||
|  | ||||
| #include "yacreader_options_dialog.h" | ||||
|  | ||||
| class QDialog; | ||||
| class QLabel; | ||||
| class QLineEdit; | ||||
| class QPushButton; | ||||
| class QSlider; | ||||
| class QPushButton; | ||||
| class QRadioButton; | ||||
| class QColorDialog; | ||||
| class YACReaderSpinSliderWidget; | ||||
|  | ||||
|  | ||||
| class OptionsDialog : public YACReaderOptionsDialog | ||||
| { | ||||
| Q_OBJECT | ||||
| 	public: | ||||
| 		OptionsDialog(QWidget * parent = 0); | ||||
| 	private: | ||||
| 		//QLabel * pathLabel; | ||||
| 		QLineEdit * pathEdit; | ||||
| 		QPushButton * pathFindButton; | ||||
|         QCheckBox * quickNavi; | ||||
|         QCheckBox * disableShowOnMouseOver; | ||||
|  | ||||
| 		QLabel * magGlassSizeLabel; | ||||
|  | ||||
| 		QLabel * zoomLevel; | ||||
|  | ||||
| 		//QLabel * slideSizeLabel; | ||||
| 		QSlider * slideSize; | ||||
| 		 | ||||
| 		//QLabel * fitToWidthRatioLabel; | ||||
| 		//QSlider * fitToWidthRatioS; | ||||
|  | ||||
| 		QLabel * backgroundColor; | ||||
| 		QPushButton * selectBackgroundColorButton; | ||||
|  | ||||
| 		QColorDialog * colorDialog; | ||||
|  | ||||
| 		YACReaderSpinSliderWidget  * brightnessS; | ||||
|  | ||||
| 		YACReaderSpinSliderWidget * contrastS; | ||||
|  | ||||
| 		YACReaderSpinSliderWidget * gammaS; | ||||
|  | ||||
| 	public slots: | ||||
| 		void saveOptions(); | ||||
| 		void restoreOptions(QSettings * settings); | ||||
| 		void findFolder(); | ||||
| 		void updateColor(const QColor & color); | ||||
| 		//void fitToWidthRatio(int value); | ||||
| 		void brightnessChanged(int value); | ||||
| 		void contrastChanged(int value); | ||||
| 		void gammaChanged(int value); | ||||
| 		void resetImageConfig(); | ||||
| 		void show(); | ||||
| 		void setFilters(int brightness, int contrast, int gamma); | ||||
|  | ||||
| signals: | ||||
| 		void changedOptions(); | ||||
| 		void changedImageOptions(); | ||||
| 		void changedFilters(int brightness, int contrast, int gamma); | ||||
| 		//void fitToWidthRatioChanged(float ratio); | ||||
|  | ||||
| }; | ||||
|  | ||||
|  | ||||
| #endif | ||||
|  | ||||
		Reference in New Issue
	
	Block a user