2 #include "ui_QmitkXnatUploadFromDataStorageDialog.h"
15 ui->cbUploadMITKProject->hide();
16 ui->leMITKProjectFileName->hide();
19 connect(ui->btnCancel, SIGNAL(clicked()),
this, SLOT(
OnCancel()));
20 connect(ui->btnUpload, SIGNAL(clicked()),
this, SLOT(
OnUpload()));
22 connect(ui->leMITKProjectFileName,
23 SIGNAL(textEdited(
const QString &)),
26 connect(ui->cBDataSelection,
36 ui->cBDataSelection->SetPredicate(pred);
46 ui->cBDataSelection->SetDataStorage(ds);
51 this->done(QDialog::Accepted);
60 this->done(QDialog::Rejected);
70 if (m_SelectedNode.IsNotNull())
71 ui->btnUpload->setEnabled(
true);
76 return m_SelectedNode;
void SetDataStorage(mitk::DataStorage *ds)
Data management class that handles 'was created by' relations.
~QmitkXnatUploadFromDataStorageDialog()
void OnMITKProjectFileNameEntered(const QString &text)
void OnUploadSceneChecked()
void OnDataSelected(const mitk::DataNode *)
static Pointer New(const mitk::NodePredicateBase *_arg)
mitk::DataNode::Pointer GetSelectedNode()
static Pointer New(const char *_arg)
QmitkXnatUploadFromDataStorageDialog(QWidget *parent=0)
Class for nodes of the DataTree.