void ModuleBase_WidgetCheckGroupBox::onPageClicked()
{
storeValue();
- updatePagesVisibility();
+ updateControlsVisibility();
}
void ModuleBase_WidgetCheckGroupBox::addPageStretch()
ModuleBase_ModelWidget* aCheckBoxWidget = myCheckBoxWidget;
myCheckBoxWidget = 0;
- if (aCheckBoxWidget)
+ if (aCheckBoxWidget) // move the model widget from check box frame to group box frame
placeModelWidget(aCheckBoxWidget);
const int kCol = 0;
{
createControl(GroupBox);
setOptionType(GroupBox);
- if (isCheckBoxFilled()) {
+ if (isCheckBoxFilled())
placeModelWidget(myCheckBoxWidget);
- }
+
if (!theWidget) {
#ifdef _DEBUG
myCheckBox->setChecked(theValue);
myCheckBox->blockSignals(isBlocked);
}
- updatePagesVisibility();
+ updateControlsVisibility();
}
-void ModuleBase_WidgetCheckGroupBox::updatePagesVisibility()
+void ModuleBase_WidgetCheckGroupBox::updateControlsVisibility()
{
if (myOptionType == GroupBox) {
bool aChecked = myGroupBox->isChecked();