:QDialog(i_parent)
{
ui.setupUi(this);
- setWindowTitle(QString::fromUtf8("PACS CONNECTIONHHHH"));
+ setWindowTitle(QString::fromUtf8("PACS CONNECTION"));
createTreeView();
ui.tabFilter->setTabText(0,QString(tr("Modality")));
ui.tabFilter->setTabText(1,QString(tr("Date")));
connect(ui.networkCombo,SIGNAL(currentIndexChanged(int)),this,SLOT(chooseServer(int)));
connect(ui.removeNetworkButton,SIGNAL(clicked()),this,SLOT(removeServer()));
connect(ui.NetworkButton,SIGNAL(clicked()),this,SLOT(modifyServer()));
+ connect(ui.exitButton,SIGNAL(clicked()),this,SLOT(close()));
update();
}
+// Exit window
+bool vvQPacsConnection::close()
+{
+ QApplication::restoreOverrideCursor();
+ return QWidget::close();
+}
+
// remote a Dicom Server in VV settings
void vvQPacsConnection::removeServer()
{