paysages3d/gui_qt/mainwindow.cpp
2011-12-25 21:19:32 +00:00

20 lines
368 B
C++

#include "mainwindow.h"
#include "formwater.h"
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
QTabWidget* tabs;
ui->setupUi(this);
tabs = this->findChild<QTabWidget*>("tabWidget");
tabs->addTab(new FormWater(tabs), "Water");
}
MainWindow::~MainWindow()
{
delete ui;
}