diff options
| author | Jeremy Rimpo <jeremy.rimpo@servermonkey.com> | 2017-12-09 23:44:21 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-12-09 23:44:21 -0600 |
| commit | b2d7181ca77980622f27a5e2a27c636d25a0a598 (patch) | |
| tree | c3e2280cf8e2caa025a0856d4f8a7165149e76ac /src/settings.h | |
| parent | 0aaece55d8b5bb392523db4ee96029d0567294e8 (diff) | |
| parent | 689248619ada12eb9e50ea40963a04c946cb3e13 (diff) | |
Merge pull request #139 from erasmux/better_diagnostics_and_shortcuts_fix
Better diagnostics and shortcuts fix
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 { |
