API Documentation
Loading...
Searching...
No Matches
AddressWidget.h
Go to the documentation of this file.
1#pragma once
2#include <NDEVR/DesignObjectWidgetInterface.h>
3#if NDEVR_CONTACT_INFO
4#include <QWidget>
5namespace NDEVR
6{
7 class QCustomComboBox;
8 class QCustomLineEdit;
9 class NDEVR_API AddressWidget : public QWidget, public DesignObjectWidgetInterface
10 {
11 Q_OBJECT
12 public:
13 AddressWidget(QWidget* parent = nullptr);
14 void init();
15 void onTargetUpdated(UUID id) override;
16 void retranslate() const;
17 bool event(QEvent* event) override;
18 public slots:
19 void onAddressEditedSlot();
20 protected:
21 QCustomComboBox* m_state;
22 QCustomLineEdit* m_street;
23 QCustomLineEdit* m_city;
24 QCustomLineEdit* m_zip_code;
25 bool m_use_full_state_name = false;
26 };
27}
28#endif
#define NDEVR_API
Definition DLLInfo.h:67
Definition ACIColor.h:37