20 : QDialog( parent ), mRecentKey( key )
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();
33 restoreGeometry( settings.value(
"/Windows/ExpressionBuilderDialog/geometry" ).toByteArray() );
43 builder->setExpressionText( text );
48 return builder->expressionText();
56 settings.setValue(
"/Windows/ExpressionBuilderDialog/geometry", saveGeometry() );
68 builder->setGeomCalculator( da );