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

#include <ReportGeneratorDialog.h>

Inheritance diagram for ReportGeneratorDialog:
[legend]
Collaboration diagram for ReportGeneratorDialog:
[legend]

Signals

void requestConfirm ()
 
void requestDelete ()
 
void requestPrintSignal ()
 

Public Member Functions

virtual void enablePrint (bool enable_print)
 
bool event (QEvent *event) override
 
QSize preferredSize () const
 
 ReportGeneratorDialog (QTModelManager *manager, QWidget *parent=nullptr)
 
DynamicPointer< ReportIteratorreports ()
 
void setAvailableReportHandlers (const Buffer< const ReportHandler * > &handlers)
 
void showEvent (QShowEvent *event) override
 
void updateActiveReportHandlers ()
 
virtual ~ReportGeneratorDialog ()
 

Protected Member Functions

void generatePDFs (bool send_data)
 
void setHasObjectsToReport (bool has_objects_to_report)
 

Protected Attributes

Buffer< bool > m_active_report_handlers
 
Buffer< const ReportHandler * > m_available_report_handlers
 
QHBoxLayout * m_button_layout = nullptr
 
QTModelManagerm_manager = nullptr
 
QLabel * m_nothing_to_report_widget = nullptr
 
QSize m_prefered_size
 
Buttonm_print_button = nullptr
 
ProgressWidgetm_progress = nullptr
 
QGridLayout * m_report_grid = nullptr
 
DynamicPointer< ReportIteratorm_report_iterator
 
QWidget * m_report_selection = nullptr
 
ModelSelectionTreem_selection_tree = nullptr
 
Buttonm_share_button = nullptr
 
Buttonm_show_button = nullptr
 
QCustomStackedWidgetm_stacked_widget = nullptr
 

Constructor & Destructor Documentation

◆ ReportGeneratorDialog()

ReportGeneratorDialog ( QTModelManager * manager,
QWidget * parent = nullptr )

◆ ~ReportGeneratorDialog()

virtual ~ReportGeneratorDialog ( )
virtual

Member Function Documentation

◆ enablePrint()

virtual void enablePrint ( bool enable_print)
virtual

◆ event()

bool event ( QEvent * event)
override

◆ generatePDFs()

void generatePDFs ( bool send_data)
protected

◆ preferredSize()

QSize preferredSize ( ) const

◆ reports()

◆ requestConfirm

void requestConfirm ( )
signal

◆ requestDelete

void requestDelete ( )
signal

◆ requestPrintSignal

void requestPrintSignal ( )
signal

◆ setAvailableReportHandlers()

void setAvailableReportHandlers ( const Buffer< const ReportHandler * > & handlers)

◆ setHasObjectsToReport()

void setHasObjectsToReport ( bool has_objects_to_report)
protected

◆ showEvent()

void showEvent ( QShowEvent * event)
override

◆ updateActiveReportHandlers()

void updateActiveReportHandlers ( )

Member Data Documentation

◆ m_active_report_handlers

Buffer<bool> m_active_report_handlers
protected

◆ m_available_report_handlers

Buffer<const ReportHandler*> m_available_report_handlers
protected

◆ m_button_layout

QHBoxLayout* m_button_layout = nullptr
protected

◆ m_manager

QTModelManager* m_manager = nullptr
protected

◆ m_nothing_to_report_widget

QLabel* m_nothing_to_report_widget = nullptr
protected

◆ m_prefered_size

QSize m_prefered_size
protected

◆ m_print_button

Button* m_print_button = nullptr
protected

◆ m_progress

ProgressWidget* m_progress = nullptr
protected

◆ m_report_grid

QGridLayout* m_report_grid = nullptr
protected

◆ m_report_iterator

DynamicPointer<ReportIterator> m_report_iterator
protected

◆ m_report_selection

QWidget* m_report_selection = nullptr
protected

◆ m_selection_tree

ModelSelectionTree* m_selection_tree = nullptr
protected

◆ m_share_button

Button* m_share_button = nullptr
protected

◆ m_show_button

Button* m_show_button = nullptr
protected

◆ m_stacked_widget

QCustomStackedWidget* m_stacked_widget = nullptr
protected

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