2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 09:05:14 +00:00
Files
kotatogram-desktop/Telegram/SourceFiles/boxes/net_boost_box.h
RadRussianRus b1b61fc9e0 Build fixes
2019-11-06 20:51:59 +03:00

33 lines
659 B
C++

/*
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
class NetBoostBox : public Ui::BoxContent {
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;
};