mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Master element : comment is displayed even if there isn't slave linked
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3414 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -70,6 +70,20 @@ bool ElementInfoPartWidget::mustShow() const {
|
||||
return (ui->checkBox->isChecked());
|
||||
}
|
||||
|
||||
void ElementInfoPartWidget::setShow(bool s) {
|
||||
/**
|
||||
* @brief ElementInfoPartWidget::setShow
|
||||
* Check or not the ckeck box
|
||||
* @param s true-> checked
|
||||
*/
|
||||
void ElementInfoPartWidget::setShow(const bool &s) {
|
||||
ui->checkBox->setChecked(s);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief ElementInfoPartWidget::setHideShow
|
||||
* Hide or not the check box
|
||||
* @param hide true -> hidden
|
||||
*/
|
||||
void ElementInfoPartWidget::setHideShow(const bool &hide) {
|
||||
ui -> checkBox -> setHidden(hide);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user