LimeReport/limereport/lrpreviewreportwidget_p.h

37 lines
910 B
C
Raw Normal View History

2016-03-30 23:04:59 +03:00
#ifndef LRPREVIEWREPORTWIDGET_P_H
#define LRPREVIEWREPORTWIDGET_P_H
#include "lrpagedesignintf.h"
#include "lrreportrender.h"
#include "lrgraphicsviewzoom.h"
namespace LimeReport{
class PreviewReportWidget;
class PreviewReportWidgetPrivate
{
public:
2016-04-02 03:38:23 +03:00
PreviewReportWidgetPrivate(PreviewReportWidget* previewReportWidget):
m_currentPage(1), m_changingPage(false), m_priorScrolValue(0), m_scalePercent(50),
q_ptr(previewReportWidget) {}
2016-03-30 23:04:59 +03:00
bool pageIsVisible();
QRectF calcPageShift();
void setPages( ReportPages pages);
2016-04-02 03:38:23 +03:00
PageItemDesignIntf::Ptr currentPage();
2016-03-30 23:04:59 +03:00
public:
PageDesignIntf* m_previewPage;
ReportPages m_reportPages;
ReportEnginePrivate* m_report;
GraphicsViewZoomer* m_zoomer;
int m_currentPage;
bool m_changingPage;
int m_priorScrolValue;
2016-04-02 03:38:23 +03:00
int m_scalePercent;
2016-03-30 23:04:59 +03:00
PreviewReportWidget* q_ptr;
};
}
#endif // LRPREVIEWREPORTWIDGET_P_H