added basic tabs

This commit is contained in:
fourtf
2016-12-30 12:20:26 +01:00
parent cfda4798d4
commit 2ce96a05bc
11 changed files with 240 additions and 27 deletions
+10 -2
View File
@@ -1,16 +1,24 @@
#include "mainwindow.h"
#include "ui_mainwindow.h"
#include "chatwidget.h"
#include "notebook.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
ui(new Ui::MainWindow),
notebook(this)
{
//ui->setupUi(this);
//ChatWidget widget = new ChatWidget(this);
setCentralWidget(new ChatWidget(this));
//this->notebook = new Notebook(this);
setCentralWidget(&this->notebook);
this->notebook.addPage();
this->notebook.addPage();
this->notebook.addPage();
}
MainWindow::~MainWindow()