25 :
PropertyEditor(property), m_BoolProperty(property), m_CheckBox(checkBox)
32 m_CheckBox->setChecked(m_BoolProperty->GetValue());
38 m_BoolProperty =
nullptr;
40 m_CheckBox->blockSignals(
true);
41 m_CheckBox->setTristate(
true);
42 m_CheckBox->setCheckState(Qt::PartiallyChecked);
43 m_CheckBox->setEnabled(
false);
44 m_CheckBox->blockSignals(
false);
47 void ValueChanged(
bool value)
50 m_BoolProperty->SetValue(value);
56 QCheckBox *m_CheckBox;
63 connect(
this, SIGNAL(toggled(
bool)),
this, SLOT(
onToggle(
bool)));
67 : QCheckBox(text, parent), m_PropEditorImpl(nullptr)
71 connect(
this, SIGNAL(toggled(
bool)),
this, SLOT(
onToggle(
bool)));
90 setCheckState(Qt::PartiallyChecked);
virtual void PropertyRemoved()=0
mitk::BaseProperty * m_Property
PropertyEditor(mitk::BaseProperty *)
virtual void PropertyChanged()=0
void BeginModifyProperty()