/* 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 "ui/rp_widget.h" class BoxContentDivider; namespace Ui { class ScrollArea; class FadeShadow; class RoundButton; class FlatLabel; class UserpicButton; } // namespace Ui namespace Passport { class PanelController; class PanelForm : public Ui::RpWidget { public: PanelForm( QWidget *parent, not_null controller); protected: void resizeEvent(QResizeEvent *e) override; private: class Row; void setupControls(); not_null setupContent(); void updateControlsGeometry(); not_null _controller; object_ptr _scroll; object_ptr _topShadow; object_ptr _bottomShadow; object_ptr _submit; QPointer _userpic; QPointer _about1; QPointer _about2; std::vector> _rows; }; } // namespace Passport