Skip to content

Commit 2183a6a

Browse files
committed
fixed typos and spacing
1 parent 72728b9 commit 2183a6a

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed

src/Interface/Modules/Fields/MapFieldDataOntoElemsDialog.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
#include <Core/Algorithms/Legacy/Fields/Mapping/MapFieldDataOntoElems.h>
3131
#include <Dataflow/Network/ModuleStateInterface.h> ///TODO: extract into intermediate
3232
#include <Core/Logging/Log.h>
33+
#include <Core/Math/MiscMath.h>
3334

3435
using namespace SCIRun::Gui;
3536
using namespace SCIRun::Dataflow::Networks;
@@ -51,15 +52,15 @@ MapFieldDataOntoElemsDialog::MapFieldDataOntoElemsDialog(const std::string& name
5152
connect(useNanForUnassignedValuesCheckBox_, SIGNAL(stateChanged(int)), this, SLOT(setUseNanForUnassignedValues(int)));
5253
}
5354

54-
void MapFieldDataOntoNodesDialog::pullSpecial()
55+
void MapFieldDataOntoElemsDialog::pullSpecial()
5556
{
5657
if (IsNan(state_->getValue(Parameters::OutsideValue).toDouble()))
5758
{
5859
useNanForUnassignedValuesCheckBox_->setChecked(true);
5960
}
6061
}
6162

62-
void MapFieldDataOntoNodesDialog::setUseNanForUnassignedValues(int state)
63+
void MapFieldDataOntoElemsDialog::setUseNanForUnassignedValues(int state)
6364
{
6465
if (!pulling_)
6566
{

src/Interface/Modules/Fields/MapFieldDataOntoNodes.ui

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<rect>
77
<x>0</x>
88
<y>0</y>
9-
<width>408</width>
10-
<height>204</height>
9+
<width>405</width>
10+
<height>196</height>
1111
</rect>
1212
</property>
1313
<property name="sizePolicy">
@@ -28,6 +28,12 @@
2828
<layout class="QVBoxLayout" name="verticalLayout">
2929
<item>
3030
<widget class="QGroupBox" name="groupBox">
31+
<property name="minimumSize">
32+
<size>
33+
<width>380</width>
34+
<height>170</height>
35+
</size>
36+
</property>
3137
<property name="title">
3238
<string/>
3339
</property>
@@ -129,6 +135,12 @@
129135
</item>
130136
<item row="3" column="1">
131137
<widget class="QCheckBox" name="useNanForUnassignedValuesCheckBox_">
138+
<property name="sizePolicy">
139+
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
140+
<horstretch>0</horstretch>
141+
<verstretch>0</verstretch>
142+
</sizepolicy>
143+
</property>
132144
<property name="text">
133145
<string>Use NaN</string>
134146
</property>

0 commit comments

Comments
 (0)