restrict tab create dialog to a reasonable size (bug 1152)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7323 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2003-07-19 18:53:11 +00:00
parent 15fdece6a3
commit efd0b4b341
2 changed files with 58 additions and 15 deletions

View File

@ -1,3 +1,7 @@
2003-07-19 John Levon <levon@movementarian.org>
* ui/QTabularCreateDialogBase.ui: set a max size (bug 1152)
2003-07-18 Lars Gullik Bjønnes <larsbj@gullik.net> 2003-07-18 Lars Gullik Bjønnes <larsbj@gullik.net>
* Qt2Base.h (controller): ditto * Qt2Base.h (controller): ditto

View File

@ -13,18 +13,18 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>265</width> <width>272</width>
<height>311</height> <height>243</height>
</rect> </rect>
</property> </property>
<property stdset="1">
<name>sizeGripEnabled</name>
<bool>true</bool>
</property>
<property stdset="1"> <property stdset="1">
<name>caption</name> <name>caption</name>
<string>Insert table</string> <string>Insert table</string>
</property> </property>
<property stdset="1">
<name>sizeGripEnabled</name>
<bool>true</bool>
</property>
<vbox> <vbox>
<property stdset="1"> <property stdset="1">
<name>margin</name> <name>margin</name>
@ -75,16 +75,16 @@
<cstring>rowsSB</cstring> <cstring>rowsSB</cstring>
</property> </property>
<property stdset="1"> <property stdset="1">
<name>minValue</name> <name>buttonSymbols</name>
<number>1</number> <enum>PlusMinus</enum>
</property> </property>
<property stdset="1"> <property stdset="1">
<name>maxValue</name> <name>maxValue</name>
<number>511</number> <number>511</number>
</property> </property>
<property stdset="1"> <property stdset="1">
<name>buttonSymbols</name> <name>minValue</name>
<enum>PlusMinus</enum> <number>1</number>
</property> </property>
<property> <property>
<name>toolTip</name> <name>toolTip</name>
@ -117,16 +117,16 @@
<cstring>columnsSB</cstring> <cstring>columnsSB</cstring>
</property> </property>
<property stdset="1"> <property stdset="1">
<name>minValue</name> <name>buttonSymbols</name>
<number>1</number> <enum>PlusMinus</enum>
</property> </property>
<property stdset="1"> <property stdset="1">
<name>maxValue</name> <name>maxValue</name>
<number>511</number> <number>511</number>
</property> </property>
<property stdset="1"> <property stdset="1">
<name>buttonSymbols</name> <name>minValue</name>
<enum>PlusMinus</enum> <number>1</number>
</property> </property>
<property> <property>
<name>toolTip</name> <name>toolTip</name>
@ -162,6 +162,20 @@
<name>name</name> <name>name</name>
<cstring>Layout3</cstring> <cstring>Layout3</cstring>
</property> </property>
<property stdset="1">
<name>minimumSize</name>
<size>
<width>100</width>
<height>100</height>
</size>
</property>
<property stdset="1">
<name>maximumSize</name>
<size>
<width>600</width>
<height>600</height>
</size>
</property>
<grid> <grid>
<property stdset="1"> <property stdset="1">
<name>margin</name> <name>margin</name>
@ -226,6 +240,24 @@
<vsizetype>5</vsizetype> <vsizetype>5</vsizetype>
</sizepolicy> </sizepolicy>
</property> </property>
<property stdset="1">
<name>minimumSize</name>
<size>
<width>100</width>
<height>100</height>
</size>
</property>
<property stdset="1">
<name>maximumSize</name>
<size>
<width>600</width>
<height>600</height>
</size>
</property>
<property stdset="1">
<name>focusPolicy</name>
<enum>NoFocus</enum>
</property>
<property> <property>
<name>toolTip</name> <name>toolTip</name>
<string>Resize this to the correct table dimensions</string> <string>Resize this to the correct table dimensions</string>
@ -303,7 +335,7 @@
<width>-1</width> <width>-1</width>
<height>-1</height> <height>-1</height>
</sizehint> </sizehint>
<container>0</container> <container>1</container>
<sizepolicy> <sizepolicy>
<hordata>5</hordata> <hordata>5</hordata>
<verdata>5</verdata> <verdata>5</verdata>
@ -361,4 +393,11 @@
<slot access="public">columnsChanged(int)</slot> <slot access="public">columnsChanged(int)</slot>
<slot access="public">rowsChanged(int)</slot> <slot access="public">rowsChanged(int)</slot>
</connections> </connections>
<tabstops>
<tabstop>rowsSB</tabstop>
<tabstop>columnsSB</tabstop>
<tabstop>table</tabstop>
<tabstop>okPB</tabstop>
<tabstop>closePB</tabstop>
</tabstops>
</UI> </UI>