A dialog that shows a PrintPreview of a given widgets, reports, or images. User can modify print settings and print directly from this dialog.
More...
#include <PrintPreview.h>
|
| void | clearImages () |
| |
| Vector< 2, fltp08 > | customPercent () const |
| |
| bool | event (QEvent *event) override |
| |
| bool | isCustomPercent () const |
| |
| bool | isZoomMode () const |
| |
| Vector< 2, uint04 > | pageResolution () const |
| |
| QPageSetupDialog * | pageSetupDialog () |
| |
| QPalette | printPalette () const |
| |
| | PrintPreview (QWidget *parent=nullptr) |
| |
| QPrintDialog * | printSetupDialog () |
| |
| void | printWidget (QWidget *widget, const Buffer< QWidget * > &custom_print_options=Buffer< QWidget * >()) |
| |
| void | printWidgets (const Buffer< QWidget * > &widgets, const Buffer< QWidget * > &custom_print_options=Buffer< QWidget * >()) |
| |
| void | printWidgets (const DynamicPointer< WidgetIterator > &reports, const Buffer< QWidget * > &custom_print_options=Buffer< QWidget * >()) |
| |
| void | resetPreferredSize () |
| |
| Vector< 2, uint04 > | scaledPageResolution () const |
| |
| void | setCustomPrintSettingsWidgets (const Buffer< QWidget * > &widgets) |
| |
| void | setImage (uint04 index, const QImage &image, const Buffer< QWidget * > &custom_print_options=Buffer< QWidget * >()) |
| |
| void | setImages (const Buffer< QImage, uint04, ObjectAllocator< false > > &images, const Buffer< QWidget * > &custom_print_options=Buffer< QWidget * >()) |
| |
| void | setPreferredSize (QSize prefered_size) |
| |
| void | setPrintFont (const QFont &font) |
| |
| virtual QSize | sizeHint () const override |
| |
| | ~PrintPreview () |
| |
A dialog that shows a PrintPreview of a given widgets, reports, or images. User can modify print settings and print directly from this dialog.
◆ PrintPreview()
◆ ~PrintPreview()
◆ choosePrinterAccepted
| void choosePrinterAccepted |
( |
QPrinter * | printer | ) |
|
|
protectedslot |
◆ clearImages()
◆ customPercent()
◆ event()
| bool event |
( |
QEvent * | event | ) |
|
|
override |
◆ finishedSignal
◆ fitComboChanged
◆ fontChanged
◆ isCustomPercent()
| bool isCustomPercent |
( |
| ) |
const |
◆ isZoomMode()
| bool isZoomMode |
( |
| ) |
const |
◆ pageChanged
◆ pageResolution()
◆ pageResolutionChangedSignal
| void pageResolutionChangedSignal |
( |
Vector< 2, uint04 > | pixel_size | ) |
|
|
signal |
◆ pageSetupDialog()
| QPageSetupDialog * pageSetupDialog |
( |
| ) |
|
◆ Print
| void Print |
( |
QPrinter * | printer | ) |
|
|
protectedslot |
◆ printedSignal
◆ printImages()
| void printImages |
( |
QPrinter * | printer | ) |
|
|
protected |
◆ printPalette()
| QPalette printPalette |
( |
| ) |
const |
◆ PrintPreviewWidget() [1/2]
◆ PrintPreviewWidget() [2/2]
◆ printSetupDialog()
| QPrintDialog * printSetupDialog |
( |
| ) |
|
◆ printWidget() [1/2]
| void printWidget |
( |
QWidget * | widget, |
|
|
const Buffer< QWidget * > & | custom_print_options = Buffer< QWidget * >() ) |
◆ printWidget() [2/2]
| void printWidget |
( |
QWidget * | widget, |
|
|
QPainter & | painter, |
|
|
QPoint | offset ) |
|
protected |
◆ printWidgets() [1/3]
| void printWidgets |
( |
const Buffer< QWidget * > & | widgets, |
|
|
const Buffer< QWidget * > & | custom_print_options = Buffer< QWidget * >() ) |
◆ printWidgets() [2/3]
◆ printWidgets() [3/3]
| void printWidgets |
( |
QPrinter * | printer | ) |
|
|
protected |
◆ resetPreferredSize()
| void resetPreferredSize |
( |
| ) |
|
◆ scaledPageResolution()
◆ setCustomPrintSettingsWidgets()
| void setCustomPrintSettingsWidgets |
( |
const Buffer< QWidget * > & | widgets | ) |
|
◆ setImage()
| void setImage |
( |
uint04 | index, |
|
|
const QImage & | image, |
|
|
const Buffer< QWidget * > & | custom_print_options = Buffer< QWidget * >() ) |
◆ setImages()
◆ setPreferredSize()
| void setPreferredSize |
( |
QSize | prefered_size | ) |
|
◆ setPrintFont()
| void setPrintFont |
( |
const QFont & | font | ) |
|
◆ settingsChanged
◆ setToDefaultPrinter()
| void setToDefaultPrinter |
( |
| ) |
|
|
protected |
◆ sizeHint()
| virtual QSize sizeHint |
( |
| ) |
const |
|
overridevirtual |
◆ SystemHasPrinters()
| static bool SystemHasPrinters |
( |
| ) |
|
|
static |
◆ zoomModeChangedSignal
| void zoomModeChangedSignal |
( |
| ) |
|
|
signal |
◆ m_custom_print_settings_widgets
| Buffer<QWidget*> m_custom_print_settings_widgets |
|
protected |
◆ m_images
◆ m_is_setting_font
◆ m_is_virtual_printer
| bool m_is_virtual_printer = false |
|
protected |
◆ m_last_is_zoom
◆ m_last_resolution
◆ m_page_settings_button
| Button* m_page_settings_button |
|
protected |
◆ m_page_setup_dialog
| QPageSetupDialog* m_page_setup_dialog |
|
protected |
◆ m_print_button
◆ m_print_font
◆ m_print_preview
| QPrintPreviewWidget* m_print_preview |
|
protected |
◆ m_print_settings_button
| Button* m_print_settings_button |
|
protected |
◆ m_print_setup_dialog
| QPrintDialog* m_print_setup_dialog |
|
protected |
◆ m_printer
◆ m_widgets
◆ ui
The documentation for this class was generated from the following file: