Minimal width for tool's window is 300 px.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-05-28 13:05:19 +03:00
parent 1ab342bc64
commit 7e490b6d60
6 changed files with 93 additions and 105 deletions

View File

@ -6,19 +6,19 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>285</width> <width>300</width>
<height>245</height> <height>245</height>
</rect> </rect>
</property> </property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>285</width> <width>300</width>
<height>245</height> <height>245</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>285</width> <width>300</width>
<height>245</height> <height>245</height>
</size> </size>
</property> </property>

View File

@ -9,19 +9,19 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>286</width> <width>300</width>
<height>179</height> <height>179</height>
</rect> </rect>
</property> </property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>286</width> <width>300</width>
<height>179</height> <height>179</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>286</width> <width>300</width>
<height>179</height> <height>179</height>
</size> </size>
</property> </property>

View File

@ -6,19 +6,19 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>285</width> <width>300</width>
<height>146</height> <height>146</height>
</rect> </rect>
</property> </property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>285</width> <width>300</width>
<height>146</height> <height>146</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>285</width> <width>300</width>
<height>146</height> <height>146</height>
</size> </size>
</property> </property>

View File

@ -9,19 +9,19 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>250</width> <width>300</width>
<height>202</height> <height>202</height>
</rect> </rect>
</property> </property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>250</width> <width>300</width>
<height>202</height> <height>202</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>250</width> <width>300</width>
<height>202</height> <height>202</height>
</size> </size>
</property> </property>
@ -38,92 +38,80 @@
<property name="modal"> <property name="modal">
<bool>true</bool> <bool>true</bool>
</property> </property>
<widget class="QGroupBox" name="groupBox"> <layout class="QVBoxLayout" name="verticalLayout">
<property name="geometry"> <item>
<rect> <layout class="QHBoxLayout" name="horizontalLayout">
<x>10</x> <item>
<y>40</y> <widget class="QLineEdit" name="lineEditName">
<width>241</width> <property name="text">
<height>129</height> <string/>
</rect> </property>
</property> </widget>
<property name="maximumSize"> </item>
<size> <item>
<width>241</width> <widget class="QLabel" name="labelEditName">
<height>129</height> <property name="sizePolicy">
</size> <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
</property> <horstretch>0</horstretch>
<property name="toolTip"> <verstretch>0</verstretch>
<string>Coordinates on the sheet</string> </sizepolicy>
</property> </property>
<property name="title"> <property name="text">
<string>Coordinates</string> <string>Point label</string>
</property> </property>
<layout class="QGridLayout" name="gridLayout"> </widget>
<item row="1" column="1"> </item>
<widget class="QLabel" name="labelYCor"> </layout>
<property name="text"> </item>
<string>Y coordinate</string> <item>
</property> <widget class="QGroupBox" name="groupBox">
</widget> <property name="maximumSize">
</item> <size>
<item row="0" column="1"> <width>241</width>
<widget class="QLabel" name="labelXCor"> <height>129</height>
<property name="text"> </size>
<string>X coordinate</string> </property>
</property> <property name="toolTip">
</widget> <string>Coordinates on the sheet</string>
</item> </property>
<item row="0" column="0"> <property name="title">
<widget class="QDoubleSpinBox" name="doubleSpinBoxX"/> <string>Coordinates</string>
</item> </property>
<item row="1" column="0"> <layout class="QGridLayout" name="gridLayout">
<widget class="QDoubleSpinBox" name="doubleSpinBoxY"/> <item row="1" column="1">
</item> <widget class="QLabel" name="labelYCor">
</layout> <property name="text">
</widget> <string>Y coordinate</string>
<widget class="QLabel" name="labelEditName"> </property>
<property name="geometry"> </widget>
<rect> </item>
<x>170</x> <item row="0" column="1">
<y>10</y> <widget class="QLabel" name="labelXCor">
<width>81</width> <property name="text">
<height>17</height> <string>X coordinate</string>
</rect> </property>
</property> </widget>
<property name="text"> </item>
<string>Point label</string> <item row="0" column="0">
</property> <widget class="QDoubleSpinBox" name="doubleSpinBoxX"/>
</widget> </item>
<widget class="QLineEdit" name="lineEditName"> <item row="1" column="0">
<property name="geometry"> <widget class="QDoubleSpinBox" name="doubleSpinBoxY"/>
<rect> </item>
<x>15</x> </layout>
<y>9</y> </widget>
<width>146</width> </item>
<height>27</height> <item>
</rect> <widget class="QDialogButtonBox" name="buttonBox">
</property> <property name="orientation">
<property name="text"> <enum>Qt::Horizontal</enum>
<string/> </property>
</property> <property name="standardButtons">
</widget> <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
<widget class="QDialogButtonBox" name="buttonBox"> </property>
<property name="geometry"> </widget>
<rect> </item>
<x>20</x> </layout>
<y>170</y>
<width>221</width>
<height>27</height>
</rect>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
</widget> </widget>
<tabstops> <tabstops>
<tabstop>lineEditName</tabstop> <tabstop>lineEditName</tabstop>

View File

@ -6,19 +6,19 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>285</width> <width>300</width>
<height>212</height> <height>212</height>
</rect> </rect>
</property> </property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>285</width> <width>300</width>
<height>212</height> <height>212</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>285</width> <width>300</width>
<height>212</height> <height>212</height>
</size> </size>
</property> </property>

View File

@ -9,19 +9,19 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>244</width> <width>300</width>
<height>78</height> <height>78</height>
</rect> </rect>
</property> </property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>244</width> <width>300</width>
<height>78</height> <height>78</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>244</width> <width>300</width>
<height>78</height> <height>78</height>
</size> </size>
</property> </property>
@ -36,7 +36,7 @@
<bool>false</bool> <bool>false</bool>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<item> <item alignment="Qt::AlignHCenter">
<widget class="QLabel" name="label"> <widget class="QLabel" name="label">
<property name="text"> <property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Do you really want union details?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Do you really want union details?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>