Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
OpenWalnut Core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
44
Issues
44
List
Boards
Labels
Service Desk
Milestones
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
6f7b06c3
Commit
6f7b06c3
authored
Oct 05, 2010
by
Alexander Wiebel
Browse files
Options
Browse Files
Download
Plain Diff
[MERGE]
parents
4124ee9a
2771d42f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
src/gui/qt4/WMainWindow.cpp
src/gui/qt4/WMainWindow.cpp
+12
-0
No files found.
src/gui/qt4/WMainWindow.cpp
View file @
6f7b06c3
...
...
@@ -674,6 +674,17 @@ void WMainWindow::projectLoad()
void
WMainWindow
::
openLoadDialog
()
{
#ifdef _MSC_VER
QStringList
fileNames
;
QString
filters
;
filters
=
QString
::
fromStdString
(
std
::
string
(
"Known file types (*.cnt *.edf *.asc *.nii *.nii.gz *.fib);;"
)
+
std
::
string
(
"EEG files (*.cnt *.edf *.asc);;"
)
+
std
::
string
(
"NIfTI (*.nii *.nii.gz);;"
)
+
std
::
string
(
"Fibers (*.fib);;"
)
+
std
::
string
(
"Any files (*)"
)
);
fileNames
=
QFileDialog
::
getOpenFileNames
(
this
,
"Open"
,
""
,
filters
);
#else
QFileDialog
fd
;
fd
.
setFileMode
(
QFileDialog
::
ExistingFiles
);
...
...
@@ -690,6 +701,7 @@ void WMainWindow::openLoadDialog()
{
fileNames
=
fd
.
selectedFiles
();
}
#endif
std
::
vector
<
std
::
string
>
stdFileNames
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment