/* This file is part of Telegram Desktop, the official desktop application for the Telegram messaging service. For license and copyright information please follow this link: https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL */ #pragma once #include "settings/settings_layer.h" namespace Settings { class InnerWidget; class Widget : public Layer, private base::Subscriber { public: Widget(QWidget*); void refreshLang(); void parentResized() override; protected: void keyPressEvent(QKeyEvent *e) override; private: void resizeUsingInnerHeight(int newWidth, int innerHeight) override; QPointer _inner; }; } // namespace Settings