mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-05 09:05:14 +00:00
33 lines
659 B
C++
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;
|
|
|
|
}; |