From: Romulo Pinho Date: Fri, 9 Nov 2012 10:28:14 +0000 (+0100) Subject: added support for more VF file types X-Git-Tag: v1.4.0~239^2~13^2~4 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=29c9b79adf19db41a8e347f446972f42e7ce9ea8;p=clitk.git added support for more VF file types --- diff --git a/vv/vvMainWindow.cxx b/vv/vvMainWindow.cxx index b8d4b3c..1964b7e 100644 --- a/vv/vvMainWindow.cxx +++ b/vv/vvMainWindow.cxx @@ -2177,7 +2177,11 @@ void vvMainWindow::OpenField() QString Extensions = "Images ( *.mhd)"; Extensions += ";;Images ( *.mha)"; - Extensions += ";;Images ( *.vf)"; + Extensions += ";;VF Images ( *.vf)"; + Extensions += ";;nii Images ( *.nii)"; + Extensions += ";;nrrd Images ( *.nrrd)"; + Extensions += ";;nhdr Images ( *.nhdr)"; + Extensions += ";;All Files (*)"; QString file = QFileDialog::getOpenFileName(this,tr("Load deformation field"),mInputPathName,Extensions); if (!file.isEmpty()) AddField(file,index);