mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-07-25 15:03:03 +02:00
35 lines
1.2 KiB
C++
35 lines
1.2 KiB
C++
#pragma once
|
|
|
|
#include "settings/settings_common.h"
|
|
|
|
class BoxContent;
|
|
|
|
namespace Window {
|
|
class Controller;
|
|
|
|
class SessionController;
|
|
} // namespace Window
|
|
|
|
namespace Settings {
|
|
class Ayu : public Section<Ayu> {
|
|
public:
|
|
Ayu(QWidget *parent, not_null<Window::SessionController *> controller);
|
|
|
|
[[nodiscard]] rpl::producer<QString> title() override;
|
|
|
|
private:
|
|
void SetupGhostEssentials(not_null<Ui::VerticalLayout *> container);
|
|
void SetupSpyEssentials(not_null<Ui::VerticalLayout *> container);
|
|
void SetupQoLToggles(not_null<Ui::VerticalLayout *> container);
|
|
void SetupCustomization(not_null<Ui::VerticalLayout *> container, not_null<Window::SessionController *> controller);
|
|
|
|
void SetupShowPeerId(not_null<Ui::VerticalLayout *> container, not_null<Window::SessionController *> controller);
|
|
void SetupRecentStickersLimitSlider(not_null<Ui::VerticalLayout *> container);
|
|
|
|
void SetupBetaFunctions(not_null<Ui::VerticalLayout *> container);
|
|
|
|
void SetupAyuGramSettings(not_null<Ui::VerticalLayout *> container, not_null<Window::SessionController *> null);
|
|
void setupContent(not_null<Window::SessionController *> controller);
|
|
};
|
|
|
|
} // namespace Settings
|