Skip to content
Snippets Groups Projects
Commit e97264c1 authored by Mirko Wächter's avatar Mirko Wächter
Browse files

minor dialog tweaks

parent 14be4b4c
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -42,7 +42,6 @@ namespace armarx
buttonBox->setOrientation(Qt::Horizontal);
buttonBox->setStandardButtons(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
edit = new QLineEdit();
edit->resize(edit->height(), 150);
edit->setValidator(new QRegExpValidator(regExp));
QGridLayout* layout = new QGridLayout(this);
this->setLayout(layout);
......@@ -51,6 +50,8 @@ namespace armarx
layout->addWidget(buttonBox, 1, 0, 1, 2);
connect(buttonBox, SIGNAL(accepted()), this, SLOT(accept()));
connect(buttonBox, SIGNAL(rejected()), this, SLOT(reject()));
resize(250, height());
edit->setFocus();
}
QString RegExpValidatedInputDialog::getTextValue() const
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment