13 #ifndef QmitkSelectXnatUploadDestinationDialog_h
14 #define QmitkSelectXnatUploadDestinationDialog_h
143 QString m_ResourceName;
144 bool m_CreateNewFolder;
145 std::unique_ptr<Ui::QmitkSelectXnatUploadDestinationDialog> ui;
Dialog for selecting an upload destination on an XNAT server.
~QmitkSelectXnatUploadDestinationDialog() override
Destructor.
QmitkSelectXnatUploadDestinationDialog(ctkXnatSession *session, const QStringList &availableResources, QWidget *parent=nullptr)
Construct the upload destination dialog.
void OnSelectFromTreeView(bool selectFromTreeView)
Slot called when the "Select From Tree View" radio button is toggled.
void SetXnatResourceFolderUrl(const QString &url)
Set the XNAT resource folder URL used when creating a new resource.
void OnResourceEntered(const QString &resourceEntered)
Slot called when the user types a new resource folder name.
void OnXnatNodeSelected(const QModelIndex &index)
Slot called when an XNAT node is selected in the tree view.
void OnResourceSelected(const QString &resource)
Slot called when an existing resource is selected from the combo box.
void OnSelectResource(bool selectResource)
Slot called when the "Select Resource" radio button is toggled.
ctkXnatObject * GetUploadDestination()
Retrieve the selected upload destination as an XNAT object.
void OnUpload()
Slot called when the user clicks the Upload button. Accepts the dialog.
void OnCancel()
Slot called when the user clicks the Cancel button. Rejects the dialog.
Tree model for browsing the XNAT server hierarchy with MITK-specific enhancements.