API Documentation
|
#include <ReportIterator.h>
Public Member Functions | |
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) | |
QWidget * | getReport (uint04 report_index) const override |
void | setObjectsToReport (const Buffer< UUID > &objects_to_report) |
void | updateAvailableReports () |
JSONNode | createJSONNode () const |
void | saveReportMetaData (const File &file) const |
void | setReportHandlers (const Buffer< const ReportHandler * > &handlers) |
virtual bool | canHandle (UUID model_id, QTModelManager *) |
const Buffer< const ReportHandler * > & | reportHandlers () |
Public Member Functions inherited from WidgetIterator | |
WidgetIterator () | |
WidgetIterator (const Buffer< QWidget * > &objects_to_report) | |
virtual | ~WidgetIterator () |
virtual void | setCustomReport (uint04 index, QWidget *widget) |
uint04 | reportCount () const |
QSize | preferredSize () const |
Protected Member Functions | |
void | sortIDs () |
Protected Attributes | |
Buffer< UUID > | m_objects_to_report |
Buffer< std::pair< const ReportHandler *, UUID > > | m_report_objects |
QTModelManager * | m_manager |
Buffer< const ReportHandler * > | m_report_handlers |
Protected Attributes inherited from WidgetIterator | |
Buffer< QWidget * > | m_widgets |
QSize | m_prefered_size |
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 |