added settings to the options dialog for configuring the background image in grid view

This commit is contained in:
Luis Ángel San Martín
2015-12-07 22:48:13 +01:00
parent de59cbd9e3
commit da19e086db
5 changed files with 125 additions and 39 deletions

View File

@ -1,6 +1,8 @@
#ifndef __OPTIONS_DIALOG_H
#define __OPTIONS_DIALOG_H
#include <QtWidgets>
#include "yacreader_options_dialog.h"
#include "yacreader_global.h"
@ -15,6 +17,18 @@ Q_OBJECT
public slots:
void editApiKey();
void restoreOptions(QSettings * settings);
private slots:
void useBackgroundImageCheckClicked(bool checked);
void backgroundImageOpacitySliderChanged(int value);
void backgroundImageBlurRadiusSliderChanged(int value);
private:
QCheckBox * useBackgroundImageCheck;
QSlider * backgroundImageOpacitySlider;
QSlider * backgroundImageBlurRadiusSlider;
QLabel * opacityLabel;
QLabel * blurLabel;
};