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
| #ifndef CUSTOM_DIALOG_H
| #define CUSTOM_DIALOG_H
|
| #include <QDialog>
| #include <QMessageBox>
|
| class custom_dialog : public QDialog
| {
| Q_OBJECT
| public:
| explicit custom_dialog(QWidget *parent = 0);
|
| static void buzzer_beep(const int ms);
|
| void set_btn_beep(QObject *obj, const char *signal);
|
|
|
| signals:
|
| public slots:
|
| void btn_beep(void);
|
| };
|
|
|
| #endif // CUSTOM_DIALOG_H
|
|