0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-11-25 08:28: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

@@ -73,7 +73,8 @@ public:
QSettings* settings();
ScaleType previewScaleType() const;
void setPreviewScaleType(const ScaleType &previewScaleType, int percent = 0);
QColor previewPageBackgroundColor();
void setPreviewPageBackgroundColor(QColor color);
protected:
void writeSetting();
void restoreSetting();
@@ -124,7 +125,6 @@ private:
ScaleType m_previewScaleType;
int m_previewScalePercent;
bool m_scalePercentChanging;
};
} //namespace LimeReport
#endif // LRPREVIEWREPORTWINDOW_H