2 // addresseditwidget.cpp - Editable vendor address display
5 // (C) 2012 Underground Software
7 // JLH = James Hammons <jlhamm@acm.org>
10 // --- ---------- -------------------------------------------------------------
11 // JLH 09/24/2012 Created this file
14 #include "addresseditwidget.h"
16 AddressEditWidget::AddressEditWidget(QWidget * parent/*= 0*/): QWidget(parent),
17 field1(new QLineEdit),
18 field2(new QLineEdit),
19 field3(new QLineEdit),
20 field4(new QLineEdit),
23 QFormLayout * form = new QFormLayout;
25 form->addRow(tr("Address:"), field1);
26 form->addRow(tr("City:"), field2);
27 form->addRow(tr("State:"), field3);
28 form->addRow(tr("Country:"), field4);
29 form->addRow(tr("Postal Code:"), field5);