diff --git a/sources/SearchAndReplace/ui/searchandreplacewidget.cpp b/sources/SearchAndReplace/ui/searchandreplacewidget.cpp index 5691521bf..7af52e3a8 100644 --- a/sources/SearchAndReplace/ui/searchandreplacewidget.cpp +++ b/sources/SearchAndReplace/ui/searchandreplacewidget.cpp @@ -212,11 +212,8 @@ void SearchAndReplaceWidget::setHideAdvanced(bool hide) const ui->m_tree_widget ->setHidden(hide); ui->m_replace_pb ->setHidden(hide); ui->m_replace_all_pb ->setHidden(hide); - ui->m_mode ->setHidden(hide); ui->m_mode_cb ->setHidden(hide); ui->m_case_sensitive_cb->setHidden(hide); - QSize size = ui->m_v_spacer->sizeHint(); - ui->m_v_spacer->changeSize(size.width(), size.height(), QSizePolicy::Minimum, hide ? QSizePolicy::Expanding : QSizePolicy::Ignored); } /** diff --git a/sources/SearchAndReplace/ui/searchandreplacewidget.ui b/sources/SearchAndReplace/ui/searchandreplacewidget.ui index cc44a5821..124eb3e1c 100644 --- a/sources/SearchAndReplace/ui/searchandreplacewidget.ui +++ b/sources/SearchAndReplace/ui/searchandreplacewidget.ui @@ -6,41 +6,66 @@ 0 0 - 1556 - 596 + 970 + 436 Form - - - 0 - - - 0 - - - 0 - - - 0 - - - + + + - Actualiser + Quitter - - :/ico/16x16/view-refresh.png:/ico/16x16/view-refresh.png + + :/ico/16x16/window-close.svg:/ico/16x16/window-close.svg + + + true - + + + + Chercher : + + + + + + + Mode + + + true + + + + Texte brut + + + + + Mots entiers + + + + + + + + Sensible à la casse + + + + Aller à la correspondance suivante @@ -49,15 +74,49 @@ - + :/ico/16x16/go-bottom.png:/ico/16x16/go-bottom.png - false + true - + + + + Aller à la correspondance précédente + + + + + + + :/ico/16x16/go-top.png:/ico/16x16/go-top.png + + + true + + + + + + + Actualiser + + + + + + + :/ico/16x16/view-refresh.png:/ico/16x16/view-refresh.png + + + true + + + + <html><head/><body><p>Afficher les options avancées</p></body></html> @@ -66,7 +125,7 @@ - + :/ico/16x16/configure-toolbars.png:/ico/16x16/configure-toolbars.png @@ -76,11 +135,94 @@ false - false + true - + + + + Remplacer : + + + + + + + Champ texte de folio + + + true + + + + + + + <html><head/><body><p>Définir les propriétés à remplacer dans les folios</p></body></html> + + + Folio + + + + + + + true + + + <html><head/><body><p>Définir les propriétés à remplacer dans les éléments</p></body></html> + + + Élément + + + + + + + <html><head/><body><p>Définir les propriétés à remplacer dans les conducteurs</p></body></html> + + + Conducteur + + + + + + + false + + + <html><head/><body><p>Remplacer la correspondance sélectionnée</p></body></html> + + + Remplacer + + + + + + + false + + + <html><head/><body><p>Remplacer les correspondances cochées</p></body></html> + + + Tout remplacer + + + + + + + true + + + + true @@ -101,193 +243,10 @@ - - - - Aller à la correspondance précédente - - - - - - - :/ico/16x16/go-top.png:/ico/16x16/go-top.png - - - false - - - - - - - Qt::Vertical - - - - 20 - 0 - - - - - - - - Quitter - - - - - - - :/ico/16x16/window-close.svg:/ico/16x16/window-close.svg - - - false - - - - - - - - - Remplacer : - - - - - - - true - - - - - - - true - - - <html><head/><body><p>Définir les propriétés à remplacer dans les éléments</p></body></html> - - - Élément - - - - - - - Champ texte de folio - - - true - - - - - - - Chercher : - - - - - - - <html><head/><body><p>Définir les propriétés à remplacer dans les conducteurs</p></body></html> - - - Conducteur - - - - - - - Mode : - - - - - - - <html><head/><body><p>Définir les propriétés à remplacer dans les folios</p></body></html> - - - Folio - - - - - - - true - - - - Texte brut - - - - - Mots entiers - - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - Sensible à la casse - - - - - - - - - false - - - <html><head/><body><p>Remplacer la correspondance sélectionnée</p></body></html> - - - Remplacer - - - - - - - false - - - <html><head/><body><p>Remplacer les correspondances cochées</p></body></html> - - - Tout remplacer - - - - + + +