NDEVR
API Documentation
PhoneNumberWidget.h
1#pragma once
2#include "DLLInfo.h"
3#if NDEVR_CONTACT_INFO
4#include <NDEVR/QTDesignObject.h>
5#include <NDEVR/Editor.h>
6#include <NDEVR/Pointer.h>
7#include <QWidget>
8namespace Ui
9{
10 class PhoneNumberUI;
11}
12namespace NDEVR
13{
14 class TelephoneNumber;
18 class NDEVR_API PhoneNumberWidget : public Editor
19 {
20 public:
26 PhoneNumberWidget(const DynamicPointer<QTDesignObject>& customer, QWidget* parent = nullptr);
28 static void Register();
29 protected:
31 void updateValues() final override;
36 TelephoneNumber phoneNumber() const;
37 protected:
38 Ui::PhoneNumberUI* ui;
39 };
40}
41#endif
A base class for displaying options for editing a single DesignObject, typically a Model.
Definition Editor.h:58
Editor widget for viewing and editing a telephone number.
The primary namespace for the NDEVR SDK.