Added agglwindow

This commit is contained in:
arcan1s
2013-08-09 19:45:42 +04:00
parent f7bdd89940
commit abf7bce7df
22 changed files with 4158 additions and 18 deletions

View File

@ -3,6 +3,7 @@
#include "mainwindow.h"
#include "ui_mainwindow.h"
#include "agglwindow.h"
#include "atomtypeswindow.h"
#include "clear_items.h"
#include "start_events.h"
@ -583,6 +584,7 @@ void MainWindow::on_tabWidget_currentChanged(int index)
void MainWindow::createActions()
{
connect(ui->actionAtom_types_file, SIGNAL(triggered()), this, SLOT(createAtomTypes()));
connect(ui->actionAgglomerate_file, SIGNAL(triggered()), this, SLOT(createAgglFile()));
}
void MainWindow::createAtomTypes()
@ -591,3 +593,10 @@ void MainWindow::createAtomTypes()
atomTypes = new AtomTypesWindow(this);
atomTypes->show();
}
void MainWindow::createAgglFile()
{
AgglWindow *agglWindow;
agglWindow = new AgglWindow(this, ui->statgen_lineEdit_output->text());
agglWindow->show();
}