NDEVR
API Documentation
CustomerJobsList.h
1#pragma once
2#include "DesignPropertyTable.h"
3
4namespace NDEVR
5{
6 class Customer;
13 {
14 Q_OBJECT
15 public:
19 explicit CustomerJobsList(QWidget* parent = nullptr);
24 CustomerJobsList(QTModelManager* manager, QWidget* parent = nullptr);
28 virtual void setModelManager(QTModelManager* manager) override;
33 protected:
37 };
38}
void setCustomerParent(const DynamicPointer< QTDesignObject > &object)
Sets the customer parent whose jobs should be displayed.
void setupJobsTable()
Sets up the table columns and populates job rows.
CustomerJobsList(QWidget *parent=nullptr)
Constructs an empty customer jobs list.
DynamicPointer< QTDesignObject > m_object_parent
The customer whose jobs are displayed.
CustomerJobsList(QTModelManager *manager, QWidget *parent=nullptr)
Constructs a customer jobs list with a model manager.
virtual void setModelManager(QTModelManager *manager) override
Sets the model manager and refreshes the table.
Model representing a customer entity with contact information, jobs, and devices.
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 wrapper around DesignObjectLookup that provides signal and slot functionality and adds rendering ca...
The primary namespace for the NDEVR SDK.