]> Shamusworld >> Repos - schematic/blob - src/contacteditwidget.h
Move DB access to NoteDialog class, new AlertDialog class.
[schematic] / src / contacteditwidget.h
1 //
2 // contacteditwidget.h: Editable vendor contact
3 //
4 // by James Hammons
5 // (C) 2012 Underground Software
6 //
7
8 #ifndef __CONTACTEDITWIDGET_H__
9 #define __CONTACTEDITWIDGET_H__
10
11 #include <QtGui>
12
13 class ContactEditWidget: public QWidget
14 {
15         Q_OBJECT
16
17         public:
18                 ContactEditWidget(QWidget * parent = 0);
19
20         protected slots:
21                 void NewItem(const QString &);
22                 void ExistingItem(int);
23
24         public:
25                 QComboBox * field1;
26                 QLineEdit * field2;
27                 QLineEdit * field3;
28                 QLineEdit * field4;
29                 QLineEdit * field5;
30                 QLineEdit * field6;
31                 QLineEdit * field7;
32
33                 bool newContactType;
34 };
35
36 #endif  // __CONTACTEDITWIDGET_H__
37