tooltip="Distance from selected face to plane"
default="0" />
</case>
- <case id="PlaneByGeneralEquation" title="By palne equation parameters">
- <doublevalue id="A"
- label="A:"
- tooltip="The A parameter from general plane equation (Ax+By+Cz+D=0)"
- default="0" />
- <doublevalue id="B"
- label="B:"
- tooltip="The B parameter from general plane equation (Ax+By+Cz+D=0)"
- default="0" />
- <doublevalue id="C"
- label="C:"
- tooltip="The C parameter from general plane equation (Ax+By+Cz+D=0)"
- default="0" />
- <doublevalue id="D"
- label="D:"
- tooltip="The D parameter from general plane equation (Ax+By+Cz+D=0)"
- default="0" />
- </case>
</switch>
</source>
int aSuperCount = ModuleBase_PagedContainer::addPage(thePage, theName, theCaseId);
myCombo->addItem(theName);
int aResultCount = myCombo->count();
- if (aResultCount == 1)
+ if (aResultCount == 2)
myCombo->show();
QFrame* aFrame = dynamic_cast<QFrame*>(thePage);
aFrame->setFrameShape(QFrame::Box);