forked from blue/squawk
initial attempt to paint buttons in the messagefeed
This commit is contained in:
parent
ff4124d1f0
commit
00ffbac6b0
8 changed files with 156 additions and 18 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue