Element info widget : set focus to the first line edit

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3807 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2015-03-05 10:26:09 +00:00
parent af54df2983
commit 8a4efc7fc1
4 changed files with 48 additions and 1 deletions

View File

@@ -87,3 +87,11 @@ void ElementInfoPartWidget::setShow(const bool &s) {
void ElementInfoPartWidget::setHideShow(const bool &hide) {
ui -> checkBox -> setHidden(hide);
}
/**
* @brief ElementInfoPartWidget::setFocusTolineEdit
* Set the focus to the line edit
*/
void ElementInfoPartWidget::setFocusTolineEdit() {
ui->line_edit->setFocus();
}