24 QPushButton* okButton = buttonBox->button( QDialogButtonBox::Ok );
25 connect( builder, SIGNAL( expressionParsed(
bool ) ), okButton, SLOT( setEnabled(
bool ) ) );
27 builder->setLayer( layer );
28 builder->setExpressionText( startText );
29 builder->loadFieldNames();
32 restoreGeometry( settings.value(
"/Windows/ExpressionBuilderDialog/geometry" ).toByteArray() );
42 builder->setExpressionText( text );
47 return builder->expressionText();
55 settings.setValue(
"/Windows/ExpressionBuilderDialog/geometry", saveGeometry() );
61 builder->setGeomCalculator( da );