Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mantidproject
mantid
Commits
4748d141
Commit
4748d141
authored
Oct 13, 2016
by
Ian Bush
Browse files
Refs #17807 Clang format
parent
836bc780
Changes
2
Hide whitespace changes
Inline
Side-by-side
MantidQt/CustomInterfaces/src/Tomography/SavuConfigDialog.cpp
View file @
4748d141
...
...
@@ -240,10 +240,9 @@ void TomographyIfaceViewQtGUI::removeClicked() {
}
void
TomographyIfaceViewQtGUI
::
menuOpenClicked
()
{
QString
s
=
QFileDialog
::
getOpenFileName
(
0
,
"Open file"
,
QDir
::
currentPath
(),
"NeXus files (*.nxs);;All files (*)"
,
new
QString
(
"NeXus files (*.nxs)"
));
QString
s
=
QFileDialog
::
getOpenFileName
(
0
,
"Open file"
,
QDir
::
currentPath
(),
"NeXus files (*.nxs);;All files (*)"
,
new
QString
(
"NeXus files (*.nxs)"
));
std
::
string
name
=
s
.
toStdString
();
if
(
""
==
name
)
...
...
@@ -299,10 +298,9 @@ void TomographyIfaceViewQtGUI::menuSaveClicked() {
}
void
TomographyIfaceViewQtGUI
::
menuSaveAsClicked
()
{
QString
s
=
QFileDialog
::
getSaveFileName
(
0
,
"Save file"
,
QDir
::
currentPath
(),
"NeXus files (*.nxs);;All files (*)"
,
new
QString
(
"NeXus files (*.nxs)"
));
QString
s
=
QFileDialog
::
getSaveFileName
(
0
,
"Save file"
,
QDir
::
currentPath
(),
"NeXus files (*.nxs);;All files (*)"
,
new
QString
(
"NeXus files (*.nxs)"
));
std
::
string
name
=
s
.
toStdString
();
if
(
""
==
name
)
return
;
...
...
MantidQt/MantidWidgets/src/InstrumentView/InstrumentWidgetMaskTab.cpp
View file @
4748d141
...
...
@@ -754,8 +754,8 @@ void InstrumentWidgetMaskTab::sumDetsToWorkspace() {
}
void
InstrumentWidgetMaskTab
::
saveIncludeGroupToFile
()
{
QString
fname
=
m_instrWidget
->
getSaveFileName
(
"Save grouping file"
,
"XML files (*.xml);;All (*)"
);
QString
fname
=
m_instrWidget
->
getSaveFileName
(
"Save grouping file"
,
"XML files (*.xml);;All (*)"
);
if
(
!
fname
.
isEmpty
())
{
QList
<
int
>
dets
;
m_instrWidget
->
getSurface
()
->
getMaskedDetectors
(
dets
);
...
...
@@ -764,8 +764,8 @@ void InstrumentWidgetMaskTab::saveIncludeGroupToFile() {
}
void
InstrumentWidgetMaskTab
::
saveExcludeGroupToFile
()
{
QString
fname
=
m_instrWidget
->
getSaveFileName
(
"Save grouping file"
,
"XML files (*.xml);;All (*)"
);
QString
fname
=
m_instrWidget
->
getSaveFileName
(
"Save grouping file"
,
"XML files (*.xml);;All (*)"
);
if
(
!
fname
.
isEmpty
())
{
QList
<
int
>
dets
;
m_instrWidget
->
getSurface
()
->
getMaskedDetectors
(
dets
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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