tdesktop/Telegram/SourceFiles/export/view/export_view_done.h

38 lines
696 B
C
Raw Normal View History

2018-06-02 17:29:21 +03:00
/*
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"
2018-06-19 19:31:30 +01:00
namespace Ui {
class RoundButton;
} // namespace Ui
2018-06-02 17:29:21 +03:00
namespace Export {
namespace View {
class DoneWidget : public Ui::RpWidget {
public:
DoneWidget(QWidget *parent);
rpl::producer<> showClicks() const;
2018-06-19 19:31:30 +01:00
rpl::producer<> closeClicks() const;
2018-06-02 17:29:21 +03:00
private:
2018-06-19 19:31:30 +01:00
void initFooter();
2018-06-02 17:29:21 +03:00
void setupContent();
rpl::event_stream<> _showClicks;
2018-06-19 19:31:30 +01:00
QPointer<Ui::RoundButton> _close;
2018-06-02 17:29:21 +03:00
};
} // namespace View
} // namespace Export