mirror of
https://github.com/fralx/LimeReport.git
synced 2025-11-25 00:18:06 +03:00
Define code style and format all source file using clang-format-14
except those placed in 3rdparty directories.
This commit is contained in:
@@ -5,18 +5,17 @@
|
||||
#include <QLocale>
|
||||
#include <QSettings>
|
||||
|
||||
namespace LimeReport{
|
||||
namespace LimeReport {
|
||||
|
||||
namespace Ui {
|
||||
class SettingDialog;
|
||||
class SettingDialog;
|
||||
}
|
||||
|
||||
class SettingDialog : public QDialog
|
||||
{
|
||||
class SettingDialog: public QDialog {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit SettingDialog(QWidget *parent = 0);
|
||||
explicit SettingDialog(QWidget* parent = 0);
|
||||
~SettingDialog();
|
||||
int verticalGridStep();
|
||||
int horizontalGridStep();
|
||||
@@ -36,16 +35,19 @@ public:
|
||||
void setScriptFont(const QFont& value);
|
||||
void setScritpTabIndention(int size);
|
||||
void setTheme(const QString& theme);
|
||||
void setDesignerLanguages(QList<QLocale::Language> languages, QLocale::Language currentLanguage);
|
||||
void setDesignerLanguages(QList<QLocale::Language> languages,
|
||||
QLocale::Language currentLanguage);
|
||||
void setDesignerThemes(QList<QString> themes, const QString& currentTheme);
|
||||
void setDesignerUnites(QList<QString> unitTypes, const QString currentUnitType);
|
||||
void setSettings(QSettings* settings);
|
||||
private slots:
|
||||
void on_bbOkCancel_accepted();
|
||||
|
||||
private:
|
||||
bool isFileExists(const QString& path);
|
||||
|
||||
private:
|
||||
Ui::SettingDialog *ui;
|
||||
Ui::SettingDialog* ui;
|
||||
QList<QLocale::Language> m_aviableLanguages;
|
||||
QLocale::Language m_currentLanguage;
|
||||
QSettings* m_settings;
|
||||
|
||||
Reference in New Issue
Block a user