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

#include <ReportGeneratorDialog.h>

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

Signals

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

Public Member Functions

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

Protected Member Functions

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

Protected Attributes

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

Constructor & Destructor Documentation

◆ ReportGeneratorDialog()

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

◆ ~ReportGeneratorDialog()

~ReportGeneratorDialog ( )
virtual

Member Function Documentation

◆ enablePrint()

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 files: