added scrollbar and smooth scrolling

This commit is contained in:
fourtf
2017-01-26 04:26:40 +01:00
parent 3d6b9f7645
commit 700c756f5a
12 changed files with 333 additions and 10 deletions
+4
View File
@@ -18,6 +18,10 @@ Channel::Channel(const QString &channel)
, channelLink("https://twitch.tv/" + name)
, popoutPlayerLink("https://player.twitch.tv/?channel=" + name)
{
for (int i = 0; i < 40; i++) {
addMessage(std::shared_ptr<messages::Message>(
new messages::Message("test xD test")));
}
}
QVector<std::shared_ptr<messages::Message>>