2018-01-12 23:09:05 +01:00
|
|
|
#include "emotespage.hpp"
|
|
|
|
|
2018-01-16 00:26:04 +01:00
|
|
|
#include "util/layoutcreator.hpp"
|
2018-01-12 23:09:05 +01:00
|
|
|
|
|
|
|
namespace chatterino {
|
|
|
|
namespace widgets {
|
|
|
|
namespace settingspages {
|
2018-02-03 16:17:59 +01:00
|
|
|
|
2018-01-12 23:09:05 +01:00
|
|
|
EmotesPage::EmotesPage()
|
|
|
|
: SettingsPage("Emotes", ":/images/emote.svg")
|
|
|
|
{
|
2018-04-25 20:35:32 +02:00
|
|
|
// singletons::SettingManager &settings = singletons::SettingManager::getInstance();
|
|
|
|
// util::LayoutCreator<EmotesPage> layoutCreator(this);
|
|
|
|
// auto layout = layoutCreator.emplace<QVBoxLayout>().withoutMargin();
|
2018-01-12 23:09:05 +01:00
|
|
|
|
2018-04-25 20:35:32 +02:00
|
|
|
// // clang-format off
|
|
|
|
// layout.append(this->createCheckBox("Enable Twitch emotes", settings.enableTwitchEmotes));
|
|
|
|
// layout.append(this->createCheckBox("Enable BetterTTV emotes", settings.enableBttvEmotes));
|
|
|
|
// layout.append(this->createCheckBox("Enable FrankerFaceZ emotes",
|
|
|
|
// settings.enableFfzEmotes)); layout.append(this->createCheckBox("Enable emojis",
|
|
|
|
// settings.enableEmojis)); layout.append(this->createCheckBox("Enable gif animations",
|
|
|
|
// settings.enableGifAnimations));
|
|
|
|
// // clang-format on
|
2018-01-12 23:09:05 +01:00
|
|
|
|
2018-04-25 20:35:32 +02:00
|
|
|
// layout->addStretch(1);
|
2018-01-12 23:09:05 +01:00
|
|
|
}
|
2018-02-03 16:17:59 +01:00
|
|
|
|
2018-01-12 23:09:05 +01:00
|
|
|
} // namespace settingspages
|
|
|
|
} // namespace widgets
|
|
|
|
} // namespace chatterino
|