NDEVR
API Documentation
CustomerDeviceList.h
1#pragma once
2#include "NDEVR/Headers/DesignPropertyTable.h"
3namespace NDEVR
4{
5 class QTDesignObject;
12 {
13 Q_OBJECT
14 public:
18 CustomerDeviceList(QWidget* parent = nullptr);
23 CustomerDeviceList(const DynamicPointer<QTDesignObject>& customer, QWidget* parent = nullptr);
29 void setup();
30 protected:
32 };
33}
DynamicPointer< QTDesignObject > m_customer
The customer whose devices are displayed.
CustomerDeviceList(const DynamicPointer< QTDesignObject > &customer, QWidget *parent=nullptr)
Constructs a customer device list for the given customer.
void setTarget(const DynamicPointer< QTDesignObject > &customer)
Sets the target customer whose devices should be displayed.
void setup()
Sets up the table columns and populates device rows.
CustomerDeviceList(QWidget *parent=nullptr)
Constructs an empty customer device list.
DesignPropertyTable(QWidget *parent=nullptr)
Constructs a DesignPropertyTable without a model manager.
Provides a modifiable pointer that has shared ownership of a dynamically allocated object.
Definition Pointer.hpp:356
A pointer to a DesignObject within a QTModelManager that receives and emits update signals based on t...
The primary namespace for the NDEVR SDK.