mirror-chatterino2/chatwidget.h
2017-01-11 18:52:09 +01:00

34 lines
576 B
C++

#ifndef CHATWIDGET_H
#define CHATWIDGET_H
#include <QWidget>
#include "QFont"
#include "QVBoxLayout"
#include "channel.h"
#include "chatwidgetheader.h"
#include "chatwidgetinput.h"
#include "chatwidgetview.h"
class ChatWidget : public QWidget
{
Q_OBJECT
public:
ChatWidget(QWidget *parent = 0);
~ChatWidget();
protected:
void paintEvent(QPaintEvent *) Q_DECL_OVERRIDE;
private:
QFont font;
QVBoxLayout vbox;
ChatWidgetHeader header;
ChatWidgetView view;
ChatWidgetInput input;
Channel *channel = NULL;
};
#endif // CHATWIDGET_H