mirror of
https://github.com/fralx/LimeReport.git
synced 2025-11-25 00:18:06 +03:00
All settings are merged in one place
This commit is contained in:
@@ -84,7 +84,8 @@ public:
|
||||
Translations,
|
||||
TabTypeCount
|
||||
};
|
||||
ReportDesignWidget(ReportEnginePrivateInterface* report, QMainWindow *mainWindow, QWidget *parent = 0);
|
||||
ReportDesignWidget(ReportEnginePrivateInterface* report, QSettings* settings,
|
||||
QMainWindow *mainWindow, QWidget *parent = 0);
|
||||
~ReportDesignWidget();
|
||||
void createStartPage();
|
||||
void clear();
|
||||
@@ -112,7 +113,7 @@ public:
|
||||
bool emitSaveReportAs();
|
||||
bool emitLoadReport();
|
||||
void saveState(QSettings *settings);
|
||||
void loadState(QSettings *settings);
|
||||
void loadState();
|
||||
void applySettings();
|
||||
void applyUseGrid();
|
||||
bool useGrid(){ return m_useGrid;}
|
||||
@@ -227,6 +228,7 @@ private:
|
||||
bool m_useMagnet;
|
||||
bool m_dialogChanged;
|
||||
bool m_useDarkTheme;
|
||||
QSettings* m_settings;
|
||||
};
|
||||
|
||||
} // namespace LimeReport
|
||||
|
||||
Reference in New Issue
Block a user