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

35 lines
568 B
C++

#pragma once
#include "widgets/settingspages/SettingsPage.hpp"
class QLabel;
class QCheckBox;
class QComboBox;
namespace chatterino {
class GeneralPageView;
class DescriptionLabel;
struct DropdownArgs;
class GeneralPage : public SettingsPage
{
Q_OBJECT
public:
GeneralPage();
bool filterElements(const QString &query);
private:
void initLayout(GeneralPageView &layout);
void initExtra();
QString getFont(const DropdownArgs &args) const;
DescriptionLabel *cachePath_{};
GeneralPageView *view_{};
};
} // namespace chatterino