2016-02-18 21:11:59 +03:00
|
|
|
#ifndef LRSETTINGDIALOG_H
|
|
|
|
#define LRSETTINGDIALOG_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
2016-03-04 04:53:34 +03:00
|
|
|
namespace LimeReport{
|
|
|
|
|
2016-02-18 21:11:59 +03:00
|
|
|
namespace Ui {
|
|
|
|
class SettingDialog;
|
|
|
|
}
|
|
|
|
|
|
|
|
class SettingDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit SettingDialog(QWidget *parent = 0);
|
|
|
|
~SettingDialog();
|
|
|
|
int verticalGridStep();
|
|
|
|
int horizontalGridStep();
|
|
|
|
QFont defaultFont();
|
2017-12-11 16:48:00 +03:00
|
|
|
bool userDarkTheme();
|
2016-06-24 23:10:47 +03:00
|
|
|
bool suppressAbsentFieldsAndVarsWarnings();
|
|
|
|
void setSuppressAbsentFieldsAndVarsWarnings(bool value);
|
2016-02-18 21:11:59 +03:00
|
|
|
void setHorizontalGridStep(int value);
|
|
|
|
void setVerticalGridStep(int value);
|
|
|
|
void setDefaultFont(const QFont& value);
|
2017-12-11 16:48:00 +03:00
|
|
|
void setUseDarkTheme(bool value);
|
2016-02-18 21:11:59 +03:00
|
|
|
private:
|
|
|
|
Ui::SettingDialog *ui;
|
|
|
|
};
|
2016-03-03 03:08:36 +03:00
|
|
|
} // namespace LimeReport
|
2016-02-18 21:11:59 +03:00
|
|
|
|
|
|
|
#endif // LRSETTINGDIALOG_H
|