17 #ifndef KDREPORTSPREVIEWDIALOG_H 18 #define KDREPORTSPREVIEWDIALOG_H 20 #include "KDReportsGlobal.h" 27 class PreviewDialogPrivate;
52 void setQuickPrinterName(
const QString &printerName );
60 void setDefaultSaveDirectory(
const QString &path );
70 void setDirectoryBrowsingEnabled(
bool allowed );
75 bool isSelected(
int pageNumber )
const;
84 void setPageSizeChangeAllowed(
bool b );
91 void setShowTableSettingsDialog(
bool b );
97 void setWidthForEndlessPrinter( qreal widthMM );
120 enum Result { Printed = 10, SavedSuccessfully, SaveError };
126 QString savedFileName()
const;
130 void pageSizeChanged( QPrinter::PageSize pageSize );
132 void orientationChanged( QPrinter::Orientation orientation );
136 void accept()
override;
138 void reject()
override;
141 Q_PRIVATE_SLOT( d,
void _kd_slotTableBreakingDialog() )
142 Q_PRIVATE_SLOT( d,
void _kd_slotPrintWithDialog() )
143 Q_PRIVATE_SLOT( d,
void _kd_slotQuickPrint() )
144 Q_PRIVATE_SLOT( d,
void _kd_slotSave() )
145 PreviewDialogPrivate*
const d;
Definition: KDReportsReport.h:99
Definition: KDReportsAbstractTableElement.h:30
Definition: KDReportsPreviewDialog.h:33
Result
Definition: KDReportsPreviewDialog.h:120