mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 14:50:53 +01:00
Improve some code and gui
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5643 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -236,7 +236,7 @@ void SearchAndReplaceWorker::replaceConductor(Conductor *conductor)
|
||||
* With search and replace, when the variable to edit is a text,
|
||||
* the editor is always the same no matter if it is for a folio, element or conductor.
|
||||
* The editor is a QLineEdit to edit the text and checkbox to erase the text if checked.
|
||||
* This function fill the editor
|
||||
* This function fill the editor, from the current string
|
||||
* @param l
|
||||
* @param cb
|
||||
* @param str
|
||||
@@ -245,6 +245,7 @@ void SearchAndReplaceWorker::setupLineEdit(QLineEdit *l, QCheckBox *cb, QString
|
||||
{
|
||||
l->setText(str);
|
||||
cb->setChecked(str == eraseText() ? true : false);
|
||||
l->setDisabled(str == eraseText() ? true : false);
|
||||
}
|
||||
|
||||
ConductorProperties SearchAndReplaceWorker::invalidConductorProperties()
|
||||
|
||||
Reference in New Issue
Block a user