]> Creatis software - clitk.git/blob - vv/vvPacsSettingsDialog.cxx
modify settings save
[clitk.git] / vv / vvPacsSettingsDialog.cxx
1 #include "vvPacsSettingsDialog.h"       
2 #include "vvQPacsConnection.h"
3 #include "vvUtils.h"
4
5 vvPacsSettingsDialog::vvPacsSettingsDialog(QWidget *i_parent)
6                 : QDialog(i_parent)
7         {
8                 mparent = i_parent;
9                 ui.setupUi(this);
10                 update();
11         }
12
13 void vvPacsSettingsDialog::accept()
14 {
15
16         AddDicomServer(ui.NameEdit->text().toStdString(),ui.AETitleEdit->text().toStdString(),ui.AdressEdit->text().toStdString(), ui.PortEdit->text().toStdString());
17 ((vvQPacsConnection*)this->parent())->refreshNetworks();
18         close();
19 }