Hush lite wallet
https://faq.hush.is/sdl
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
599 B
27 lines
599 B
// Copyright 2019-2024 The Hush developers
|
|
// Released under the GPLv3
|
|
#ifndef MEMOEDIT_H
|
|
#define MEMOEDIT_H
|
|
|
|
#include "precompiled.h"
|
|
|
|
class MemoEdit : public QPlainTextEdit {
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
MemoEdit(QWidget* parent);
|
|
|
|
void setMaxLen(int len);
|
|
void setLenDisplayLabel(QLabel* label);
|
|
void setAcceptButton(QPushButton* button);
|
|
void includeReplyTo(QString replyToAddress);
|
|
void updateDisplay();
|
|
|
|
private:
|
|
int maxlen = 512;
|
|
QLabel* lenDisplayLabel = nullptr;
|
|
QPushButton* acceptButton = nullptr;
|
|
};
|
|
|
|
#endif // MEMOEDIT_H
|
|
|