API Documentation
Loading...
Searching...
No Matches
ReportHandler Class Reference

#include <ReportIterator.h>

Collaboration diagram for ReportHandler:
[legend]

Public Member Functions

 ReportHandler (const TranslatedString &name, const TranslatedString &description, const String &icon)
 
virtual ~ReportHandler ()
 
const TranslatedStringname () const
 
const TranslatedStringdescription () const
 
const Stringicon () const
 
virtual Buffer< UUIDdefaultReportIDs (const Buffer< UUID > &, QTModelManager *) const
 
virtual QMenu * popupOptions () const
 
virtual bool canHandle (UUID, QTModelManager *) const
 
virtual QWidget * getReport (const UUID &, QTModelManager *, const QRect &) const
 
virtual void createReportJSON (const UUID &, JSONNode &, ReportJSONMaker &) const
 
virtual UUID id () const
 
virtual bool defaultEnabled () const
 

Protected Attributes

TranslatedString m_name
 
TranslatedString m_description
 
String m_icon
 
bool m_default_enabled = true
 

Constructor & Destructor Documentation

◆ ReportHandler()

ReportHandler ( const TranslatedString & name,
const TranslatedString & description,
const String & icon )
inline

◆ ~ReportHandler()

virtual ~ReportHandler ( )
inlinevirtual

Member Function Documentation

◆ canHandle()

virtual bool canHandle ( UUID ,
QTModelManager *  ) const
inlinevirtual

◆ createReportJSON()

virtual void createReportJSON ( const UUID & ,
JSONNode & ,
ReportJSONMaker &  ) const
inlinevirtual

◆ defaultEnabled()

virtual bool defaultEnabled ( ) const
inlinevirtual

◆ defaultReportIDs()

virtual Buffer< UUID > defaultReportIDs ( const Buffer< UUID > & ,
QTModelManager *  ) const
inlinevirtual

◆ description()

const TranslatedString & description ( ) const
inline

◆ getReport()

virtual QWidget * getReport ( const UUID & ,
QTModelManager * ,
const QRect &  ) const
inlinevirtual

◆ icon()

const String & icon ( ) const
inline

◆ id()

virtual UUID id ( ) const
inlinevirtual

◆ name()

const TranslatedString & name ( ) const
inline

◆ popupOptions()

virtual QMenu * popupOptions ( ) const
inlinevirtual

Member Data Documentation

◆ m_default_enabled

bool m_default_enabled = true
protected

◆ m_description

TranslatedString m_description
protected

◆ m_icon

String m_icon
protected

◆ m_name

TranslatedString m_name
protected

The documentation for this class was generated from the following file: