mirror-chatterino2/chatwidgetview.h

33 lines
449 B
C
Raw Normal View History

2017-01-01 02:30:42 +01:00
#ifndef CHATVIEW_H
#define CHATVIEW_H
#include <QWidget>
2017-01-05 16:07:20 +01:00
#include "QPaintEvent"
#include "channel.h"
2017-01-11 18:52:09 +01:00
#include "scrollbar.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-11 18:52:09 +01:00
Channel *
channel()
{
2017-01-05 16:07:20 +01:00
return m_channel;
}
2017-01-03 21:19:33 +01:00
protected:
void resizeEvent(QResizeEvent *);
private:
ScrollBar scrollbar;
2017-01-11 18:52:09 +01:00
Channel *m_channel;
2017-01-05 16:07:20 +01:00
void paintEvent(QPaintEvent *);
2017-01-01 02:30:42 +01:00
};
2017-01-11 18:52:09 +01:00
#endif // CHATVIEW_H