2017-05-01 11:28:54 +02:00
|
|
|
#ifndef BLURDIALOG_HPP
|
|
|
|
#define BLURDIALOG_HPP
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
#include <QGraphicsBlurEffect>
|
|
|
|
|
2017-05-06 13:21:12 +02:00
|
|
|
namespace Ui {
|
2017-05-01 11:28:54 +02:00
|
|
|
class BlurDialog;
|
|
|
|
}
|
|
|
|
|
2017-05-06 13:21:12 +02:00
|
|
|
class BlurDialog : public QDialog {
|
2017-05-09 17:26:00 +02:00
|
|
|
Q_OBJECT
|
2017-05-01 11:28:54 +02:00
|
|
|
|
2017-06-14 23:34:58 +02:00
|
|
|
public:
|
2017-05-09 17:26:00 +02:00
|
|
|
explicit BlurDialog(QGraphicsBlurEffect *effect, QWidget *parent = 0);
|
|
|
|
~BlurDialog();
|
2017-05-01 11:28:54 +02:00
|
|
|
|
2017-06-14 23:34:58 +02:00
|
|
|
private slots:
|
2017-05-09 17:26:00 +02:00
|
|
|
void on_radSpinner_valueChanged(double arg1);
|
|
|
|
void on_radSlider_sliderMoved(int position);
|
2017-05-01 11:28:54 +02:00
|
|
|
|
2017-06-14 23:34:58 +02:00
|
|
|
private:
|
2017-05-09 17:26:00 +02:00
|
|
|
Ui::BlurDialog *ui;
|
|
|
|
QGraphicsBlurEffect *effect;
|
2017-05-01 11:28:54 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // BLURDIALOG_HPP
|