mirror-chatterino2/src/widgets/settingspages/LookPage.hpp

42 lines
1 KiB
C++
Raw Normal View History

2018-01-12 23:09:05 +01:00
#pragma once
#include "common/Channel.hpp"
2018-07-05 17:38:24 +02:00
#include "util/LayoutCreator.hpp"
2018-06-26 14:09:39 +02:00
#include "widgets/settingspages/SettingsPage.hpp"
2018-01-12 23:09:05 +01:00
2018-04-25 20:35:32 +02:00
#include <QScrollArea>
2018-06-11 15:04:54 +02:00
#include <pajlada/signals/signalholder.hpp>
2018-04-25 20:35:32 +02:00
class QVBoxLayout;
2018-01-12 23:09:05 +01:00
namespace chatterino {
class LookPage : public SettingsPage
2018-01-12 23:09:05 +01:00
{
public:
LookPage();
2018-01-12 23:09:05 +01:00
2018-07-05 18:17:12 +02:00
private:
void initializeUi();
2018-07-05 17:38:24 +02:00
void addInterfaceTab(LayoutCreator<QVBoxLayout> layout);
void addMessageTab(LayoutCreator<QVBoxLayout> layout);
void addEmoteTab(LayoutCreator<QVBoxLayout> layout);
void addSplitHeaderTab(LayoutCreator<QVBoxLayout> layout);
void addBadgesTab(LayoutCreator<QVBoxLayout> layout);
2018-07-05 17:38:24 +02:00
2018-08-06 21:17:03 +02:00
void addLastReadMessageIndicatorPatternSelector(
LayoutCreator<QVBoxLayout> layout);
2018-07-05 18:17:12 +02:00
2018-01-12 23:09:05 +01:00
QLayout *createThemeColorChanger();
QLayout *createFontChanger();
2018-06-11 15:04:54 +02:00
QLayout *createUiScaleSlider();
QLayout *createBoldScaleSlider();
2018-06-11 15:04:54 +02:00
ChannelPtr createPreviewChannel();
2018-06-11 15:04:54 +02:00
std::vector<pajlada::Signals::ScopedConnection> connections_;
2018-01-12 23:09:05 +01:00
};
} // namespace chatterino