1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-08-14 23:43:43 -04:00

Main window: implement the logging options dialog. Use it only for log level

This commit is contained in:
f4exb
2017-11-11 19:26:23 +01:00
parent d110a3749d
commit 82083c353e
11 changed files with 419 additions and 1 deletions
+11
View File
@@ -28,6 +28,13 @@ public:
float getLatitude() const { return m_latitude; }
float getLongitude() const { return m_longitude; }
void setMinLogLevel(const QtMsgType& minLogLevel) { m_minLogLevel = minLogLevel; }
void setUseLogFile(bool useLogFile) { m_useLogFile = useLogFile; }
void setLogFileName(const QString& value) { m_logFileName = value; }
QtMsgType getMinLogLevel() const { return m_minLogLevel; }
bool getUseLogFile() const { return m_useLogFile; }
const QString& getLogFileName() const { return m_logFileName; }
protected:
QString m_sourceType;
QString m_sourceDevice;
@@ -38,6 +45,10 @@ protected:
float m_latitude;
float m_longitude;
QtMsgType m_minLogLevel;
bool m_useLogFile;
QString m_logFileName;
};
#endif // INCLUDE_PREFERENCES_H