2019-09-08 22:27:57 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "widgets/settingspages/SettingsPage.hpp"
|
|
|
|
|
|
|
|
class QLabel;
|
|
|
|
class QCheckBox;
|
|
|
|
class QComboBox;
|
|
|
|
|
|
|
|
namespace chatterino {
|
|
|
|
|
2020-10-22 23:17:31 +02:00
|
|
|
class GeneralPageView;
|
|
|
|
class DescriptionLabel;
|
|
|
|
struct DropdownArgs;
|
2019-09-08 22:27:57 +02:00
|
|
|
|
|
|
|
class GeneralPage : public SettingsPage
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
GeneralPage();
|
|
|
|
|
|
|
|
bool filterElements(const QString &query);
|
|
|
|
|
|
|
|
private:
|
2020-10-22 23:17:31 +02:00
|
|
|
void initLayout(GeneralPageView &layout);
|
2019-09-08 22:27:57 +02:00
|
|
|
void initExtra();
|
|
|
|
|
|
|
|
QString getFont(const DropdownArgs &args) const;
|
|
|
|
|
|
|
|
DescriptionLabel *cachePath_{};
|
2020-10-22 23:17:31 +02:00
|
|
|
GeneralPageView *view_{};
|
2019-09-08 22:27:57 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace chatterino
|