void QgsAttributeForm::hideButtonBox() { mButtonBox->hide(); // Make sure that changes are taken into account if somebody tries to figure out if there have been some connect( mLayer, SIGNAL( beforeModifiedCheck() ), this, SLOT( save() ) ); }
void QgsAttributeForm::showButtonBox() { mButtonBox->show(); disconnect( mLayer, SIGNAL( beforeModifiedCheck() ), this, SLOT( save() ) ); }