input of channel names

This commit is contained in:
fourtf
2017-01-17 00:15:44 +01:00
parent f227b998a3
commit 91e3976a09
16 changed files with 302 additions and 134 deletions
+6 -9
View File
@@ -6,18 +6,14 @@
#include "channel.h"
#include "scrollbar.h"
class ChatWidget;
class ChatWidgetView : public QWidget
{
Q_OBJECT
public:
ChatWidgetView();
Channel *
channel()
{
return m_channel;
}
ChatWidgetView(ChatWidget *parent);
bool layoutMessages();
@@ -25,8 +21,9 @@ protected:
void resizeEvent(QResizeEvent *);
private:
ScrollBar scrollbar;
Channel *m_channel;
ChatWidget *m_chatWidget;
ScrollBar m_scrollbar;
void paintEvent(QPaintEvent *);
};