10 #include <QStringListModel> 105 #endif // ADDRESSFIELD_H void setAddressColumn(int addressColumn)
void setTypeRole(int typeRole)
AddressType addressType() const
addressType Get the address type
void setAddressTableModel(QAbstractItemModel *addressTableModel)
void appendAddress(const QString &strAddress)
Drop down list of addresses.
AddressType m_addressType
QStringListModel m_stringModel
void on_refresh()
on_refresh Refresh the list of addresses
QAbstractItemModel * m_addressTableModel
void on_editingFinished()
on_editingFinished Completer finish text update
AddressField(QWidget *parent=0)
AddressField Constructor.
void addressTypeChanged(AddressType)
addressTypeChanged Signal that the address type is changed
void setReceive(const QString &receive)
void setAddressType(AddressType addressType)
setAddressType Set the address type
void on_addressTypeChanged()
on_addressTypeChanged Change the address type
virtual QString currentText() const
currentText Get the current text
void setComboBoxEditable(bool editable)
AddressType
The AddressType enum Type of addresses that will be displayed.