API Documentation
|
Iterates through a series of reports for drawing, sending to a PDF or printing. More...
#include <ReportIterator.h>
Public Member Functions | |
virtual bool | canHandle (UUID model_id, QTModelManager *) |
JSONNode | createJSONNode () const |
QWidget * | getReport (uint04 report_index) const override |
const Buffer< const ReportHandler * > & | reportHandlers () |
ReportIterator (const Buffer< const ReportHandler * > &reports, const Buffer< UUID > &objects_to_report, QTModelManager *manager) | |
ReportIterator (const Buffer< const ReportHandler * > &reports, QTModelManager *manager) | |
ReportIterator (QTModelManager *manager) | |
void | saveReportMetaData (const File &file) const |
void | setObjectsToReport (const Buffer< UUID > &objects_to_report) |
void | setReportHandlers (const Buffer< const ReportHandler * > &handlers) |
void | updateAvailableReports () |
Public Member Functions inherited from WidgetIterator | |
QSize | preferredSize () const |
uint04 | reportCount () const |
virtual void | setCustomReport (uint04 index, QWidget *widget) |
WidgetIterator () | |
WidgetIterator (const Buffer< QWidget * > &objects_to_report) | |
virtual | ~WidgetIterator () |
Protected Member Functions | |
void | sortIDs () |
Protected Attributes | |
QTModelManager * | m_manager |
Buffer< UUID > | m_objects_to_report |
Buffer< const ReportHandler * > | m_report_handlers |
Buffer< std::pair< const ReportHandler *, UUID > > | m_report_objects |
Protected Attributes inherited from WidgetIterator | |
QSize | m_prefered_size |
Buffer< QWidget * > | m_widgets |
Iterates through a series of reports for drawing, sending to a PDF or printing.
ReportIterator | ( | QTModelManager * | manager | ) |
ReportIterator | ( | const Buffer< const ReportHandler * > & | reports, |
QTModelManager * | manager ) |
ReportIterator | ( | const Buffer< const ReportHandler * > & | reports, |
const Buffer< UUID > & | objects_to_report, | ||
QTModelManager * | manager ) |
|
virtual |
JSONNode createJSONNode | ( | ) | const |
|
overridevirtual |
Reimplemented from WidgetIterator.
|
inline |
void saveReportMetaData | ( | const File & | file | ) | const |
void setReportHandlers | ( | const Buffer< const ReportHandler * > & | handlers | ) |
|
protected |
void updateAvailableReports | ( | ) |
|
protected |
|
protected |
|
protected |