23 #ifndef KDREPORTSPREVIEWDIALOG_H 24 #define KDREPORTSPREVIEWDIALOG_H 26 #include "KDReportsGlobal.h" 33 class PreviewDialogPrivate;
58 void setQuickPrinterName(
const QString &printerName );
66 void setDefaultSaveDirectory(
const QString &path );
76 void setDirectoryBrowsingEnabled(
bool allowed );
81 bool isSelected(
int pageNumber )
const;
90 void setPageSizeChangeAllowed(
bool b );
97 void setShowTableSettingsDialog(
bool b );
103 void setWidthForEndlessPrinter( qreal widthMM );
126 enum Result { Printed = 10, SavedSuccessfully, SaveError };
132 QString savedFileName()
const;
136 void pageSizeChanged( QPrinter::PageSize pageSize );
138 void orientationChanged( QPrinter::Orientation orientation );
147 Q_PRIVATE_SLOT( d,
void _kd_slotTableBreakingDialog() )
148 Q_PRIVATE_SLOT( d,
void _kd_slotPrintWithDialog() )
149 Q_PRIVATE_SLOT( d,
void _kd_slotQuickPrint() )
150 Q_PRIVATE_SLOT( d,
void _kd_slotSave() )
151 PreviewDialogPrivate*
const d;
Definition: KDReportsReport.h:109
Definition: KDReportsAbstractTableElement.h:36
Definition: KDReportsPreviewDialog.h:39
Result
Definition: KDReportsPreviewDialog.h:126