summaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-07-17 08:56:16 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2019-07-22 07:33:37 -0400
commitbca6283311cf1dea4c96f8ee5bf192bdb1640cb3 (patch)
tree7a6b0445974a974bf4b03d08d4ac9371de0ea663 /src/mainwindow.h
parentd1b4dec8ad1635738ada3dfbde5907e7f0df3448 (diff)
use log::Levels instead of ints
create log level combobox in code, set selected index based on value instead added log level to context menu in log list
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index d7dbfd90..74993667 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -30,6 +30,9 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>.
#include "modlistsortproxy.h"
#include "savegameinfo.h"
#include "tutorialcontrol.h"
+#include "plugincontainer.h" //class PluginContainer;
+#include "iplugingame.h" //namespace MOBase { class IPluginGame; }
+#include <log.h>
//Note the commented headers here can be replaced with forward references,
//when I get round to cleaning up main.cpp
@@ -38,10 +41,10 @@ class CategoryFactory;
class LockedDialogBase;
class OrganizerCore;
class StatusBar;
-#include "plugincontainer.h" //class PluginContainer;
+
class PluginListSortProxy;
namespace BSA { class Archive; }
-#include "iplugingame.h" //namespace MOBase { class IPluginGame; }
+
namespace MOBase { class IPluginModPage; }
namespace MOBase { class IPluginTool; }
namespace MOBase { class ISaveGame; }
@@ -633,10 +636,13 @@ private slots:
void search_activated();
void searchClear_activated();
+ void setupLogMenu();
void resetActionIcons();
void updateModCount();
void updatePluginCount();
+ void setLogLevel(MOBase::log::Levels level);
+
private slots: // ui slots
// actions
void on_actionAdd_Profile_triggered();
@@ -690,7 +696,7 @@ private slots: // ui slots
void on_restoreButton_clicked();
void on_restoreModsButton_clicked();
void on_saveModsButton_clicked();
- void on_actionCopy_Log_to_Clipboard_triggered();
+ void on_actionLogCopy_triggered();
void on_categoriesAndBtn_toggled(bool checked);
void on_categoriesOrBtn_toggled(bool checked);
void on_managedArchiveLabel_linkHovered(const QString &link);