]> SALOME platform Git repositories - modules/gui.git/blob - src/SalomeApp/pluginsdemo/minmax.ui
Salome HOME
Merge branch 'oscar/imps_2017'
[modules/gui.git] / src / SalomeApp / pluginsdemo / minmax.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>Dialog</class>
4  <widget class="QDialog" name="Dialog">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>178</width>
10     <height>156</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Get min and max value of control</string>
15   </property>
16   <property name="sizeGripEnabled">
17    <bool>true</bool>
18   </property>
19   <layout class="QGridLayout" name="gridLayout">
20    <item row="0" column="0">
21     <widget class="QLabel" name="label_2">
22      <property name="text">
23       <string>Mesh</string>
24      </property>
25     </widget>
26    </item>
27    <item row="0" column="1" colspan="2">
28     <widget class="QLineEdit" name="mesh">
29      <property name="readOnly">
30       <bool>true</bool>
31      </property>
32     </widget>
33    </item>
34    <item row="1" column="0">
35     <widget class="QLabel" name="label_3">
36      <property name="text">
37       <string>Control</string>
38      </property>
39     </widget>
40    </item>
41    <item row="1" column="1" colspan="2">
42     <widget class="QComboBox" name="control"/>
43    </item>
44    <item row="2" column="0">
45     <widget class="QLabel" name="label">
46      <property name="text">
47       <string>Min</string>
48      </property>
49     </widget>
50    </item>
51    <item row="2" column="1" colspan="2">
52     <widget class="QLineEdit" name="minvalue">
53      <property name="readOnly">
54       <bool>true</bool>
55      </property>
56     </widget>
57    </item>
58    <item row="3" column="0">
59     <widget class="QLabel" name="label_4">
60      <property name="text">
61       <string>Max</string>
62      </property>
63     </widget>
64    </item>
65    <item row="3" column="1" colspan="2">
66     <widget class="QLineEdit" name="maxvalue">
67      <property name="readOnly">
68       <bool>true</bool>
69      </property>
70     </widget>
71    </item>
72    <item row="4" column="0" colspan="3">
73     <widget class="QDialogButtonBox" name="buttonBox">
74      <property name="orientation">
75       <enum>Qt::Horizontal</enum>
76      </property>
77      <property name="standardButtons">
78       <set>QDialogButtonBox::Close|QDialogButtonBox::Help</set>
79      </property>
80     </widget>
81    </item>
82   </layout>
83  </widget>
84  <tabstops>
85   <tabstop>mesh</tabstop>
86   <tabstop>control</tabstop>
87   <tabstop>minvalue</tabstop>
88   <tabstop>maxvalue</tabstop>
89   <tabstop>buttonBox</tabstop>
90  </tabstops>
91  <resources/>
92  <connections>
93   <connection>
94    <sender>buttonBox</sender>
95    <signal>rejected()</signal>
96    <receiver>Dialog</receiver>
97    <slot>OnCancel()</slot>
98    <hints>
99     <hint type="sourcelabel">
100      <x>253</x>
101      <y>371</y>
102     </hint>
103     <hint type="destinationlabel">
104      <x>262</x>
105      <y>101</y>
106     </hint>
107    </hints>
108   </connection>
109   <connection>
110    <sender>buttonBox</sender>
111    <signal>helpRequested()</signal>
112    <receiver>Dialog</receiver>
113    <slot>helpMessage()</slot>
114    <hints>
115     <hint type="sourcelabel">
116      <x>131</x>
117      <y>373</y>
118     </hint>
119     <hint type="destinationlabel">
120      <x>131</x>
121      <y>64</y>
122     </hint>
123    </hints>
124   </connection>
125   <connection>
126    <sender>control</sender>
127    <signal>activated(QString)</signal>
128    <receiver>Dialog</receiver>
129    <slot>compute_minmax()</slot>
130    <hints>
131     <hint type="sourcelabel">
132      <x>250</x>
133      <y>137</y>
134     </hint>
135     <hint type="destinationlabel">
136      <x>131</x>
137      <y>81</y>
138     </hint>
139    </hints>
140   </connection>
141  </connections>
142  <slots>
143   <slot>compute_minmax()</slot>
144   <slot>helpMessage()</slot>
145   <slot>OnCancel()</slot>
146   <slot>OnOk()</slot>
147  </slots>
148 </ui>