2015-03-02 12:34:16 +00:00
|
|
|
/*
|
|
|
|
This file is part of Telegram Desktop,
|
2018-01-03 10:23:14 +00:00
|
|
|
the official desktop application for the Telegram messaging service.
|
2015-03-02 12:34:16 +00:00
|
|
|
|
2018-01-03 10:23:14 +00:00
|
|
|
For license and copyright information please follow this link:
|
|
|
|
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
2015-03-02 12:34:16 +00:00
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
|
2017-04-06 14:38:10 +00:00
|
|
|
#include "boxes/abstract_box.h"
|
2015-03-02 12:34:16 +00:00
|
|
|
|
2016-10-28 09:20:24 +00:00
|
|
|
namespace Ui {
|
|
|
|
class Radiobutton;
|
|
|
|
} // namespace Ui
|
|
|
|
|
2019-09-18 11:19:05 +00:00
|
|
|
class AutoLockBox : public Ui::BoxContent {
|
2015-03-02 12:34:16 +00:00
|
|
|
public:
|
2021-08-11 05:58:11 +00:00
|
|
|
AutoLockBox(QWidget*);
|
2015-03-02 12:34:16 +00:00
|
|
|
|
2016-12-13 17:07:56 +00:00
|
|
|
protected:
|
|
|
|
void prepare() override;
|
|
|
|
|
2015-04-02 10:33:19 +00:00
|
|
|
private:
|
2017-03-18 21:06:10 +00:00
|
|
|
void durationChanged(int seconds);
|
|
|
|
|
|
|
|
std::vector<object_ptr<Ui::Radiobutton>> _options;
|
2016-08-16 16:53:10 +00:00
|
|
|
|
2015-03-02 12:34:16 +00:00
|
|
|
};
|