]> Shamusworld >> Repos - schematic/blob - src/alertdialog.h
Move DB access to NoteDialog class, new AlertDialog class.
[schematic] / src / alertdialog.h
1 //
2 // alertdialog.h: Alert entry/editing
3 //
4 // by James Hammons
5 // (C) 2012 Underground Software
6 //
7
8 #ifndef __ALERTDIALOG_H__
9 #define __ALERTDIALOG_H__
10
11 #include <QtGui>
12
13
14 class AlertDialog: public QDialog
15 {
16         Q_OBJECT
17
18         public:
19                 AlertDialog(int uidToUse, QWidget * parent = 0);
20                 ~AlertDialog();
21
22         public slots:
23                 virtual void accept(void);
24
25         private:
26                 QDialogButtonBox * buttonBox;
27
28         public:
29                 QTextEdit * note;
30                 int uid;
31 };
32
33 #endif  // __ALERTDIALOG_H__
34