mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
29 lines
784 B
C++
29 lines
784 B
C++
|
#include "specialchannelspage.hpp"
|
||
|
|
||
|
#include "singletons/settingsmanager.hpp"
|
||
|
#include "util/layoutcreator.hpp"
|
||
|
|
||
|
#include <QGroupBox>
|
||
|
#include <QLabel>
|
||
|
#include <QVBoxLayout>
|
||
|
|
||
|
namespace chatterino {
|
||
|
namespace widgets {
|
||
|
namespace settingspages {
|
||
|
SpecialChannelsPage::SpecialChannelsPage()
|
||
|
: SettingsPage("Special channels", "")
|
||
|
{
|
||
|
util::LayoutCreator<SpecialChannelsPage> layoutCreator(this);
|
||
|
auto layout = layoutCreator.setLayoutType<QVBoxLayout>();
|
||
|
|
||
|
auto mentions = layout.emplace<QGroupBox>("Mentions channel").setLayoutType<QVBoxLayout>();
|
||
|
{
|
||
|
mentions.emplace<QLabel>("Join /mentions to view your mentions.");
|
||
|
}
|
||
|
|
||
|
layout->addStretch(1);
|
||
|
}
|
||
|
} // namespace settingspages
|
||
|
} // namespace widgets
|
||
|
} // namespace chatterino
|