From 2fb72fb906608b7ea610dc93464665d44c837c20 Mon Sep 17 00:00:00 2001 From: Edwin Leuven Date: Sat, 27 Mar 2010 17:37:41 +0000 Subject: [PATCH] hopefully fix the (re)sizing of the adv search/replace git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33883 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/FindAndReplace.h | 2 +- src/frontends/qt4/ui/FindAndReplaceUi.ui | 525 ++++++++++------------- 2 files changed, 231 insertions(+), 296 deletions(-) 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 - - + + + Basi&c + + + + + + &Find: + + + find_work_area_ + + + + + - + 0 0 - - Qt::NoFocus + + + + + + Replace &with: + + + replace_work_area_ + + + + + + + + 0 + 0 + + + + + + + + + 0 + 0 + - + Perform a case-sensitive search - - + + Case &sensitive - - Basi&c - - - - - - &Find: - - - find_work_area_ + + + + + + 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 + + + + + + false - - - - - Enter the text to search for in this full-featured LyX editing area + Current paragraph - - - - 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 - + Current &paragraph - - Perform a case-sensitive search - - - Case &sensitive + + false - - + + true - - Find next occurrence [Enter] - - Find &Next + Current &document - + true - - + + true + + + 0 + 0 + + - Restrict search to whole words only + Current document and all related documents belonging to the same master document - W&hole words + &Master document - - + + true - Replace and find next occurrence [Enter] - - - &Replace + All open documents - - - - - Search &backwards + &Open documents - - + + - false - - - Replace all occurences at once + true - Replace &All + All ma&nuals - - - - 0 - 0 - + + + + + true - + If unchecked, the search will be limited to occurrences of the selected text and paragraph style - - + + Ignore &format + + + true - - Ad&vanced - - - - - - 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 - - - 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 - - - - 13 - 168 - - - - - - - - + + + + + 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 -
-- 2.39.5