rnc: small modification so that the width of the sketcher window doesn't change when clicking any radio button.

This commit is contained in:
gdd 2011-04-20 12:20:27 +00:00
parent 84e6fdc3cb
commit 4b3c8c2918

View File

@ -1,103 +1,83 @@
<ui version="4.0" > <?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>EntityGUI_Skeleton_QTD</class> <class>EntityGUI_Skeleton_QTD</class>
<widget class="QWidget" name="EntityGUI_Skeleton_QTD" > <widget class="QWidget" name="EntityGUI_Skeleton_QTD">
<property name="geometry" > <property name="geometry">
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>363</width> <width>380</width>
<height>234</height> <height>236</height>
</rect> </rect>
</property> </property>
<property name="windowTitle" > <property name="windowTitle">
<string>Form</string> <string>Form</string>
</property> </property>
<layout class="QGridLayout" > <layout class="QGridLayout">
<property name="leftMargin" > <property name="margin">
<number>0</number> <number>0</number>
</property> </property>
<property name="topMargin" > <property name="spacing">
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<property name="horizontalSpacing" >
<number>6</number> <number>6</number>
</property> </property>
<property name="verticalSpacing" > <item row="3" column="0">
<number>6</number> <widget class="QGroupBox" name="GroupButtons">
</property> <property name="sizePolicy">
<item row="3" column="0" > <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<widget class="QGroupBox" name="GroupButtons" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="title" > <property name="title">
<string/> <string/>
</property> </property>
<layout class="QHBoxLayout" > <layout class="QHBoxLayout">
<property name="spacing" > <property name="spacing">
<number>6</number> <number>6</number>
</property> </property>
<property name="leftMargin" > <property name="margin">
<number>9</number>
</property>
<property name="topMargin" >
<number>9</number>
</property>
<property name="rightMargin" >
<number>9</number>
</property>
<property name="bottomMargin" >
<number>9</number> <number>9</number>
</property> </property>
<item> <item>
<widget class="QPushButton" name="buttonEnd" > <widget class="QPushButton" name="buttonEnd">
<property name="text" > <property name="text">
<string>End Sketch</string> <string>End Sketch</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QPushButton" name="buttonClose" > <widget class="QPushButton" name="buttonClose">
<property name="text" > <property name="text">
<string>Close Sketch</string> <string>Close Sketch</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<spacer> <spacer>
<property name="orientation" > <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
<property name="sizeType" > <property name="sizeType">
<enum>QSizePolicy::Expanding</enum> <enum>QSizePolicy::MinimumExpanding</enum>
</property> </property>
<property name="sizeHint" > <property name="sizeHint" stdset="0">
<size> <size>
<width>91</width> <width>30</width>
<height>0</height> <height>0</height>
</size> </size>
</property> </property>
</spacer> </spacer>
</item> </item>
<item> <item>
<widget class="QPushButton" name="buttonCancel" > <widget class="QPushButton" name="buttonCancel">
<property name="text" > <property name="text">
<string>&amp;Cancel</string> <string>&amp;Cancel</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QPushButton" name="buttonHelp" > <widget class="QPushButton" name="buttonHelp">
<property name="text" > <property name="text">
<string>&amp;Help</string> <string>&amp;Help</string>
</property> </property>
</widget> </widget>
@ -105,79 +85,58 @@
</layout> </layout>
</widget> </widget>
</item> </item>
<item row="2" column="0" > <item row="2" column="0">
<widget class="QWidget" native="1" name="SkeletonCnt" /> <widget class="QWidget" name="SkeletonCnt" native="true"/>
</item> </item>
<item row="1" column="0" > <item row="1" column="0">
<widget class="QGroupBox" name="GroupDest" > <widget class="QGroupBox" name="GroupDest">
<property name="sizePolicy" > <property name="sizePolicy">
<sizepolicy vsizetype="Fixed" hsizetype="Expanding" > <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="title" > <property name="title">
<string>Destination</string> <string>Destination</string>
</property> </property>
<layout class="QGridLayout" > <layout class="QGridLayout">
<property name="leftMargin" > <property name="margin">
<number>9</number> <number>9</number>
</property> </property>
<property name="topMargin" > <property name="spacing">
<number>9</number>
</property>
<property name="rightMargin" >
<number>9</number>
</property>
<property name="bottomMargin" >
<number>9</number>
</property>
<property name="horizontalSpacing" >
<number>6</number> <number>6</number>
</property> </property>
<property name="verticalSpacing" > <item row="1" column="0">
<number>6</number> <widget class="QWidget" name="DestCnt" native="true"/>
</property>
<item row="1" column="0" >
<widget class="QWidget" native="1" name="DestCnt" />
</item> </item>
<item row="0" column="0" > <item row="0" column="0">
<widget class="QGroupBox" name="GroupDest1" > <widget class="QGroupBox" name="GroupDest1">
<property name="sizePolicy" > <property name="sizePolicy">
<sizepolicy vsizetype="Fixed" hsizetype="Expanding" > <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="title" > <property name="title">
<string>Type</string> <string>Type</string>
</property> </property>
<layout class="QHBoxLayout" > <layout class="QHBoxLayout">
<property name="spacing" > <property name="spacing">
<number>6</number> <number>6</number>
</property> </property>
<property name="leftMargin" > <property name="margin">
<number>9</number>
</property>
<property name="topMargin" >
<number>9</number>
</property>
<property name="rightMargin" >
<number>9</number>
</property>
<property name="bottomMargin" >
<number>9</number> <number>9</number>
</property> </property>
<item> <item>
<widget class="QRadioButton" name="RB_Dest1" > <widget class="QRadioButton" name="RB_Dest1">
<property name="text" > <property name="text">
<string>Point</string> <string>Point</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QRadioButton" name="RB_Dest2" > <widget class="QRadioButton" name="RB_Dest2">
<property name="text" > <property name="text">
<string>Direction</string> <string>Direction</string>
</property> </property>
</widget> </widget>
@ -188,43 +147,34 @@
</layout> </layout>
</widget> </widget>
</item> </item>
<item row="0" column="0" > <item row="0" column="0">
<widget class="QGroupBox" name="GroupConstructors" > <widget class="QGroupBox" name="GroupConstructors">
<property name="sizePolicy" > <property name="sizePolicy">
<sizepolicy vsizetype="Fixed" hsizetype="Preferred" > <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="title" > <property name="title">
<string>Element Type</string> <string>Element Type</string>
</property> </property>
<layout class="QHBoxLayout" > <layout class="QHBoxLayout">
<property name="spacing" > <property name="spacing">
<number>6</number> <number>6</number>
</property> </property>
<property name="leftMargin" > <property name="margin">
<number>9</number>
</property>
<property name="topMargin" >
<number>9</number>
</property>
<property name="rightMargin" >
<number>9</number>
</property>
<property name="bottomMargin" >
<number>9</number> <number>9</number>
</property> </property>
<item> <item>
<widget class="QRadioButton" name="RadioButton1" > <widget class="QRadioButton" name="RadioButton1">
<property name="text" > <property name="text">
<string>Segment</string> <string>Segment</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QRadioButton" name="RadioButton2" > <widget class="QRadioButton" name="RadioButton2">
<property name="text" > <property name="text">
<string>Arc</string> <string>Arc</string>
</property> </property>
</widget> </widget>