21 #include "ui_elementinfopartwidget.h" 39 ui->label_->setText(translated_key);
40 ui->m_erase_text->setVisible(
false);
65 ui->line_edit->setText(txt);
74 return (
ui->line_edit->text());
82 ui->line_edit->setPlaceholderText(
text);
90 ui->line_edit->setFocus();
99 ui->line_edit->setEnabled(e);
108 ui->line_edit->setDisabled(d);
116 ui->m_erase_text->setVisible(visible);
125 ui->m_erase_text->setChecked(check);
133 return ui->m_erase_text->checkState();
139 ui->line_edit->setDisabled(
ui->m_erase_text->isChecked());
static QString eraseText()
static void setupLineEdit(QLineEdit *l, QCheckBox *cb, QString str)
SearchAndReplaceWorker::setupLineEdit With search and replace, when the variable to edit is a text...
The SearchAndReplaceWorker class This class is the worker use to change properties when use the searc...