0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-24 00:33:02 +03:00
LimeReport/limereport/lrsettingdialog.h

39 lines
961 B
C
Raw Normal View History

#ifndef LRSETTINGDIALOG_H
#define LRSETTINGDIALOG_H
#include <QDialog>
2018-04-10 16:28:48 +03:00
#include <QLocale>
namespace LimeReport{
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();
bool suppressAbsentFieldsAndVarsWarnings();
2018-04-10 16:28:48 +03:00
QLocale::Language designerLanguage();
void setSuppressAbsentFieldsAndVarsWarnings(bool value);
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);
2018-04-10 16:28:48 +03:00
void setDesignerLanguages(QList<QLocale::Language>* languages, QLocale::Language currentLanguage);
private:
Ui::SettingDialog *ui;
2018-04-10 16:28:48 +03:00
QList<QLocale::Language>* m_designerLanguages;
};
} // namespace LimeReport
#endif // LRSETTINGDIALOG_H