CCIMXDesktop
Loading...
Searching...
No Matches
ChatBubble.h
1
#ifndef CHATBUBBLE_H
2
#define CHATBUBBLE_H
3
4
#include <QWidget>
5
6
class
ChatBubble
:
public
QWidget {
7
Q_OBJECT
8
public
:
9
ChatBubble
(
const
QString& text,
bool
me, QPixmap& avatar, QWidget* parent =
nullptr
);
10
QSize sizeHint()
const override
;
11
12
protected
:
13
void
paintEvent(QPaintEvent*)
override
;
14
15
signals:
16
17
private
:
18
QPixmap avatar;
19
QString text;
20
bool
me;
21
};
22
23
#endif
// CHATBUBBLE_H
ChatBubble
Definition
ChatBubble.h:6
extern_app
CCommunicator
ui
communication_main
ChatBubble.h
Generated by
1.9.8