37 #pragma warning(push, 0) // no warnings from includes 38 #include <QSharedPointer> 42 #pragma warning (disable: 4251) // inlined Qt functions in dll interface 45 #ifdef DLL_CORE_EXPORT 46 #define DllCoreExport Q_DECL_EXPORT 48 #define DllCoreExport Q_DECL_IMPORT 71 virtual QString toString()
const override;
73 QString workingDir()
const;
74 QString xmlSubDir()
const;
76 void setNumScales(
int ns);
77 int numScales()
const;
80 QString mWorkingDir =
"C:/read/configs";
81 QString mXmlSubDir =
"page";
87 void load(
const QSettings& settings)
override;
88 void save(QSettings& settings)
const override;
101 bool isPortable()
const;
102 void setSettingsFile(
const QString& filePath);
103 QString settingsFilePath()
const;
109 QString settingsPath()
const;
112 QString mSettingsFileName =
"rdf-settings.ini";
113 QString mSettingsPath =
"";
Definition: Settings.h:66
Definition: BaseModule.h:63
Definition: Settings.h:92
#define DllCoreExport
Definition: Settings.h:48
DllCoreExport bool save(const QImage &img, const QString &savePath, int compression=-1)
Saves the specified QImage img.
Definition: Image.cpp:180
DllCoreExport QImage load(const QString &path, bool *ok=0)
Definition: Image.cpp:152
Definition: Algorithms.cpp:45
Convenience class that instantiates QSettings with the correct file.
Definition: Settings.h:60