Add Headermemo, work in Progress
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include <map>
|
||||
#include <vector>
|
||||
#include <QListWidget>
|
||||
#include "precompiled.h"
|
||||
|
||||
class ChatItem
|
||||
{
|
||||
@@ -117,21 +118,4 @@ class ChatModel
|
||||
void addMessage(long timestamp, ChatItem item);
|
||||
};
|
||||
|
||||
class ChatMemoEdit : public QPlainTextEdit
|
||||
{
|
||||
public:
|
||||
ChatMemoEdit(QWidget* parent);
|
||||
|
||||
void setMaxLen(int len);
|
||||
void setLenDisplayLabel(QLabel* label);
|
||||
void setSendChatButton(QPushButton* button);
|
||||
void includeReplyTo(QString replyToAddress);
|
||||
void updateDisplay();
|
||||
|
||||
private:
|
||||
int maxlen = 512;
|
||||
QLabel* lenDisplayLabel = nullptr;
|
||||
QPushButton* sendChatButton = nullptr;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user