mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
28 lines
549 B
C++
28 lines
549 B
C++
#include "mainwindow.h"
|
|
#include <QPalette>
|
|
#include "chatwidget.h"
|
|
#include "colorscheme.h"
|
|
#include "notebook.h"
|
|
|
|
MainWindow::MainWindow(QWidget *parent)
|
|
: QMainWindow(parent)
|
|
, notebook(this)
|
|
{
|
|
setCentralWidget(&this->notebook);
|
|
|
|
this->notebook.addPage();
|
|
this->notebook.addPage();
|
|
this->notebook.addPage();
|
|
|
|
QPalette palette;
|
|
palette.setColor(QPalette::Background,
|
|
ColorScheme::instance().TabPanelBackground);
|
|
setPalette(palette);
|
|
|
|
resize(1280, 800);
|
|
}
|
|
|
|
MainWindow::~MainWindow()
|
|
{
|
|
}
|