mirror-chatterino2/mainwindow.cpp
2017-01-06 23:28:48 +01:00

28 lines
528 B
C++

#include <QPalette>
#include "mainwindow.h"
#include "chatwidget.h"
#include "notebook.h"
#include "colorscheme.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()
{
}