2018-01-12 23:09:05 +01:00
|
|
|
#pragma once
|
|
|
|
|
2018-07-03 16:55:02 +02:00
|
|
|
#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
|
|
|
|
2018-07-03 16:55:02 +02:00
|
|
|
class QVBoxLayout;
|
|
|
|
|
2018-01-12 23:09:05 +01:00
|
|
|
namespace chatterino {
|
|
|
|
|
2018-07-03 17:40:15 +02:00
|
|
|
class LookPage : public SettingsPage
|
2018-01-12 23:09:05 +01:00
|
|
|
{
|
|
|
|
public:
|
2018-07-03 17:40:15 +02:00
|
|
|
LookPage();
|
2018-01-12 23:09:05 +01:00
|
|
|
|
2018-07-05 17:38:24 +02:00
|
|
|
void addInterfaceTab(LayoutCreator<QVBoxLayout> layout);
|
|
|
|
void addMessageTab(LayoutCreator<QVBoxLayout> layout);
|
|
|
|
void addEmoteTab(LayoutCreator<QVBoxLayout> layout);
|
|
|
|
|
2018-01-12 23:09:05 +01:00
|
|
|
QLayout *createThemeColorChanger();
|
|
|
|
QLayout *createFontChanger();
|
2018-06-11 15:04:54 +02:00
|
|
|
QLayout *createUiScaleSlider();
|
|
|
|
|
2018-07-03 16:55:02 +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
|