mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
asd
This commit is contained in:
parent
bbc1b53c89
commit
42b5de161d
|
@ -38,4 +38,4 @@ HEADERS += mainwindow.h \
|
|||
notebookpage.h \
|
||||
notebookbutton.h
|
||||
|
||||
FORMS += mainwindow.ui
|
||||
FORMS +=
|
||||
|
|
|
@ -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;
|
||||
|
||||
}
|
||||
|
|
|
@ -4,10 +4,6 @@
|
|||
#include <QMainWindow>
|
||||
#include "notebook.h"
|
||||
|
||||
namespace Ui {
|
||||
class MainWindow;
|
||||
}
|
||||
|
||||
class MainWindow : public QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
|
@ -16,9 +12,6 @@ public:
|
|||
explicit MainWindow(QWidget *parent = 0);
|
||||
~MainWindow();
|
||||
Notebook notebook;
|
||||
|
||||
private:
|
||||
Ui::MainWindow *ui;
|
||||
};
|
||||
|
||||
#endif // MAINWINDOW_H
|
||||
|
|
Loading…
Reference in a new issue