initial attempt to paint buttons in the messagefeed

This commit is contained in:
Blue 2021-01-14 14:22:02 +03:00
parent ff4124d1f0
commit 00ffbac6b0
8 changed files with 156 additions and 18 deletions

View file

@ -22,6 +22,7 @@
#include <QStyledItemDelegate>
#include <QFont>
#include <QFontMetrics>
#include <QPushButton>
#include "shared/icons.h"
@ -46,6 +47,9 @@ private:
QFontMetrics bodyMetrics;
QFontMetrics nickMetrics;
QFontMetrics dateMetrics;
QPushButton* downloadButton;
QPushButton* uploadButton;
};
#endif // MESSAGEDELEGATE_H