mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
32 lines
456 B
C++
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
|