Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mantidproject
mantid
Commits
17d9d820
Commit
17d9d820
authored
6 years ago
by
Brandon Hewer
Browse files
Options
Downloads
Patches
Plain Diff
Apply ClangFormat Changes
Refs #22988
parent
d586b707
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
qt/scientific_interfaces/Indirect/ISISEnergyTransfer.cpp
+2
-3
2 additions, 3 deletions
qt/scientific_interfaces/Indirect/ISISEnergyTransfer.cpp
qt/scientific_interfaces/Indirect/ISISEnergyTransfer.ui
+32
-10
32 additions, 10 deletions
qt/scientific_interfaces/Indirect/ISISEnergyTransfer.ui
with
34 additions
and
13 deletions
qt/scientific_interfaces/Indirect/ISISEnergyTransfer.cpp
+
2
−
3
View file @
17d9d820
...
...
@@ -34,9 +34,8 @@ std::string createDetectorGroupingString(std::size_t groupSize,
const
auto
remainder
=
numberOfDetectors
%
numberOfGroups
;
if
(
remainder
==
0
)
return
groupingString
;
return
groupingString
+
","
+
createRangeString
(
numberOfDetectors
-
remainder
,
numberOfDetectors
-
1
);
return
groupingString
+
","
+
createRangeString
(
numberOfDetectors
-
remainder
,
numberOfDetectors
-
1
);
}
std
::
string
createDetectorGroupingString
(
std
::
size_t
numberOfDetectors
,
...
...
This diff is collapsed.
Click to expand it.
qt/scientific_interfaces/Indirect/ISISEnergyTransfer.ui
+
32
−
10
View file @
17d9d820
...
...
@@ -289,7 +289,11 @@
</widget>
</item>
<item>
<widget
class=
"QSpinBox"
name=
"spNumberGroups"
/>
<widget
class=
"QSpinBox"
name=
"spNumberGroups"
>
<property
name=
"minimum"
>
<number>
1
</number>
</property>
</widget>
</item>
<item>
<spacer
name=
"horizontalSpacer_5"
>
...
...
@@ -313,19 +317,19 @@
<property
name=
"enabled"
>
<bool>
true
</bool>
</property>
<property
name=
"toolTip"
>
<string>
, allows you to specify additional indices. 1,2,4 will keep indices 1, 2 and 4 only.
: indicates a continuous range of indices. For example, 1:5 is the same as 1,2,3,4,5.
+ sums two spectra together. 7+9 will produce a single spectra listing the sum of 7 and 9, ignoring any others.
- sums a range of spectra together. For example, 3-8 is the same as 3+4+5+6+7+8.
</string>
</property>
<property
name=
"maximumSize"
>
<size>
<width>
16777215
</width>
<height>
16777215
</height>
</size>
</property>
<property
name=
"toolTip"
>
<string>
, allows you to specify additional indices. 1,2,4 will keep indices 1, 2 and 4 only.
: indicates a continuous range of indices. For example, 1:5 is the same as 1,2,3,4,5.
+ sums two spectra together. 7+9 will produce a single spectra listing the sum of 7 and 9, ignoring any others.
- sums a range of spectra together. For example, 3-8 is the same as 3+4+5+6+7+8.
</string>
</property>
<property
name=
"layoutDirection"
>
<enum>
Qt::LeftToRight
</enum>
</property>
...
...
@@ -572,7 +576,16 @@
<property
name=
"spacing"
>
<number>
0
</number>
</property>
<property
name=
"margin"
>
<property
name=
"leftMargin"
>
<number>
0
</number>
</property>
<property
name=
"topMargin"
>
<number>
0
</number>
</property>
<property
name=
"rightMargin"
>
<number>
0
</number>
</property>
<property
name=
"bottomMargin"
>
<number>
0
</number>
</property>
<item>
...
...
@@ -580,7 +593,16 @@
<property
name=
"spacing"
>
<number>
6
</number>
</property>
<property
name=
"margin"
>
<property
name=
"leftMargin"
>
<number>
6
</number>
</property>
<property
name=
"topMargin"
>
<number>
6
</number>
</property>
<property
name=
"rightMargin"
>
<number>
6
</number>
</property>
<property
name=
"bottomMargin"
>
<number>
6
</number>
</property>
<item>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment