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

32 lines
708 B
C++
Raw Normal View History

2018-01-12 23:09:05 +01:00
#pragma once
#include "common/Channel.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 AppearancePage : public SettingsPage
{
public:
AppearancePage();
void addApplicationGroup(QVBoxLayout &layout);
void addMessagesGroup(QVBoxLayout &layout);
void addEmotesGroup(QVBoxLayout &layout);
2018-01-12 23:09:05 +01:00
QLayout *createThemeColorChanger();
QLayout *createFontChanger();
2018-06-11 15:04:54 +02:00
QLayout *createUiScaleSlider();
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