28 if (this->m_selectedEvalNode.GetPointer() != node)
30 this->m_selectedEvalNode = node;
36 : m_internalBlendUpdate(false), m_internalUpdate(false)
42 for (
unsigned int pos = 0; pos < sampleProp->Size(); ++pos)
44 this->comboStyle->insertItem(pos, QString::fromStdString(sampleProp->GetEnumString(pos)));
47 connect(comboStyle, SIGNAL(currentIndexChanged(
int)),
this, SLOT(
OnComboStyleChanged(
int)));
69 m_internalUpdate =
true;
70 this->comboStyle->setEnabled(this->m_selectedEvalNode.IsNotNull());
72 if (this->m_selectedEvalNode.IsNotNull())
79 this->comboStyle->setCurrentIndex(evalProp->
GetValueAsId());
84 this->sbBlend->setValue(factor);
88 this->sbChecker->setValue(count);
90 bool targetContour =
true;
92 this->radioTargetContour->setChecked(targetContour);
96 this->groupBlend->setVisible(
false);
97 this->groupCheck->setVisible(
false);
98 this->groupWipe->setVisible(
false);
99 this->groupContour->setVisible(
false);
101 m_internalUpdate =
false;
106 groupBlend->setVisible(index == 0);
107 groupCheck->setVisible(index == 2);
108 groupWipe->setVisible(index == 3);
109 groupContour->setVisible(index == 5);
111 if (m_selectedEvalNode.IsNotNull())
114 if (!m_internalUpdate)
123 sbBlend->setValue(50);
128 sbBlend->setValue(0);
133 sbBlend->setValue(100);
138 sbBlend->setValue(100 - sbBlend->value());
143 m_internalBlendUpdate =
true;
144 sbBlend->setValue(factor);
145 m_internalBlendUpdate =
false;
150 if (m_selectedEvalNode.IsNotNull())
154 if (!m_internalBlendUpdate)
156 this->slideBlend->setValue(factor);
158 if (!m_internalUpdate)
167 if (m_selectedEvalNode.IsNotNull())
170 if (!m_internalUpdate)
179 if (m_selectedEvalNode.IsNotNull())
181 if (this->radioWipeCross->isChecked())
185 else if (this->radioWipeH->isChecked())
194 if (!m_internalUpdate)
203 if (m_selectedEvalNode.IsNotNull())
206 if (!m_internalUpdate)
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.
virtual IdType GetValueAsId() const