Skip to content
Snippets Groups Projects
Commit 17d9d820 authored by Brandon Hewer's avatar Brandon Hewer
Browse files

Apply ClangFormat Changes

Refs #22988
parent d586b707
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment