diff --git a/src/frontends/qt4/FindAndReplace.h b/src/frontends/qt4/FindAndReplace.h index 5b7587e58b..6e5a6577c5 100644 --- a/src/frontends/qt4/FindAndReplace.h +++ b/src/frontends/qt4/FindAndReplace.h @@ -30,7 +30,7 @@ namespace lyx { namespace frontend { -class FindAndReplaceWidget : public QWidget, public Ui::FindAndReplaceUi +class FindAndReplaceWidget : public QTabWidget, public Ui::FindAndReplaceUi { Q_OBJECT diff --git a/src/frontends/qt4/ui/FindAndReplaceUi.ui b/src/frontends/qt4/ui/FindAndReplaceUi.ui index 6279af9ffd..28759e856e 100644 --- a/src/frontends/qt4/ui/FindAndReplaceUi.ui +++ b/src/frontends/qt4/ui/FindAndReplaceUi.ui @@ -1,373 +1,308 @@ FindAndReplaceUi - + 0 0 - 247 - 341 + 234 + 262 - Find LyX Text + TabWidget - - + + 0 - - - - - Qt::NoFocus - - - - - - - - - false - - - 0 - - - - - 0 - 0 - + + + Basi&c + + + + + + &Find: - - Qt::NoFocus + + find_work_area_ - - - - - - - - Basi&c - - - - - - &Find: - - - find_work_area_ - - - - - - - Enter the text to search for in this full-featured LyX editing area - - - - - 0 - 0 - 192 - 57 - - - - - - - - - Replace &with: - - - replace_work_area_ - - - - - - - Enter the text to replace in this full-featured LyX editing area - - - - - 0 - 0 - 202 - 57 - - - - - - - - - - 0 - 0 - - - - Perform a case-sensitive search - - - Case &sensitive - - - - - - - true - - - Find next occurrence [Enter] - - - Find &Next - - - true - - - - - - - true - - - Restrict search to whole words only - - - W&hole words - - - - - - - true - - - Replace and find next occurrence [Enter] - - - &Replace - - - - - - - Search &backwards - - - - - - - false - - - Replace all occurences at once - - - Replace &All - - - - - + + + - + + 0 + 0 + + + + + + + + Replace &with: + + + replace_work_area_ + + + + + + + + 0 + 0 + + + + + + + + 0 0 - + Perform a case-sensitive search - - + + Case &sensitive - - Ad&vanced - - - - + + + + + + true + + + Find next occurrence [Enter] + + + Find &Next + + + true + + + + + + + true + + + Restrict search to whole words only + + + W&hole words + + + + + + + true + + + Replace and find next occurrence [Enter] + + + &Replace + + + + + + + Search &backwards + + + + + + + false + + + Replace all occurences at once + + + Replace &All + + + + + + + + Ad&vanced + + + + + + true + + + + 0 + 0 + + + + The scope to which the search horizon is restricted + + + false + + + Sco&pe + + + false + + + + - true - - - - 0 - 0 - - - - The scope to which the search horizon is restricted - - false - - Sco&pe - - - false - - - - - - false - - - Current paragraph - - - Current &paragraph - - - false - - - - - - - true - - - Current &document - - - true - - - - - - - true - - - - 0 - 0 - - - - Current document and all related documents belonging to the same master document - - - &Master document - - - - - - - true - - - All open documents - - - &Open documents - - - - - - - true - - - All ma&nuals - - - - - - - - - - true - - If unchecked, the search will be limited to occurrences of the selected text and paragraph style + Current paragraph - Ignore &format + Current &paragraph + + + false + + + + + + + true + + + Current &document true - - - - Keep the case of the replacement's first letter as in each matching text first letter - - - &Preserve first case on replace - - - - - + + - false + true + + + + 0 + 0 + + + + Current document and all related documents belonging to the same master document - &Expand macros + &Master document - - - - Qt::Vertical + + + + true - - - 13 - 168 - + + All open documents - + + &Open documents + + + + + + + true + + + All ma&nuals + + - - - + + + + + true + + + If unchecked, the search will be limited to occurrences of the selected text and paragraph style + + + Ignore &format + + + true + + + + + + + Keep the case of the replacement's first letter as in each matching text first letter + + + &Preserve first case on replace + + + + + + + false + + + &Expand macros + + + + + + + Qt::Vertical + + + + 105 + 2 + + + + + + lyx::frontend::EmbeddedWorkArea - QScrollArea -
GuiWorkArea.h
+ QWidget +
GuiWorkArea.h
1
- - qt_helpers.h -