diff --git a/chatterino.pro b/chatterino.pro
index bd621b86..0db81619 100644
--- a/chatterino.pro
+++ b/chatterino.pro
@@ -250,7 +250,8 @@ SOURCES += \
src/util/FormatTime.cpp \
src/util/FunctionEventFilter.cpp \
src/widgets/helper/EffectLabel.cpp \
- src/widgets/helper/Button.cpp
+ src/widgets/helper/Button.cpp \
+ src/messages/MessageContainer.cpp
HEADERS += \
src/Application.hpp \
@@ -449,7 +450,8 @@ HEADERS += \
src/util/FunctionEventFilter.hpp \
src/widgets/helper/EffectLabel.hpp \
src/util/LayoutHelper.hpp \
- src/widgets/helper/Button.hpp
+ src/widgets/helper/Button.hpp \
+ src/messages/MessageContainer.hpp
RESOURCES += \
resources/resources.qrc \
diff --git a/resources/settings/emote.svg b/resources/settings/emote.svg
new file mode 100644
index 00000000..10e25c9f
--- /dev/null
+++ b/resources/settings/emote.svg
@@ -0,0 +1,12 @@
+
+
+
diff --git a/src/messages/MessageContainer.cpp b/src/messages/MessageContainer.cpp
new file mode 100644
index 00000000..2d47cb90
--- /dev/null
+++ b/src/messages/MessageContainer.cpp
@@ -0,0 +1,9 @@
+#include "MessageContainer.hpp"
+
+namespace chatterino {
+
+MessageContainer::MessageContainer()
+{
+}
+
+} // namespace chatterino
diff --git a/src/messages/MessageContainer.hpp b/src/messages/MessageContainer.hpp
new file mode 100644
index 00000000..781135e6
--- /dev/null
+++ b/src/messages/MessageContainer.hpp
@@ -0,0 +1,13 @@
+#pragma once
+
+#include
+
+namespace chatterino {
+
+class MessageContainer
+{
+public:
+ MessageContainer();
+};
+
+} // namespace chatterino
diff --git a/src/widgets/BaseWindow.cpp b/src/widgets/BaseWindow.cpp
index e435bf6e..db9bd077 100644
--- a/src/widgets/BaseWindow.cpp
+++ b/src/widgets/BaseWindow.cpp
@@ -104,8 +104,6 @@ void BaseWindow::init()
QSizePolicy policy(QSizePolicy::Ignored,
QSizePolicy::Preferred);
policy.setHorizontalStretch(1);
- // title->setBaseSize(0, 0);
- // title->setScaledContents(true);
title->setSizePolicy(policy);
buttonLayout->addWidget(title);
this->ui_.titleLabel = title;
diff --git a/src/widgets/settingspages/AboutPage.cpp b/src/widgets/settingspages/AboutPage.cpp
index 3826c1aa..710e5e91 100644
--- a/src/widgets/settingspages/AboutPage.cpp
+++ b/src/widgets/settingspages/AboutPage.cpp
@@ -17,7 +17,7 @@
namespace chatterino {
AboutPage::AboutPage()
- : SettingsPage("About", ":/images/about.svg")
+ : SettingsPage("About", ":/settings/about.svg")
{
LayoutCreator layoutCreator(this);
@@ -179,6 +179,18 @@ AboutPage::AboutPage()
}
}
+ auto buildInfo = QStringList();
+ buildInfo += "Qt " QT_VERSION_STR;
+#ifdef USEWINSDK
+ buildInfo += "Windows SDK";
+#endif
+#ifdef _MSC_FULL_VER
+ buildInfo += "MSVC " + QString::number(_MSC_FULL_VER, 10);
+#endif
+
+ auto buildText = QString("Built with " + buildInfo.join(", "));
+ layout.emplace(buildText);
+
layout->addStretch(1);
}
diff --git a/src/widgets/settingspages/AccountsPage.cpp b/src/widgets/settingspages/AccountsPage.cpp
index 1aa3feaa..88c37a12 100644
--- a/src/widgets/settingspages/AccountsPage.cpp
+++ b/src/widgets/settingspages/AccountsPage.cpp
@@ -17,7 +17,7 @@
namespace chatterino {
AccountsPage::AccountsPage()
- : SettingsPage("Accounts", ":/images/accounts.svg")
+ : SettingsPage("Accounts", ":/settings/accounts.svg")
{
auto *app = getApp();
diff --git a/src/widgets/settingspages/CommandPage.cpp b/src/widgets/settingspages/CommandPage.cpp
index 23624962..bb3a60c5 100644
--- a/src/widgets/settingspages/CommandPage.cpp
+++ b/src/widgets/settingspages/CommandPage.cpp
@@ -27,7 +27,7 @@
namespace chatterino {
CommandPage::CommandPage()
- : SettingsPage("Commands", ":/images/commands.svg")
+ : SettingsPage("Commands", ":/settings/commands.svg")
{
auto app = getApp();
diff --git a/src/widgets/settingspages/EmotesPage.cpp b/src/widgets/settingspages/EmotesPage.cpp
index 63a200c3..c7250490 100644
--- a/src/widgets/settingspages/EmotesPage.cpp
+++ b/src/widgets/settingspages/EmotesPage.cpp
@@ -5,7 +5,7 @@
namespace chatterino {
EmotesPage::EmotesPage()
- : SettingsPage("Emotes", ":/images/emote.svg")
+ : SettingsPage("Emotes", ":/settings/emote.svg")
{
// SettingManager &settings = SettingManager::getInstance();
// LayoutCreator layoutCreator(this);
diff --git a/src/widgets/settingspages/FeelPage.cpp b/src/widgets/settingspages/FeelPage.cpp
index 3567fe44..d20c859c 100644
--- a/src/widgets/settingspages/FeelPage.cpp
+++ b/src/widgets/settingspages/FeelPage.cpp
@@ -18,7 +18,7 @@
namespace chatterino {
FeelPage::FeelPage()
- : SettingsPage("Feel", ":/images/behave.svg")
+ : SettingsPage("Feel", ":/settings/behave.svg")
{
auto app = getApp();
LayoutCreator layoutCreator(this);
diff --git a/src/widgets/settingspages/HighlightingPage.cpp b/src/widgets/settingspages/HighlightingPage.cpp
index daca460f..455c0d37 100644
--- a/src/widgets/settingspages/HighlightingPage.cpp
+++ b/src/widgets/settingspages/HighlightingPage.cpp
@@ -30,7 +30,7 @@
namespace chatterino {
HighlightingPage::HighlightingPage()
- : SettingsPage("Highlights", ":/images/notifications.svg")
+ : SettingsPage("Highlights", ":/settings/notifications.svg")
{
auto app = getApp();
LayoutCreator layoutCreator(this);
diff --git a/src/widgets/settingspages/LookPage.cpp b/src/widgets/settingspages/LookPage.cpp
index 6f775ee3..6f7032e4 100644
--- a/src/widgets/settingspages/LookPage.cpp
+++ b/src/widgets/settingspages/LookPage.cpp
@@ -37,7 +37,7 @@
namespace chatterino {
LookPage::LookPage()
- : SettingsPage("Look", ":/images/theme.svg")
+ : SettingsPage("Look", ":/settings/theme.svg")
{
this->initializeUi();
}