Salome HOME
Copyright update 2021
[modules/yacs.git] / src / genericgui / FormEditItem.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>fm_editItem</class>
4  <widget class="QWidget" name="fm_editItem">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>216</width>
10     <height>134</height>
11    </rect>
12   </property>
13   <property name="sizePolicy">
14    <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
15     <horstretch>0</horstretch>
16     <verstretch>0</verstretch>
17    </sizepolicy>
18   </property>
19   <property name="windowTitle">
20    <string>Form</string>
21   </property>
22   <layout class="QGridLayout" name="gridLayout">
23    <property name="leftMargin">
24     <number>1</number>
25    </property>
26    <property name="topMargin">
27     <number>2</number>
28    </property>
29    <property name="rightMargin">
30     <number>1</number>
31    </property>
32    <property name="bottomMargin">
33     <number>1</number>
34    </property>
35    <item row="0" column="0">
36     <layout class="QGridLayout" name="gridLayout1">
37      <item row="0" column="0">
38       <layout class="QGridLayout" name="gridLayout3">
39        <item row="0" column="0">
40         <widget class="QLabel" name="la_type">
41          <property name="sizePolicy">
42           <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
43            <horstretch>0</horstretch>
44            <verstretch>0</verstretch>
45           </sizepolicy>
46          </property>
47          <property name="text">
48           <string>Type</string>
49          </property>
50         </widget>
51        </item>
52       </layout>
53      </item>
54      <item row="1" column="0">
55       <widget class="QLineEdit" name="le_name">
56        <property name="sizePolicy">
57         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
58          <horstretch>0</horstretch>
59          <verstretch>0</verstretch>
60         </sizepolicy>
61        </property>
62       </widget>
63      </item>
64     </layout>
65    </item>
66    <item row="1" column="0">
67     <spacer>
68      <property name="orientation">
69       <enum>Qt::Vertical</enum>
70      </property>
71      <property name="sizeHint" stdset="0">
72       <size>
73        <width>61</width>
74        <height>31</height>
75       </size>
76      </property>
77     </spacer>
78    </item>
79    <item row="2" column="0">
80     <layout class="QHBoxLayout">
81      <property name="sizeConstraint">
82       <enum>QLayout::SetDefaultConstraint</enum>
83      </property>
84      <item>
85       <widget class="QPushButton" name="pb_apply">
86        <property name="sizePolicy">
87         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
88          <horstretch>0</horstretch>
89          <verstretch>0</verstretch>
90         </sizepolicy>
91        </property>
92        <property name="text">
93         <string>Apply</string>
94        </property>
95       </widget>
96      </item>
97      <item>
98       <spacer>
99        <property name="orientation">
100         <enum>Qt::Horizontal</enum>
101        </property>
102        <property name="sizeHint" stdset="0">
103         <size>
104          <width>40</width>
105          <height>20</height>
106         </size>
107        </property>
108       </spacer>
109      </item>
110      <item>
111       <widget class="QPushButton" name="pb_cancel">
112        <property name="sizePolicy">
113         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
114          <horstretch>0</horstretch>
115          <verstretch>0</verstretch>
116         </sizepolicy>
117        </property>
118        <property name="text">
119         <string>Cancel Edition</string>
120        </property>
121       </widget>
122      </item>
123     </layout>
124    </item>
125   </layout>
126  </widget>
127  <resources/>
128  <connections>
129   <connection>
130    <sender>le_name</sender>
131    <signal>returnPressed()</signal>
132    <receiver>pb_apply</receiver>
133    <slot>click()</slot>
134    <hints>
135     <hint type="sourcelabel">
136      <x>133</x>
137      <y>68</y>
138     </hint>
139     <hint type="destinationlabel">
140      <x>47</x>
141      <y>144</y>
142     </hint>
143    </hints>
144   </connection>
145  </connections>
146 </ui>