mirror-chatterino2/chatwidgetview.h
2017-01-17 00:15:44 +01:00

32 lines
456 B
C++

#ifndef CHATVIEW_H
#define CHATVIEW_H
#include <QWidget>
#include "QPaintEvent"
#include "channel.h"
#include "scrollbar.h"
class ChatWidget;
class ChatWidgetView : public QWidget
{
Q_OBJECT
public:
ChatWidgetView(ChatWidget *parent);
bool layoutMessages();
protected:
void resizeEvent(QResizeEvent *);
private:
ChatWidget *m_chatWidget;
ScrollBar m_scrollbar;
void paintEvent(QPaintEvent *);
};
#endif // CHATVIEW_H