Kill disabled items of advanced search, they won't be implemented any time soon.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36271 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2010-11-12 20:55:33 +00:00
parent eaabcbf09b
commit ae4df32c25

View File

@ -1,7 +1,7 @@
<ui version="4.0"> <ui version="4.0" >
<class>FindAndReplaceUi</class> <class>FindAndReplaceUi</class>
<widget class="QTabWidget" name="FindAndReplaceUi"> <widget class="QTabWidget" name="FindAndReplaceUi" >
<property name="geometry"> <property name="geometry" >
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
@ -9,251 +9,235 @@
<height>300</height> <height>300</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle" >
<string>TabWidget</string> <string>TabWidget</string>
</property> </property>
<property name="currentIndex"> <property name="currentIndex" >
<number>0</number> <number>0</number>
</property> </property>
<widget class="QWidget" name="basicTab"> <widget class="QWidget" name="basicTab" >
<attribute name="title"> <attribute name="title" >
<string>Basi&amp;c</string> <string>Basi&amp;c</string>
</attribute> </attribute>
<layout class="QGridLayout" name="gridLayout"> <layout class="QGridLayout" name="gridLayout" >
<item row="0" column="0"> <item row="0" column="0" >
<widget class="QLabel" name="label"> <widget class="QLabel" name="label" >
<property name="text"> <property name="text" >
<string>&amp;Find:</string> <string>&amp;Find:</string>
</property> </property>
<property name="buddy"> <property name="buddy" >
<cstring>find_work_area_</cstring> <cstring>find_work_area_</cstring>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="0" colspan="2"> <item row="1" column="0" colspan="2" >
<widget class="lyx::frontend::EmbeddedWorkArea" name="find_work_area_" native="true"> <widget class="lyx::frontend::EmbeddedWorkArea" native="1" name="find_work_area_" >
<property name="sizePolicy"> <property name="sizePolicy" >
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> <sizepolicy vsizetype="MinimumExpanding" hsizetype="MinimumExpanding" >
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="0"> <item row="2" column="0" >
<widget class="QLabel" name="label_2"> <widget class="QLabel" name="label_2" >
<property name="text"> <property name="text" >
<string>Replace &amp;with:</string> <string>Replace &amp;with:</string>
</property> </property>
<property name="buddy"> <property name="buddy" >
<cstring>replace_work_area_</cstring> <cstring>replace_work_area_</cstring>
</property> </property>
</widget> </widget>
</item> </item>
<item row="3" column="0" colspan="2"> <item row="3" column="0" colspan="2" >
<widget class="lyx::frontend::EmbeddedWorkArea" name="replace_work_area_" native="true"> <widget class="lyx::frontend::EmbeddedWorkArea" native="1" name="replace_work_area_" >
<property name="sizePolicy"> <property name="sizePolicy" >
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> <sizepolicy vsizetype="MinimumExpanding" hsizetype="MinimumExpanding" >
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
</widget> </widget>
</item> </item>
<item row="4" column="0"> <item row="4" column="0" >
<widget class="QCheckBox" name="caseCB"> <widget class="QCheckBox" name="caseCB" >
<property name="sizePolicy"> <property name="sizePolicy" >
<sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="toolTip"> <property name="toolTip" >
<string>Perform a case-sensitive search</string> <string>Perform a case-sensitive search</string>
</property> </property>
<property name="text"> <property name="text" >
<string>Case &amp;sensitive</string> <string>Case &amp;sensitive</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="4" column="1"> <item row="4" column="1" >
<widget class="QPushButton" name="findNextPB"> <widget class="QPushButton" name="findNextPB" >
<property name="enabled"> <property name="enabled" >
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="sizePolicy"> <property name="sizePolicy" >
<sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
<horstretch>100</horstretch> <horstretch>100</horstretch>
<verstretch>32</verstretch> <verstretch>32</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="toolTip"> <property name="toolTip" >
<string>Find next occurrence [Enter]</string> <string>Find next occurrence [Enter]</string>
</property> </property>
<property name="text"> <property name="text" >
<string>Find &amp;Next</string> <string>Find &amp;Next</string>
</property> </property>
<property name="default"> <property name="default" >
<bool>true</bool> <bool>true</bool>
</property> </property>
</widget> </widget>
</item> </item>
<item row="5" column="0"> <item row="5" column="0" >
<widget class="QCheckBox" name="wordsCB"> <widget class="QCheckBox" name="wordsCB" >
<property name="enabled"> <property name="enabled" >
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="toolTip"> <property name="toolTip" >
<string>Restrict search to whole words only</string> <string>Restrict search to whole words only</string>
</property> </property>
<property name="text"> <property name="text" >
<string>W&amp;hole words</string> <string>W&amp;hole words</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="5" column="1"> <item row="5" column="1" >
<widget class="QPushButton" name="replacePB"> <widget class="QPushButton" name="replacePB" >
<property name="enabled"> <property name="enabled" >
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="sizePolicy"> <property name="sizePolicy" >
<sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
<horstretch>100</horstretch> <horstretch>100</horstretch>
<verstretch>32</verstretch> <verstretch>32</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="toolTip"> <property name="toolTip" >
<string>Replace and find next occurrence [Enter]</string> <string>Replace and find next occurrence [Enter]</string>
</property> </property>
<property name="text"> <property name="text" >
<string>&amp;Replace</string> <string>&amp;Replace</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="6" column="0"> <item row="6" column="0" >
<widget class="QCheckBox" name="searchbackCB"> <widget class="QCheckBox" name="searchbackCB" >
<property name="text"> <property name="text" >
<string>Search &amp;backwards</string> <string>Search &amp;backwards</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="6" column="1"> <item row="6" column="1" >
<widget class="QPushButton" name="replaceallPB"> <widget class="QPushButton" name="replaceallPB" >
<property name="enabled"> <property name="enabled" >
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="sizePolicy"> <property name="sizePolicy" >
<sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
<horstretch>100</horstretch> <horstretch>100</horstretch>
<verstretch>32</verstretch> <verstretch>32</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="toolTip"> <property name="toolTip" >
<string>Replace all occurences at once</string> <string>Replace all occurences at once</string>
</property> </property>
<property name="text"> <property name="text" >
<string>Replace &amp;All</string> <string>Replace &amp;All</string>
</property> </property>
</widget> </widget>
</item> </item>
</layout> </layout>
</widget> </widget>
<widget class="QWidget" name="advancedTab"> <widget class="QWidget" name="advancedTab" >
<attribute name="title"> <attribute name="title" >
<string>Ad&amp;vanced</string> <string>Ad&amp;vanced</string>
</attribute> </attribute>
<layout class="QGridLayout" name="gridLayout_2"> <layout class="QGridLayout" name="gridLayout_2" >
<item row="0" column="0" colspan="2"> <item row="0" column="0" colspan="2" >
<widget class="QGroupBox" name="groupBox_2"> <widget class="QGroupBox" name="groupBox_2" >
<property name="enabled"> <property name="enabled" >
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="minimumSize"> <property name="minimumSize" >
<size> <size>
<width>0</width> <width>0</width>
<height>0</height> <height>0</height>
</size> </size>
</property> </property>
<property name="toolTip"> <property name="toolTip" >
<string>The scope to which the search horizon is restricted</string> <string>The scope to which the search horizon is restricted</string>
</property> </property>
<property name="autoFillBackground"> <property name="autoFillBackground" >
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="title"> <property name="title" >
<string>Sco&amp;pe</string> <string>Sco&amp;pe</string>
</property> </property>
<property name="flat"> <property name="flat" >
<bool>false</bool> <bool>false</bool>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout" >
<item> <item>
<widget class="QRadioButton" name="CurrentParagraph"> <widget class="QRadioButton" name="CurrentDocument" >
<property name="enabled"> <property name="enabled" >
<bool>false</bool>
</property>
<property name="toolTip">
<string>Current paragraph</string>
</property>
<property name="text">
<string>Current &amp;paragraph</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="CurrentDocument">
<property name="enabled">
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="text"> <property name="text" >
<string>Current &amp;document</string> <string>Current &amp;document</string>
</property> </property>
<property name="checked"> <property name="checked" >
<bool>true</bool> <bool>true</bool>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QRadioButton" name="MasterDocument"> <widget class="QRadioButton" name="MasterDocument" >
<property name="enabled"> <property name="enabled" >
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="sizePolicy"> <property name="sizePolicy" >
<sizepolicy hsizetype="Minimum" vsizetype="Minimum"> <sizepolicy vsizetype="Minimum" hsizetype="Minimum" >
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="toolTip"> <property name="toolTip" >
<string>Current document and all related documents belonging to the same master document</string> <string>Current document and all related documents belonging to the same master document</string>
</property> </property>
<property name="text"> <property name="text" >
<string>&amp;Master document</string> <string>&amp;Master document</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QRadioButton" name="OpenDocuments"> <widget class="QRadioButton" name="OpenDocuments" >
<property name="enabled"> <property name="enabled" >
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="toolTip"> <property name="toolTip" >
<string>All open documents</string> <string>All open documents</string>
</property> </property>
<property name="text"> <property name="text" >
<string>&amp;Open documents</string> <string>&amp;Open documents</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QRadioButton" name="AllManualsRB"> <widget class="QRadioButton" name="AllManualsRB" >
<property name="enabled"> <property name="enabled" >
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="text"> <property name="text" >
<string>All ma&amp;nuals</string> <string>All ma&amp;nuals</string>
</property> </property>
</widget> </widget>
@ -261,48 +245,38 @@
</layout> </layout>
</widget> </widget>
</item> </item>
<item row="1" column="0"> <item row="1" column="0" >
<widget class="QCheckBox" name="ignoreFormatCB"> <widget class="QCheckBox" name="ignoreFormatCB" >
<property name="enabled"> <property name="enabled" >
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="toolTip"> <property name="toolTip" >
<string>If unchecked, the search will be limited to occurrences of the selected text and paragraph style</string> <string>If unchecked, the search will be limited to occurrences of the selected text and paragraph style</string>
</property> </property>
<property name="text"> <property name="text" >
<string>Ignore &amp;format</string> <string>Ignore &amp;format</string>
</property> </property>
<property name="checked"> <property name="checked" >
<bool>true</bool> <bool>true</bool>
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="0" colspan="2"> <item row="2" column="0" colspan="2" >
<widget class="QCheckBox" name="keepCaseCB"> <widget class="QCheckBox" name="keepCaseCB" >
<property name="toolTip"> <property name="toolTip" >
<string>Keep the case of the replacement's first letter as in each matching text first letter</string> <string>Keep the case of the replacement's first letter as in each matching text first letter</string>
</property> </property>
<property name="text"> <property name="text" >
<string>&amp;Preserve first case on replace</string> <string>&amp;Preserve first case on replace</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="3" column="0"> <item row="3" column="1" >
<widget class="QCheckBox" name="expandMacrosCB"> <spacer name="verticalSpacer" >
<property name="enabled"> <property name="orientation" >
<bool>false</bool>
</property>
<property name="text">
<string>&amp;Expand macros</string>
</property>
</widget>
</item>
<item row="4" column="1">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum> <enum>Qt::Vertical</enum>
</property> </property>
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0" >
<size> <size>
<width>105</width> <width>105</width>
<height>2</height> <height>2</height>