Skip to content

Commit 93c997f

Browse files
added label for pixmap
1 parent fba703e commit 93c997f

File tree

2 files changed

+36
-5
lines changed

2 files changed

+36
-5
lines changed

src/Interface/Modules/Visualization/ShowColorMap.ui

Lines changed: 35 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@
3535
<property name="text">
3636
<string>Left</string>
3737
</property>
38+
<property name="checked">
39+
<bool>true</bool>
40+
</property>
3841
</widget>
3942
</item>
4043
<item>
@@ -69,13 +72,19 @@
6972
<property name="text">
7073
<string>First Half</string>
7174
</property>
75+
<property name="checked">
76+
<bool>false</bool>
77+
</property>
7278
</widget>
7379
</item>
7480
<item>
7581
<widget class="QRadioButton" name="secondHalfRadioButton_">
7682
<property name="text">
7783
<string>Second Half</string>
7884
</property>
85+
<property name="checked">
86+
<bool>true</bool>
87+
</property>
7988
</widget>
8089
</item>
8190
</layout>
@@ -110,6 +119,9 @@
110119
<property name="text">
111120
<string>M</string>
112121
</property>
122+
<property name="checked">
123+
<bool>true</bool>
124+
</property>
113125
</widget>
114126
</item>
115127
<item>
@@ -129,14 +141,21 @@
129141
</layout>
130142
</item>
131143
<item>
132-
<layout class="QHBoxLayout" name="horizontalLayout_4">
144+
<layout class="QHBoxLayout" name="horizontalLayout_4" stretch="1,1,1">
133145
<item>
134146
<widget class="QPushButton" name="textColorPushButton_">
135147
<property name="text">
136148
<string>Text Color</string>
137149
</property>
138150
</widget>
139151
</item>
152+
<item>
153+
<widget class="QLabel" name="textColorDisplayLabel_">
154+
<property name="text">
155+
<string/>
156+
</property>
157+
</widget>
158+
</item>
140159
<item>
141160
<spacer name="horizontalSpacer">
142161
<property name="orientation">
@@ -173,7 +192,11 @@
173192
</widget>
174193
</item>
175194
<item>
176-
<widget class="QLineEdit" name="labelsLineEdit_"/>
195+
<widget class="QLineEdit" name="labelsLineEdit_">
196+
<property name="text">
197+
<string>5</string>
198+
</property>
199+
</widget>
177200
</item>
178201
<item>
179202
<widget class="QLabel" name="label_3">
@@ -183,7 +206,11 @@
183206
</widget>
184207
</item>
185208
<item>
186-
<widget class="QLineEdit" name="scaleLineEdit_"/>
209+
<widget class="QLineEdit" name="scaleLineEdit_">
210+
<property name="text">
211+
<string>1.0</string>
212+
</property>
213+
</widget>
187214
</item>
188215
</layout>
189216
</item>
@@ -207,7 +234,11 @@
207234
</widget>
208235
</item>
209236
<item>
210-
<widget class="QLineEdit" name="sigDigitsLineEdit_"/>
237+
<widget class="QLineEdit" name="sigDigitsLineEdit_">
238+
<property name="text">
239+
<string>2</string>
240+
</property>
241+
</widget>
211242
</item>
212243
</layout>
213244
</item>

src/Interface/Modules/Visualization/ShowColorMapDialog.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ ShowColorMapDialog::ShowColorMapDialog(const std::string& name, ModuleStateHandl
5050
addLineEditManager(scaleLineEdit_, ShowColorMapModule::Scale);
5151
addLineEditManager(unitsLineEdit_, ShowColorMapModule::Units);
5252
addLineEditManager(sigDigitsLineEdit_, ShowColorMapModule::SignificantDigits);
53-
addCheckBoxManager(addExtraSpaceCheckBox_, ShowColorMapModule::AddExtraSpace);
53+
addCheckBoxManager(addExtraSpaceCheckBox_, ShowColorMapModule::AddExtraSpace);
5454
}
5555

5656
void ShowColorMapDialog::pull()

0 commit comments

Comments
 (0)