mirror-chatterino2/chatwidgetview.h

31 lines
439 B
C
Raw Normal View History

2017-01-01 02:30:42 +01:00
#ifndef CHATVIEW_H
#define CHATVIEW_H
#include <QWidget>
2017-01-03 21:19:33 +01:00
#include "scrollbar.h"
2017-01-05 16:07:20 +01:00
#include "QPaintEvent"
#include "channel.h"
2017-01-01 02:30:42 +01:00
class ChatWidgetView : public QWidget
{
Q_OBJECT
public:
ChatWidgetView();
2017-01-03 21:19:33 +01:00
2017-01-05 16:07:20 +01:00
Channel* channel() {
return m_channel;
}
2017-01-03 21:19:33 +01:00
protected:
void resizeEvent(QResizeEvent *);
private:
ScrollBar scrollbar;
2017-01-05 16:07:20 +01:00
Channel* m_channel;
void paintEvent(QPaintEvent *);
2017-01-01 02:30:42 +01:00
};
#endif // CHATVIEW_H