2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-06 01:25:18 +00:00
Files
kotatogram-desktop/Telegram/SourceFiles/boxes/net_boost_box.h

33 lines
659 B
C
Raw Normal View History

2019-10-18 20:32:18 +03:00
/*
This file is part of Kotatogram Desktop,
the unofficial app based on Telegram Desktop.
For license and copyright information please follow this link:
https://github.com/kotatogram/kotatogram-desktop/blob/dev/LEGAL
*/
#pragma once
#include "boxes/abstract_box.h"
namespace Ui {
class RadiobuttonGroup;
class Radiobutton;
class FlatLabel;
} // namespace Ui
2019-11-06 16:22:25 +03:00
class NetBoostBox : public Ui::BoxContent {
2019-10-18 20:32:18 +03:00
public:
NetBoostBox(QWidget* parent);
static QString BoostLabel(int boost);
protected:
void prepare() override;
private:
void save();
object_ptr<Ui::FlatLabel> _description = { nullptr };
std::shared_ptr<Ui::RadiobuttonGroup> _boostGroup;
};