mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-08 14:49:58 +01:00
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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user