]> Shamusworld >> Repos - schematic/blobdiff - src/alertdialog.h
Move DB access to NoteDialog class, new AlertDialog class.
[schematic] / src / alertdialog.h
diff --git a/src/alertdialog.h b/src/alertdialog.h
new file mode 100644 (file)
index 0000000..560318e
--- /dev/null
@@ -0,0 +1,34 @@
+//
+// alertdialog.h: Alert entry/editing
+//
+// by James Hammons
+// (C) 2012 Underground Software
+//
+
+#ifndef __ALERTDIALOG_H__
+#define __ALERTDIALOG_H__
+
+#include <QtGui>
+
+
+class AlertDialog: public QDialog
+{
+       Q_OBJECT
+
+       public:
+               AlertDialog(int uidToUse, QWidget * parent = 0);
+               ~AlertDialog();
+
+       public slots:
+               virtual void accept(void);
+
+       private:
+               QDialogButtonBox * buttonBox;
+
+       public:
+               QTextEdit * note;
+               int uid;
+};
+
+#endif // __ALERTDIALOG_H__
+