heightED->setValidator(unsignedLengthValidator(heightED));
fileED->setValidator(new PathValidator(true, fileED));
+ setFocusProxy(fileED);
}
void QExternalDialog::show()
{
QDialog::show();
- fileED->setFocus();
}
Width->setValidator(unsignedLengthValidator(Width));
filename->setValidator(new PathValidator(true, filename));
+ setFocusProxy(filename);
}
void QGraphicsDialog::show()
{
QDialog::show();
- if (form_->controller().params().filename.empty())
- filename->setFocus();
}
connect( previewCB, SIGNAL( clicked() ), this, SLOT( change_adaptor() ) );
filenameED->setValidator(new PathValidator(true, filenameED));
+ setFocusProxy(filenameED);
}
void QIncludeDialog::show()
{
QDialog::show();
- filenameED->setFocus();
}
connect( bufferCO, SIGNAL( activated(int) ),
this, SLOT( updateClicked() ) );
+ setFocusProxy(refsLW);
}
void QRefDialog::show()
{
QDialog::show();
- refsLW->setFocus();
}
void QSearchDialog::show()
{
QDialog::show();
- findCO->setFocus();
findCO->lineEdit()->setSelection(0, findCO->lineEdit()->text().length());
}