forked from ZiQiangWang/ImagePorc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
FilterEmboss.h
47 lines (30 loc) · 821 Bytes
/
FilterEmboss.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#ifndef FILTEREMBOSS_H
#define FILTEREMBOSS_H
#include <QDialog>
class Picture;
class _Emboss;
namespace Ui {
class FilterEmboss;
}
class FilterEmboss : public QDialog
{
Q_OBJECT
public:
explicit FilterEmboss(Picture *pic, QWidget *parent = 0);
~FilterEmboss();
private slots:
void on_horizontalSlider_azimuth_valueChanged(int value);
void on_horizontalSlider_elevation_valueChanged(int value);
void on_horizontalSlider_depth_valueChanged(int value);
void on_pushButton_reset_clicked();
void on_radioButton_bumpmap_toggled(bool checked);
void on_radioButton_emboss_toggled(bool checked);
void proc_accept();
signals:
void state_changed(_Emboss *emboss);
private:
Ui::FilterEmboss *ui;
Picture *m_pic;
_Emboss *m_emboss;
};
#endif // FILTEREMBOSS_H