removed unused old message line files, first thoughts on message edition

This commit is contained in:
Blue 2022-02-20 22:10:09 +03:00
parent 73b1b58a96
commit 0823b35148
Signed by untrusted user: blue
GPG key ID: 9B203B252A63EE38
11 changed files with 121 additions and 1083 deletions

View file

@ -25,6 +25,8 @@
#include <QIcon>
#include <QPushButton>
#include "shared/utils.h"
/**
* @todo write docs
*/
@ -33,9 +35,14 @@ class Badge : public QFrame
Q_OBJECT
public:
Badge(const QString& id, const QString& text, const QIcon& icon, QWidget* parent = nullptr);
Badge(QWidget* parent = nullptr);
~Badge();
const QString id;
public:
void setText(const QString& text);
void setIcon(const QIcon& icon);
signals:
void close();
@ -45,6 +52,9 @@ private:
QLabel* text;
QPushButton* closeButton;
QHBoxLayout* layout;
private:
void createMandatoryComponents();
public:
struct Comparator {