mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-03-14 13:29:58 +01:00
Correction of some french and english notions and correction of typos. Variable %machine changed in %plant.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5629 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -46,7 +46,7 @@ TitleBlockProperties ReplaceFolioWidget::titleBlockProperties() const
|
||||
prop.title = ui->m_title_le ->text();
|
||||
prop.author = ui->m_author_le->text();
|
||||
prop.filename = ui->m_file_le ->text();
|
||||
prop.machine = ui->m_mach ->text();
|
||||
prop.plant = ui->m_plant ->text();
|
||||
prop.locmach = ui->m_loc ->text();
|
||||
prop.indexrev = ui->m_indice ->text();
|
||||
prop.folio = ui->m_folio_le ->text();
|
||||
@@ -78,7 +78,7 @@ void ReplaceFolioWidget::setTitleBlockProperties(const TitleBlockProperties &pro
|
||||
ui->m_title_le ->setText (properties.title);
|
||||
ui->m_author_le->setText (properties.author);
|
||||
ui->m_file_le ->setText (properties.filename);
|
||||
ui->m_mach ->setText (properties.machine);
|
||||
ui->m_plant ->setText (properties.plant);
|
||||
ui->m_loc ->setText (properties.locmach);
|
||||
ui->m_indice ->setText (properties.indexrev);
|
||||
ui->m_folio_le ->setText (properties.folio);
|
||||
@@ -162,9 +162,9 @@ void ReplaceFolioWidget::on_m_folio_cb_clicked() {
|
||||
ui->m_folio_le->setDisabled(ui->m_folio_cb->isChecked());
|
||||
}
|
||||
|
||||
void ReplaceFolioWidget::on_m_mach_cb_clicked() {
|
||||
ui->m_mach->setText(ui->m_mach_cb->isChecked() ? SearchAndReplaceWorker::eraseText() : QString());
|
||||
ui->m_mach->setDisabled(ui->m_mach_cb->isChecked());
|
||||
void ReplaceFolioWidget::on_m_plant_cb_clicked() {
|
||||
ui->m_plant->setText(ui->m_plant_cb->isChecked() ? SearchAndReplaceWorker::eraseText() : QString());
|
||||
ui->m_plant->setDisabled(ui->m_plant_cb->isChecked());
|
||||
}
|
||||
|
||||
void ReplaceFolioWidget::on_m_loc_cb_clicked() {
|
||||
|
||||
@@ -47,7 +47,7 @@ class ReplaceFolioWidget : public QWidget
|
||||
void on_m_author_cb_clicked();
|
||||
void on_m_file_cb_clicked();
|
||||
void on_m_folio_cb_clicked();
|
||||
void on_m_mach_cb_clicked();
|
||||
void on_m_plant_cb_clicked();
|
||||
void on_m_loc_cb_clicked();
|
||||
void on_m_indice_cb_clicked();
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>710</width>
|
||||
<width>744</width>
|
||||
<height>705</height>
|
||||
</rect>
|
||||
</property>
|
||||
@@ -219,9 +219,9 @@ Les variables suivantes sont utilisables :
|
||||
</widget>
|
||||
</item>
|
||||
<item row="6" column="3">
|
||||
<widget class="QLineEdit" name="m_mach">
|
||||
<widget class="QLineEdit" name="m_plant">
|
||||
<property name="toolTip">
|
||||
<string>Disponible en tant que %machine pour les modèles de cartouches</string>
|
||||
<string><html><head/><body><p>Disponible en tant que %plant pour les modèles de cartouches</p></body></html></string>
|
||||
</property>
|
||||
<property name="placeholderText">
|
||||
<string>Ne pas modifier</string>
|
||||
@@ -276,7 +276,7 @@ Les variables suivantes sont utilisables :
|
||||
</widget>
|
||||
</item>
|
||||
<item row="6" column="4">
|
||||
<widget class="QCheckBox" name="m_mach_cb">
|
||||
<widget class="QCheckBox" name="m_plant_cb">
|
||||
<property name="toolTip">
|
||||
<string>Supprimer ce texte</string>
|
||||
</property>
|
||||
|
||||
@@ -659,7 +659,7 @@ QStringList SearchAndReplaceWidget::searchTerms(Diagram *diagram) const
|
||||
list.append(prop.title);
|
||||
list.append(prop.author);
|
||||
list.append(prop.filename);
|
||||
list.append(prop.machine);
|
||||
list.append(prop.plant);
|
||||
list.append(prop.locmach);
|
||||
list.append(prop.indexrev);
|
||||
list.append(prop.folio);
|
||||
|
||||
@@ -169,6 +169,9 @@
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Définir les propriétés à remplacer dans les éléments</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Élément</string>
|
||||
</property>
|
||||
@@ -196,6 +199,9 @@
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Définir les propriétés à remplacer dans les conducteurs</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Conducteur</string>
|
||||
</property>
|
||||
@@ -210,6 +216,9 @@
|
||||
</item>
|
||||
<item row="1" column="4">
|
||||
<widget class="QPushButton" name="m_folio_pb">
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Définir les propriétés à remplacer dans les folios</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Folio</string>
|
||||
</property>
|
||||
|
||||
Reference in New Issue
Block a user