17 #ifndef KDREPORTSPREVIEWWIDGET_H 18 #define KDREPORTSPREVIEWWIDGET_H 20 #include "KDReportsGlobal.h" 26 class PreviewWidgetPrivate;
54 bool isSelected(
int pageNumber )
const;
63 void setPageSizeChangeAllowed(
bool b );
70 void setShowTableSettingsDialog(
bool b );
76 void setWidthForEndlessPrinter( qreal widthMM );
89 bool printWithDialog();
94 void setShowPageListWidget(
bool show );
104 QSize sizeHint()
const override;
108 void pageSizeChanged( QPrinter::PageSize pageSize );
110 void orientationChanged( QPrinter::Orientation orientation );
112 void tableSettingsClicked();
116 void resizeEvent(QResizeEvent *)
override;
118 bool eventFilter(QObject*, QEvent*)
override;
121 Q_PRIVATE_SLOT( d,
void _kd_slotCurrentPageChanged() )
122 Q_PRIVATE_SLOT( d,
void _kd_slotFirstPage() )
123 Q_PRIVATE_SLOT( d,
void _kd_slotPrevPage() )
124 Q_PRIVATE_SLOT( d,
void _kd_slotNextPage() )
125 Q_PRIVATE_SLOT( d,
void _kd_slotLastPage() )
126 Q_PRIVATE_SLOT( d,
void _kd_slotPaperSizeActivated(
int ) )
127 Q_PRIVATE_SLOT( d,
void _kd_slotPaperOrientationActivated(
int ) )
128 Q_PRIVATE_SLOT( d,
void _kd_slotZoomIn() )
129 Q_PRIVATE_SLOT( d,
void _kd_slotZoomOut() )
130 Q_PRIVATE_SLOT( d,
void _kd_slotZoomChanged() )
131 Q_PRIVATE_SLOT( d,
void _kd_previewNextItems() )
133 friend class PreviewWidgetPrivate;
134 PreviewWidgetPrivate*
const d;
Definition: KDReportsReport.h:99
Definition: KDReportsAbstractTableElement.h:30