2#include "NDEVR/Headers/ReportIterator.h"
3#include "QTDesignObject.h"
7 class TransitIncidentReportUI;
11 class TopDownDeploymentChart;
12 class SideViewDeploymentChart;
16 class TransitIncidentReport;
52 mutable TransitIncidentReport*
m_report =
nullptr;
The equivelent of std::vector but with a bit more control.
JavaScript Object Notation or JSON is an open - standard file format that uses human - readable text ...
A Model which represents a user-project.
A wrapper around DesignObjectLookup that provides signal and slot functionality and adds rendering ca...
ReportHandler(const TranslatedString &name, const TranslatedString &description, const StringView &icon)
Constructs a report handler with the given display properties.
virtual QWidget * getReport(const UUID &id, QTModelManager *manager, const QRect &requested_geometry) const override
Generates the report widget for the given ID.
virtual Buffer< UUID > defaultReportIDs(const Buffer< UUID > &objects_to_report, QTModelManager *manager) const override
Given a list of model objects, returns report IDs this handler requests to manage.
virtual void createReportJSON(const UUID &id, JSONNode &node, ReportJSONMaker &maker) const override
Serializes the report to JSON format.
TransitIncidentReport * m_report
Cached report instance.
virtual bool canHandle(UUID id, QTModelManager *manager) const override
Checks whether this handler can produce a report for the given ID.
TransitIncidentReportHandler()
Constructs the TransitIncidentReportHandler.
virtual UUID id() const override
Returns the unique identifier for this report handler type.
A universally unique identifier (UUID) is a 128-bit number used to identify information in computer s...
The primary namespace for the NDEVR SDK.
Creates a JSON data structure that can be used for generating a report in MSWord.