]> Shamusworld >> Repos - schematic/blob - src/notedialog.h
Move DB access to NoteDialog class, new AlertDialog class.
[schematic] / src / notedialog.h
1 //
2 // notedialog.h: Note entry/editing
3 //
4 // by James Hammons
5 // (C) 2012 Underground Software
6 //
7
8 #ifndef __NOTEDIALOG_H__
9 #define __NOTEDIALOG_H__
10
11 #include <QtGui>
12
13
14 class NoteDialog: public QDialog
15 {
16         Q_OBJECT
17
18         public:
19                 NoteDialog(int uidToUse, QWidget * parent = 0);
20                 ~NoteDialog();
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  // __NOTEDIALOG_H__
34