added words and message

This commit is contained in:
fourtf
2017-01-05 16:07:20 +01:00
parent 7a7b714e78
commit b7de109335
31 changed files with 679 additions and 31 deletions
+9
View File
@@ -3,6 +3,8 @@
#include <QWidget>
#include "scrollbar.h"
#include "QPaintEvent"
#include "channel.h"
class ChatWidgetView : public QWidget
{
@@ -11,11 +13,18 @@ class ChatWidgetView : public QWidget
public:
ChatWidgetView();
Channel* channel() {
return m_channel;
}
protected:
void resizeEvent(QResizeEvent *);
private:
ScrollBar scrollbar;
Channel* m_channel;
void paintEvent(QPaintEvent *);
};
#endif // CHATVIEW_H