Make windows size unchangeable.

--HG--
branch : develop
This commit is contained in:
dismine 2014-06-24 14:20:18 +03:00
parent d3626a5b61
commit 29b36745fe
4 changed files with 257 additions and 221 deletions

View File

@ -16,6 +16,18 @@
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="minimumSize">
<size>
<width>393</width>
<height>356</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>393</width>
<height>356</height>
</size>
</property>
<property name="cursor"> <property name="cursor">
<cursorShape>ArrowCursor</cursorShape> <cursorShape>ArrowCursor</cursorShape>
</property> </property>
@ -35,37 +47,8 @@
<property name="modal"> <property name="modal">
<bool>true</bool> <bool>true</bool>
</property> </property>
<widget class="QDialogButtonBox" name="buttonBox"> <layout class="QVBoxLayout" name="verticalLayout">
<property name="geometry"> <item>
<rect>
<x>0</x>
<y>320</y>
<width>401</width>
<height>41</height>
</rect>
</property>
<property name="autoFillBackground">
<bool>true</bool>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Ok</set>
</property>
<property name="centerButtons">
<bool>true</bool>
</property>
</widget>
<widget class="QWidget" name="horizontalLayoutWidget">
<property name="geometry">
<rect>
<x>9</x>
<y>9</y>
<width>381</width>
<height>301</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout"> <layout class="QHBoxLayout" name="horizontalLayout">
<property name="spacing"> <property name="spacing">
<number>4</number> <number>4</number>
@ -263,7 +246,24 @@ p, li { white-space: pre-wrap; }
</layout> </layout>
</item> </item>
</layout> </layout>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="autoFillBackground">
<bool>true</bool>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Ok</set>
</property>
<property name="centerButtons">
<bool>true</bool>
</property>
</widget> </widget>
</item>
</layout>
</widget> </widget>
<resources> <resources>
<include location="../../share/resources/icon.qrc"/> <include location="../../share/resources/icon.qrc"/>

View File

@ -10,6 +10,18 @@
<height>244</height> <height>244</height>
</rect> </rect>
</property> </property>
<property name="minimumSize">
<size>
<width>385</width>
<height>244</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>385</width>
<height>244</height>
</size>
</property>
<property name="windowTitle"> <property name="windowTitle">
<string>Measurements</string> <string>Measurements</string>
</property> </property>

View File

@ -13,6 +13,18 @@
<height>145</height> <height>145</height>
</rect> </rect>
</property> </property>
<property name="minimumSize">
<size>
<width>387</width>
<height>145</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>387</width>
<height>145</height>
</size>
</property>
<property name="windowTitle"> <property name="windowTitle">
<string>Broken formula</string> <string>Broken formula</string>
</property> </property>

View File

@ -10,6 +10,18 @@
<height>78</height> <height>78</height>
</rect> </rect>
</property> </property>
<property name="minimumSize">
<size>
<width>244</width>
<height>78</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>244</width>
<height>78</height>
</size>
</property>
<property name="windowTitle"> <property name="windowTitle">
<string>Union details</string> <string>Union details</string>
</property> </property>