Skip to content

Commit 4623f34

Browse files
committed
Merge remote branch 'release-2018.11'
2 parents 03a1f5c + 38270fe commit 4623f34

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

modules/DynamicVolumeLines/dlg_DynamicVolumeLines.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969

7070
const double impInitValue = 0.025;
7171
const double offsetY = 1000;
72+
const QString plotColor = "DVL-Metro Colors (max. 17)"; // Brewer Qualitaive 1 (max. 8) // DVL-Metro Colors (max. 17)
7273

7374
void winModCallback(vtkObject *caller, long unsigned int vtkNotUsed(eventId),
7475
void* vtkNotUsed(client), void* vtkNotUsed(callData))
@@ -388,7 +389,7 @@ void dlg_DynamicVolumeLines::visualize()
388389
m_linearScaledPlot->graph()->setVisible(false);
389390
m_linearScaledPlot->graph()->setSelectable(QCP::stMultipleDataRanges);
390391
m_linearScaledPlot->graph()->setPen(getDatasetPen(it - m_DatasetIntensityMap.begin(),
391-
m_DatasetIntensityMap.size(), 2, "DVL-Metro Colors (max. 17)"));
392+
m_DatasetIntensityMap.size(), 2, plotColor));
392393
m_linearScaledPlot->graph()->setName(it->first);
393394
QCPScatterStyle scatter;
394395
scatter.setShape(QCPScatterStyle::ssNone); // Check ssDisc/ssDot to show single selected points
@@ -447,7 +448,7 @@ void dlg_DynamicVolumeLines::visualize()
447448
m_nonlinearScaledPlot->graph()->setVisible(false);
448449
m_nonlinearScaledPlot->graph()->setSelectable(QCP::stMultipleDataRanges);
449450
m_nonlinearScaledPlot->graph()->setPen(getDatasetPen(it - m_DatasetIntensityMap.begin(),
450-
m_DatasetIntensityMap.size(), 2, "DVL-Metro Colors (max. 17)"));
451+
m_DatasetIntensityMap.size(), 2, plotColor));
451452
m_nonlinearScaledPlot->graph()->setName(it->first);
452453
QCPScatterStyle scatter;
453454
scatter.setShape(QCPScatterStyle::ssNone); // Check ssDisc/ssDot to show single selected points

modules/DynamicVolumeLines/dlg_DynamicVolumeLines.ui

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,12 @@ then the visualization mode is switch from histogram heatmap to line plots</stri
283283
</item>
284284
<item>
285285
<widget class="QSpinBox" name="sb_RngSwtVal">
286+
<property name="minimumSize">
287+
<size>
288+
<width>0</width>
289+
<height>0</height>
290+
</size>
291+
</property>
286292
<property name="toolTip">
287293
<string>Range Switch Value: if the number of indices is below this value,
288294
then the visualization mode is switch from histogram heatmap to line plots</string>
@@ -291,7 +297,10 @@ then the visualization mode is switch from histogram heatmap to line plots</stri
291297
<number>50</number>
292298
</property>
293299
<property name="maximum">
294-
<number>65535</number>
300+
<number>100000</number>
301+
</property>
302+
<property name="value">
303+
<number>300</number>
295304
</property>
296305
</widget>
297306
</item>

0 commit comments

Comments
 (0)