--- /dev/null
+//
+// contacteditwidget.cpp - Vendor contact display
+//
+// by James Hammons
+// (C) 2012 Underground Software
+//
+// JLH = James Hammons <jlhamm@acm.org>
+//
+// Who When What
+// --- ---------- -------------------------------------------------------------
+// JLH 09/24/2012 Created this file
+//
+
+#include "contacteditwidget.h"
+
+ContactEditWidget::ContactEditWidget(QWidget * parent/*= 0*/): QWidget(parent),
+ field1(new QComboBox),
+ field2(new QLineEdit),
+ field3(new QLineEdit),
+ field4(new QLineEdit),
+ field5(new QLineEdit),
+ field6(new QLineEdit),
+ field7(new QLineEdit)
+{
+ QFormLayout * form = new QFormLayout;
+
+ form->addRow(tr("Type:"), field1);
+ form->addRow(tr("Name:"), field2);
+ form->addRow(tr("Email:"), field3);
+ form->addRow(tr("Address:"), field4);
+ form->addRow(tr("Phone 1:"), field5);
+ form->addRow(tr("Phone 2:"), field6);
+ form->addRow(tr("Fax:"), field7);
+
+ setLayout(form);
+}
+