diff options
| author | Eran Mizrahi <erasmux@gmail.com> | 2017-12-08 11:00:57 +0200 |
|---|---|---|
| committer | Eran Mizrahi <erasmux@gmail.com> | 2017-12-10 02:53:08 +0200 |
| commit | 54fd26fee15c320c363a4be355c80e4b7ce38164 (patch) | |
| tree | caab9d0f9e2998f753884ca4478f27575c270fd9 /src/settings.h | |
| parent | 0aaece55d8b5bb392523db4ee96029d0567294e8 (diff) | |
new diagnostics settings dialog tab
Diffstat (limited to 'src/settings.h')
| -rw-r--r-- | src/settings.h | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/src/settings.h b/src/settings.h index d316c82d..9ee29ba3 100644 --- a/src/settings.h +++ b/src/settings.h @@ -38,6 +38,7 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>. class QCheckBox; class QComboBox; class QLineEdit; +class QSpinBox; class QListWidget; class QWidget; @@ -205,6 +206,16 @@ public: int logLevel() const; /** + * @return the configured crash dumps type + */ + int crashDumpsType() const; + + /** + * @return the configured crash dumps max + */ + int crashDumpsMax() const; + + /** * @brief set the nexus login information * * @param username username @@ -371,7 +382,6 @@ private: private: QComboBox *m_languageBox; QComboBox *m_styleBox; - QComboBox *m_logLevelBox; QCheckBox *m_compactBox; QCheckBox *m_showMetaBox; QCheckBox *m_usePrereleaseBox; @@ -393,6 +403,19 @@ private: QLineEdit *m_overwriteDirEdit; }; + class DiagnosticsTab : public SettingsTab + { + public: + DiagnosticsTab(Settings *parent, SettingsDialog &dialog); + + void update(); + + private: + QComboBox *m_logLevelBox; + QComboBox *m_dumpsTypeBox; + QSpinBox *m_dumpsMaxEdit; + }; + /** Display/store the configuration in the 'nexus' tab of the settings dialogue */ class NexusTab : public SettingsTab { |
