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