mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Start to revamp the code about formula and label of elements and conductors
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4791 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -99,3 +99,23 @@ void ElementInfoPartWidget::setHideShow(const bool &hide) {
|
||||
void ElementInfoPartWidget::setFocusTolineEdit() {
|
||||
ui->line_edit->setFocus();
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief ElementInfoPartWidget::setEnabled
|
||||
* enable the line edit
|
||||
* @param e
|
||||
*/
|
||||
void ElementInfoPartWidget::setEnabled(bool e)
|
||||
{
|
||||
ui->line_edit->setEnabled(e);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief ElementInfoPartWidget::setDisabled
|
||||
* disable the line edit
|
||||
* @param d
|
||||
*/
|
||||
void ElementInfoPartWidget::setDisabled(bool d)
|
||||
{
|
||||
ui->line_edit->setDisabled(d);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user