mirror of
https://github.com/YACReader/yacreader
synced 2025-07-21 14:34:42 -04:00
a?adido #include <typeinfo> (compilaci?n Linux)
This commit is contained in:
66
YACReader/options_dialog.h
Normal file
66
YACReader/options_dialog.h
Normal file
@ -0,0 +1,66 @@
|
||||
#ifndef __OPTIONS_DIALOG_H
|
||||
#define __OPTIONS_DIALOG_H
|
||||
|
||||
#include <QDialog>
|
||||
#include <QLabel>
|
||||
#include <QLineEdit>
|
||||
#include <QPushButton>
|
||||
#include <QSlider>
|
||||
#include <QPushButton>
|
||||
#include <QRadioButton>
|
||||
#include <QColorDialog>
|
||||
|
||||
#include "custom_widgets.h"
|
||||
|
||||
class OptionsDialog : public YACReaderOptionsDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
OptionsDialog(QWidget * parent = 0);
|
||||
private:
|
||||
//QLabel * pathLabel;
|
||||
QLineEdit * pathEdit;
|
||||
QPushButton * pathFindButton;
|
||||
|
||||
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();
|
||||
|
||||
signals:
|
||||
void changedOptions();
|
||||
void changedImageOptions();
|
||||
void fitToWidthRatioChanged(float ratio);
|
||||
|
||||
};
|
||||
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user