Provides a way to iterate over a series of widgets, useful for printing dialogs or turning Widgets into reports or PDF files.
More...
|
|
QSize | m_preferred_size |
| | The preferred size for report rendering.
|
|
Buffer< QWidget * > | m_widgets |
| | The collection of widgets to iterate over.
|
Provides a way to iterate over a series of widgets, useful for printing dialogs or turning Widgets into reports or PDF files.
Definition at line 14 of file WidgetIterator.h.
◆ WidgetIterator()
| WidgetIterator::WidgetIterator |
( |
const Buffer< QWidget * > & | objects_to_report | ) |
|
◆ getReport()
| virtual QWidget * WidgetIterator::getReport |
( |
uint04 | report_index | ) |
const |
|
virtual |
Returns the widget at the given report index.
- Parameters
-
| [in] | report_index | The zero-based index of the report widget. |
- Returns
- The QWidget at the specified index.
Reimplemented in ReportIterator.
◆ preferredSize()
| QSize WidgetIterator::preferredSize |
( |
| ) |
const |
Returns the preferred size for rendering each report page.
- Returns
- The preferred QSize.
◆ reportCount()
| uint04 WidgetIterator::reportCount |
( |
| ) |
const |
Returns the total number of report widgets.
- Returns
- The widget count.
◆ setCustomReport()
| virtual void WidgetIterator::setCustomReport |
( |
uint04 | index, |
|
|
QWidget * | widget ) |
|
virtual |
Replaces the widget at the given index with a custom widget.
- Parameters
-
| [in] | index | The zero-based index to replace. |
| [in] | widget | The replacement widget. |
The documentation for this class was generated from the following file: