mirror-chatterino2/chatwidgetview.h
2017-01-05 16:07:20 +01:00

31 lines
439 B
C++

#ifndef CHATVIEW_H
#define CHATVIEW_H
#include <QWidget>
#include "scrollbar.h"
#include "QPaintEvent"
#include "channel.h"
class ChatWidgetView : public QWidget
{
Q_OBJECT
public:
ChatWidgetView();
Channel* channel() {
return m_channel;
}
protected:
void resizeEvent(QResizeEvent *);
private:
ScrollBar scrollbar;
Channel* m_channel;
void paintEvent(QPaintEvent *);
};
#endif // CHATVIEW_H