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
This commit is contained in:
Edwin Leuven 2010-03-27 17:37:41 +00:00
parent f84a611775
commit 2fb72fb906
2 changed files with 254 additions and 319 deletions

View File

@ -30,7 +30,7 @@
namespace lyx { namespace lyx {
namespace frontend { namespace frontend {
class FindAndReplaceWidget : public QWidget, public Ui::FindAndReplaceUi class FindAndReplaceWidget : public QTabWidget, public Ui::FindAndReplaceUi
{ {
Q_OBJECT Q_OBJECT

View File

@ -1,54 +1,21 @@
<ui version="4.0"> <ui version="4.0">
<class>FindAndReplaceUi</class> <class>FindAndReplaceUi</class>
<widget class="QWidget" 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>
<width>247</width> <width>234</width>
<height>341</height> <height>262</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Find LyX Text</string> <string>TabWidget</string>
</property>
<property name="toolTip">
<string/>
</property>
<layout class="QGridLayout" name="gridLayout_4">
<item row="0" column="0">
<widget class="QTabWidget" name="tabWidget">
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="toolTip">
<string/>
</property>
<property name="statusTip">
<string/>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</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">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="toolTip">
<string/>
</property>
<property name="statusTip">
<string/>
</property>
<attribute name="title"> <attribute name="title">
<string>Basi&amp;c</string> <string>Basi&amp;c</string>
</attribute> </attribute>
@ -64,20 +31,13 @@
</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_"> <widget class="lyx::frontend::EmbeddedWorkArea" name="find_work_area_" native="true">
<property name="toolTip"> <property name="sizePolicy">
<string>Enter the text to search for in this full-featured LyX editing area</string> <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property> </property>
<widget class="QWidget" name="find_scroll_area_">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>192</width>
<height>57</height>
</rect>
</property>
</widget>
</widget> </widget>
</item> </item>
<item row="2" column="0"> <item row="2" column="0">
@ -91,20 +51,13 @@
</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_"> <widget class="lyx::frontend::EmbeddedWorkArea" name="replace_work_area_" native="true">
<property name="toolTip"> <property name="sizePolicy">
<string>Enter the text to replace in this full-featured LyX editing area</string> <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property> </property>
<widget class="QWidget" name="replace_scroll_area_">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>202</width>
<height>57</height>
</rect>
</property>
</widget>
</widget> </widget>
</item> </item>
<item row="4" column="0"> <item row="4" column="0">
@ -187,23 +140,11 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<widget class="QWidget" name="AdvancedTab"> <widget class="QWidget" name="advancedTab">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string/>
</property>
<property name="statusTip">
<string/>
</property>
<attribute name="title"> <attribute name="title">
<string>Ad&amp;vanced</string> <string>Ad&amp;vanced</string>
</attribute> </attribute>
<layout class="QGridLayout" name="gridLayout_3"> <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">
@ -345,8 +286,8 @@
</property> </property>
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
<width>13</width> <width>105</width>
<height>168</height> <height>2</height>
</size> </size>
</property> </property>
</spacer> </spacer>
@ -354,20 +295,14 @@
</layout> </layout>
</widget> </widget>
</widget> </widget>
</item>
</layout>
</widget>
<customwidgets> <customwidgets>
<customwidget> <customwidget>
<class>lyx::frontend::EmbeddedWorkArea</class> <class>lyx::frontend::EmbeddedWorkArea</class>
<extends>QScrollArea</extends> <extends>QWidget</extends>
<header location="global">GuiWorkArea.h</header> <header>GuiWorkArea.h</header>
<container>1</container> <container>1</container>
</customwidget> </customwidget>
</customwidgets> </customwidgets>
<includes>
<include location="local">qt_helpers.h</include>
</includes>
<resources/> <resources/>
<connections/> <connections/>
</ui> </ui>