0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-11-25 00:18:06 +03:00

Added the ability to change the background color of the preview page

This commit is contained in:
Arin Alexander
2019-02-18 15:16:55 +03:00
parent 4e91701387
commit b8900b1e96
10 changed files with 60 additions and 9 deletions

View File

@@ -15,7 +15,7 @@ public:
PreviewReportWidgetPrivate(PreviewReportWidget* previewReportWidget):
m_previewPage(NULL), m_report(NULL), m_zoomer(NULL),
m_currentPage(1), m_changingPage(false), m_priorScrolValue(0), m_scalePercent(50),
q_ptr(previewReportWidget) {}
q_ptr(previewReportWidget), m_previePageColor(Qt::white) {}
bool pageIsVisible();
QRectF calcPageShift();
void setPages( ReportPages pages);
@@ -31,7 +31,7 @@ public:
int m_priorScrolValue;
int m_scalePercent;
PreviewReportWidget* q_ptr;
QColor m_previePageColor;
};
}