mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
unificaci?n de las partes comunes en los di?logos de configuraci?n
This commit is contained in:
@ -10,7 +10,9 @@
|
||||
#include <QRadioButton>
|
||||
#include <QColorDialog>
|
||||
|
||||
class OptionsDialog : public QDialog
|
||||
#include "custom_widgets.h"
|
||||
|
||||
class OptionsDialog : public YACReaderOptionsDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
@ -26,14 +28,7 @@ Q_OBJECT
|
||||
|
||||
//QLabel * slideSizeLabel;
|
||||
QSlider * slideSize;
|
||||
|
||||
QPushButton * accept;
|
||||
QPushButton * cancel;
|
||||
|
||||
QRadioButton *radio1;
|
||||
QRadioButton *radio2;
|
||||
QRadioButton *radio3;
|
||||
|
||||
|
||||
//QLabel * fitToWidthRatioLabel;
|
||||
QSlider * fitToWidthRatioS;
|
||||
|
||||
@ -44,12 +39,14 @@ Q_OBJECT
|
||||
|
||||
public slots:
|
||||
void saveOptions();
|
||||
void restoreOptions();
|
||||
void restoreOptions(QSettings * settings);
|
||||
void findFolder();
|
||||
void updateColor(const QColor & color);
|
||||
void fitToWidthRatio(int value);
|
||||
|
||||
signals:
|
||||
void changedOptions();
|
||||
void fitToWidthRatioChanged(float ratio);
|
||||
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user