24 if (this->m_selectedEvalNode.GetPointer() != node)
26 this->m_selectedEvalNode = node;
32 : QWidget(parent), m_internalBlendUpdate(false), m_internalUpdate(false)
38 for (
unsigned int pos = 0; pos < sampleProp->Size(); ++pos)
40 this->comboStyle->insertItem(pos, QString::fromStdString(sampleProp->GetEnumString(pos)));
43 connect(comboStyle, SIGNAL(currentIndexChanged(
int)),
this, SLOT(
OnComboStyleChanged(
int)));
65 m_internalUpdate =
true;
66 this->comboStyle->setEnabled(this->m_selectedEvalNode.IsNotNull());
68 if (this->m_selectedEvalNode.IsNotNull())
75 this->comboStyle->setCurrentIndex(evalProp->
GetValueAsId());
80 this->sbBlend->setValue(factor);
84 this->sbChecker->setValue(count);
86 bool targetContour =
true;
88 this->radioTargetContour->setChecked(targetContour);
92 this->groupBlend->setVisible(
false);
93 this->groupCheck->setVisible(
false);
94 this->groupWipe->setVisible(
false);
95 this->groupContour->setVisible(
false);
97 m_internalUpdate =
false;
102 groupBlend->setVisible(index == 0);
103 groupCheck->setVisible(index == 2);
104 groupWipe->setVisible(index == 3);
105 groupContour->setVisible(index == 5);
107 if (m_selectedEvalNode.IsNotNull())
110 if (!m_internalUpdate)
119 sbBlend->setValue(50);
124 sbBlend->setValue(0);
129 sbBlend->setValue(100);
134 sbBlend->setValue(100 - sbBlend->value());
139 m_internalBlendUpdate =
true;
140 sbBlend->setValue(factor);
141 m_internalBlendUpdate =
false;
146 if (m_selectedEvalNode.IsNotNull())
150 if (!m_internalBlendUpdate)
152 this->slideBlend->setValue(factor);
154 if (!m_internalUpdate)
163 if (m_selectedEvalNode.IsNotNull())
166 if (!m_internalUpdate)
175 if (m_selectedEvalNode.IsNotNull())
177 if (this->radioWipeCross->isChecked())
181 else if (this->radioWipeH->isChecked())
190 if (!m_internalUpdate)
199 if (m_selectedEvalNode.IsNotNull())
202 if (!m_internalUpdate)
virtual IdType GetValueAsId() const
const char *const nodeProp_RegEvalCheckerCount
const char *const nodeProp_RegEvalBlendFactor
const char *const nodeProp_RegEvalWipeStyle
const char *const nodeProp_RegEvalStyle
const char *const nodeProp_RegEvalTargetContour
Class for nodes of the DataTree.