mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
35 lines
561 B
C++
35 lines
561 B
C++
#ifndef NOTEBOOK_H
|
|
#define NOTEBOOK_H
|
|
|
|
#include <QWidget>
|
|
#include <QList>
|
|
#include "notebookpage.h"
|
|
#include "notebooktab.h"
|
|
#include "notebookbutton.h"
|
|
|
|
class Notebook : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
Notebook(QWidget *parent);
|
|
|
|
NotebookPage* addPage();
|
|
|
|
enum HighlightType { none, highlighted, newMessage };
|
|
|
|
protected:
|
|
void resizeEvent(QResizeEvent *);
|
|
|
|
private:
|
|
QList<NotebookPage*> pages;
|
|
|
|
NotebookButton addButton;
|
|
NotebookButton settingsButton;
|
|
NotebookButton userButton;
|
|
|
|
void layout();
|
|
};
|
|
|
|
#endif // NOTEBOOK_H
|