1 #ifndef DLG_EDITAVATAR_H
2 #define DLG_EDITAVATAR_H
3 
4 #include <QComboBox>
5 #include <QDialog>
6 #include <QLineEdit>
7 
8 class QLabel;
9 class QPushButton;
10 class QCheckBox;
11 
12 class DlgEditAvatar : public QDialog
13 {
14     Q_OBJECT
15 public:
16     DlgEditAvatar(QWidget *parent = nullptr);
17     QByteArray getImage();
18 private slots:
19     void actOk();
20     void actBrowse();
21 
22 private:
23     QImage image;
24     QLabel *textLabel, *imageLabel;
25     QPushButton *browseButton;
26 };
27 
28 #endif
29