ChatWidgetView -> ChannelView, added Emote Picker

This commit is contained in:
fourtf
2017-09-16 00:05:06 +02:00
parent 84c23a5d00
commit c7b3480aaf
37 changed files with 532 additions and 407 deletions
+3 -1
View File
@@ -1,5 +1,6 @@
#pragma once
#include "emotemanager.hpp"
#include "resizingtextedit.hpp"
#include "widgets/basewidget.hpp"
#include "widgets/chatwidgetheaderbutton.hpp"
@@ -25,7 +26,7 @@ class ChatWidgetInput : public BaseWidget
Q_OBJECT
public:
ChatWidgetInput(ChatWidget *_chatWidget);
ChatWidgetInput(ChatWidget *_chatWidget, EmoteManager &);
~ChatWidgetInput();
protected:
@@ -37,6 +38,7 @@ protected:
private:
ChatWidget *const chatWidget;
EmotePopup *emotePopup = nullptr;
EmoteManager &emoteManager;
boost::signals2::connection textLengthVisibleChangedConnection;
QHBoxLayout hbox;