0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-10-09 05:57:14 +03:00

ReportSetting has been added

ReportSetting has been added
This commit is contained in:
Arin Alex
2016-06-24 23:06:35 +03:00
parent 7311f84b0e
commit d07c44d6bb
4 changed files with 50 additions and 2 deletions

View File

@@ -84,6 +84,16 @@ namespace Const{
ReportError(const QString& message):std::runtime_error(message.toStdString()){}
};
class ReportSettings{
public:
ReportSettings():m_suppressAbsentFieldsAndVarsWarnings(false){}
void setDefaultValues(){m_suppressAbsentFieldsAndVarsWarnings = false;}
bool suppressAbsentFieldsAndVarsWarnings() const;
void setSuppressAbsentFieldsAndVarsWarnings(bool suppressAbsentFieldsAndVarsWarnings);
private:
bool m_suppressAbsentFieldsAndVarsWarnings;
};
} // namespace LimeReport