asd
This commit is contained in:
+1
-9
@@ -1,19 +1,11 @@
|
||||
#include "mainwindow.h"
|
||||
#include "ui_mainwindow.h"
|
||||
#include "chatwidget.h"
|
||||
#include "notebook.h"
|
||||
|
||||
MainWindow::MainWindow(QWidget *parent) :
|
||||
QMainWindow(parent),
|
||||
ui(new Ui::MainWindow),
|
||||
notebook(this)
|
||||
{
|
||||
//ui->setupUi(this);
|
||||
|
||||
//ChatWidget widget = new ChatWidget(this);
|
||||
|
||||
//this->notebook = new Notebook(this);
|
||||
|
||||
setCentralWidget(&this->notebook);
|
||||
|
||||
this->notebook.addPage();
|
||||
@@ -23,5 +15,5 @@ MainWindow::MainWindow(QWidget *parent) :
|
||||
|
||||
MainWindow::~MainWindow()
|
||||
{
|
||||
delete ui;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user