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

Provides a way to iterate over a series of widgets, useful for printing dialogs or turning Widgets into reports or PDF files. More...

#include <WidgetIterator.h>

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

Public Member Functions

virtual QWidget * getReport (uint04 report_index) const
 
QSize preferredSize () const
 
uint04 reportCount () const
 
virtual void setCustomReport (uint04 index, QWidget *widget)
 
 WidgetIterator ()
 
 WidgetIterator (const Buffer< QWidget * > &objects_to_report)
 
virtual ~WidgetIterator ()
 

Protected Attributes

QSize m_prefered_size
 
Buffer< QWidget * > m_widgets
 

Detailed Description

Provides a way to iterate over a series of widgets, useful for printing dialogs or turning Widgets into reports or PDF files.


Constructor & Destructor Documentation

◆ WidgetIterator() [1/2]

◆ WidgetIterator() [2/2]

WidgetIterator ( const Buffer< QWidget * > & objects_to_report)

◆ ~WidgetIterator()

virtual ~WidgetIterator ( )
inlinevirtual

Member Function Documentation

◆ getReport()

virtual QWidget * getReport ( uint04 report_index) const
virtual

Reimplemented in ReportIterator.

◆ preferredSize()

QSize preferredSize ( ) const

◆ reportCount()

uint04 reportCount ( ) const

◆ setCustomReport()

virtual void setCustomReport ( uint04 index,
QWidget * widget )
virtual

Member Data Documentation

◆ m_prefered_size

QSize m_prefered_size
protected

◆ m_widgets

Buffer<QWidget*> m_widgets
protected

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