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
+13 -2
View File
@@ -29,17 +29,28 @@ public:
return m_channel;
}
const QString &
channelName() const
{
return m_channelName;
}
void setChannelName(const QString &name);
void showChangeChannelPopup();
protected:
void paintEvent(QPaintEvent *) Q_DECL_OVERRIDE;
private:
Channel *m_channel;
QString m_channelName;
QFont m_font;
QVBoxLayout m_vbox;
ChatWidgetHeader m_header;
ChatWidgetView m_view;
ChatWidgetInput m_input;
Channel *m_channel = NULL;
};
#endif // CHATWIDGET_H