AyuGramDesktop/Telegram/SourceFiles/ayu/ui/boxes/edit_deleted_mark.h

27 lines
547 B
C++

// This is the source code of AyuGram for Desktop.
//
// We do not and cannot prevent the use of our code,
// but be respectful and credit the original author.
//
// Copyright @Radolyn, 2023
#pragma once
#include "base/timer.h"
#include "boxes/abstract_box.h"
class EditDeletedMarkBox : public Ui::BoxContent
{
public:
EditDeletedMarkBox(QWidget *);
protected:
void setInnerFocus() override;
void prepare() override;
void resizeEvent(QResizeEvent *e) override;
private:
void submit();
void save();
object_ptr<Ui::InputField> _text;
};