2#include "NDEVR/Headers/QTDesignObject.h"
3#include "Base/Headers/Pointer.hpp"
4#include "NDEVR/Headers/Editor.h"
8 class CustomerInfoSheetUI;
53 Ui::CustomerInfoSheetUI*
ui;
The equivelent of std::vector but with a bit more control.
Customer customer() const
Returns the Customer model for this editor.
void updateValues() final override
Updates the displayed values from the underlying design object.
Ui::CustomerInfoSheetUI * ui
The Qt Designer-generated UI.
virtual bool fullscreenTouch() const override
Returns whether this editor should display fullscreen on touch devices.
CustomerInfoSheet(bool is_business, const DynamicPointer< QTDesignObject > &customer, QWidget *parent=nullptr)
Constructs the customer info sheet editor.
void descriptionChangedSlot()
Handles changes to the description field.
QSize sizeHint() const override
Returns the recommended size for the editor.
void onAddressEditedSlot()
Handles changes to the address field.
Buffer< QWidget * > printableWidgets() override
Returns the list of widgets suitable for printing.
Model representing a customer entity with contact information, jobs, and devices.
Provides a modifiable pointer that has shared ownership of a dynamically allocated object.
Editor(QWidget *parent=nullptr)
Constructs an Editor with no design object target.
The primary namespace for the NDEVR SDK.