Salome HOME
Modif Hexablock.py
[modules/hexablock.git] / src / HEXABLOCKGUI / MakeGrid_QTD.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>MakeGridDialog</class>
4  <widget class="QDialog" name="MakeGridDialog">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>383</width>
10     <height>727</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="minimumSize">
20    <size>
21     <width>0</width>
22     <height>280</height>
23    </size>
24   </property>
25   <property name="maximumSize">
26    <size>
27     <width>16777215</width>
28     <height>16777215</height>
29    </size>
30   </property>
31   <property name="windowTitle">
32    <string>Cartesian Grid Construction</string>
33   </property>
34   <property name="sizeGripEnabled">
35    <bool>false</bool>
36   </property>
37   <layout class="QVBoxLayout" name="verticalLayout_2">
38    <item>
39     <widget class="QGroupBox" name="groupBox">
40      <property name="sizePolicy">
41       <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
42        <horstretch>0</horstretch>
43        <verstretch>0</verstretch>
44       </sizepolicy>
45      </property>
46      <property name="minimumSize">
47       <size>
48        <width>5</width>
49        <height>0</height>
50       </size>
51      </property>
52      <property name="title">
53       <string/>
54      </property>
55      <layout class="QHBoxLayout" name="horizontalLayout">
56       <property name="sizeConstraint">
57        <enum>QLayout::SetDefaultConstraint</enum>
58       </property>
59       <item>
60        <widget class="QRadioButton" name="rb0">
61         <property name="sizePolicy">
62          <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
63           <horstretch>0</horstretch>
64           <verstretch>0</verstretch>
65          </sizepolicy>
66         </property>
67         <property name="text">
68          <string>Simple</string>
69         </property>
70         <property name="checked">
71          <bool>true</bool>
72         </property>
73        </widget>
74       </item>
75       <item>
76        <widget class="QRadioButton" name="rb1">
77         <property name="sizePolicy">
78          <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
79           <horstretch>0</horstretch>
80           <verstretch>0</verstretch>
81          </sizepolicy>
82         </property>
83         <property name="text">
84          <string>Uniform</string>
85         </property>
86        </widget>
87       </item>
88       <item>
89        <widget class="QRadioButton" name="rb2">
90         <property name="text">
91          <string>Custom</string>
92         </property>
93        </widget>
94       </item>
95      </layout>
96     </widget>
97    </item>
98    <item>
99     <widget class="QScrollArea" name="scrollArea">
100      <property name="sizePolicy">
101       <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
102        <horstretch>0</horstretch>
103        <verstretch>0</verstretch>
104       </sizepolicy>
105      </property>
106      <property name="minimumSize">
107       <size>
108        <width>5</width>
109        <height>0</height>
110       </size>
111      </property>
112      <property name="maximumSize">
113       <size>
114        <width>16777215</width>
115        <height>16777215</height>
116       </size>
117      </property>
118      <property name="horizontalScrollBarPolicy">
119       <enum>Qt::ScrollBarAsNeeded</enum>
120      </property>
121      <property name="widgetResizable">
122       <bool>true</bool>
123      </property>
124      <widget class="QWidget" name="scrollAreaWidgetContents">
125       <property name="geometry">
126        <rect>
127         <x>0</x>
128         <y>0</y>
129         <width>363</width>
130         <height>643</height>
131        </rect>
132       </property>
133       <layout class="QVBoxLayout" name="verticalLayout_3">
134        <item>
135         <widget class="QWidget" name="widget" native="true">
136          <layout class="QFormLayout" name="formLayout_2">
137           <item row="0" column="0">
138            <widget class="QLabel" name="label">
139             <property name="text">
140              <string>origin</string>
141             </property>
142            </widget>
143           </item>
144           <item row="0" column="1">
145            <widget class="QLineEdit" name="center_le">
146             <property name="sizePolicy">
147              <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
148               <horstretch>0</horstretch>
149               <verstretch>0</verstretch>
150              </sizepolicy>
151             </property>
152             <property name="maximumSize">
153              <size>
154               <width>16777215</width>
155               <height>16777215</height>
156              </size>
157             </property>
158             <property name="toolTip">
159              <string>Select a point (vertex)
160 </string>
161             </property>
162             <property name="readOnly">
163              <bool>false</bool>
164             </property>
165            </widget>
166           </item>
167           <item row="5" column="0">
168            <widget class="QLabel" name="label_4">
169             <property name="text">
170              <string>vec Z</string>
171             </property>
172            </widget>
173           </item>
174           <item row="5" column="1">
175            <widget class="QLineEdit" name="axis_le">
176             <property name="maximumSize">
177              <size>
178               <width>16777215</width>
179               <height>16777215</height>
180              </size>
181             </property>
182             <property name="toolTip">
183              <string>Select a vector</string>
184             </property>
185             <property name="readOnly">
186              <bool>false</bool>
187             </property>
188            </widget>
189           </item>
190           <item row="2" column="1">
191            <widget class="QLineEdit" name="base_le">
192             <property name="maximumSize">
193              <size>
194               <width>16777215</width>
195               <height>16777215</height>
196              </size>
197             </property>
198             <property name="toolTip">
199              <string>Select a vector</string>
200             </property>
201             <property name="readOnly">
202              <bool>false</bool>
203             </property>
204            </widget>
205           </item>
206           <item row="2" column="0">
207            <widget class="QLabel" name="label_2">
208             <property name="text">
209              <string>vec X</string>
210             </property>
211            </widget>
212           </item>
213           <item row="3" column="0">
214            <widget class="QLabel" name="label_9">
215             <property name="text">
216              <string>vec Y</string>
217             </property>
218            </widget>
219           </item>
220           <item row="3" column="1">
221            <widget class="QLineEdit" name="vec_le">
222             <property name="sizePolicy">
223              <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
224               <horstretch>0</horstretch>
225               <verstretch>0</verstretch>
226              </sizepolicy>
227             </property>
228             <property name="maximumSize">
229              <size>
230               <width>16777215</width>
231               <height>16777215</height>
232              </size>
233             </property>
234             <property name="readOnly">
235              <bool>false</bool>
236             </property>
237            </widget>
238           </item>
239          </layout>
240         </widget>
241        </item>
242        <item>
243         <widget class="QWidget" name="lxyz_widget" native="true">
244          <property name="sizePolicy">
245           <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
246            <horstretch>0</horstretch>
247            <verstretch>0</verstretch>
248           </sizepolicy>
249          </property>
250          <property name="minimumSize">
251           <size>
252            <width>0</width>
253            <height>0</height>
254           </size>
255          </property>
256          <layout class="QFormLayout" name="formLayout_3">
257           <item row="0" column="0">
258            <widget class="QLabel" name="label_3">
259             <property name="text">
260              <string>len X</string>
261             </property>
262            </widget>
263           </item>
264           <item row="0" column="1">
265            <widget class="QDoubleSpinBox" name="lx_spb">
266             <property name="decimals">
267              <number>6</number>
268             </property>
269             <property name="value">
270              <double>1.000000000000000</double>
271             </property>
272            </widget>
273           </item>
274           <item row="1" column="0">
275            <widget class="QLabel" name="label_5">
276             <property name="text">
277              <string>len Y</string>
278             </property>
279            </widget>
280           </item>
281           <item row="1" column="1">
282            <widget class="QDoubleSpinBox" name="ly_spb">
283             <property name="decimals">
284              <number>6</number>
285             </property>
286             <property name="value">
287              <double>1.000000000000000</double>
288             </property>
289            </widget>
290           </item>
291           <item row="2" column="0">
292            <widget class="QLabel" name="label_6">
293             <property name="text">
294              <string>len Z</string>
295             </property>
296            </widget>
297           </item>
298           <item row="2" column="1">
299            <widget class="QDoubleSpinBox" name="lz_spb">
300             <property name="decimals">
301              <number>6</number>
302             </property>
303             <property name="value">
304              <double>1.000000000000000</double>
305             </property>
306            </widget>
307           </item>
308          </layout>
309         </widget>
310        </item>
311        <item>
312         <widget class="QWidget" name="cartesian_widget" native="true">
313          <property name="sizePolicy">
314           <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
315            <horstretch>0</horstretch>
316            <verstretch>0</verstretch>
317           </sizepolicy>
318          </property>
319          <property name="minimumSize">
320           <size>
321            <width>0</width>
322            <height>0</height>
323           </size>
324          </property>
325          <layout class="QFormLayout" name="formLayout">
326           <item row="0" column="0">
327            <widget class="QLabel" name="label_12">
328             <property name="text">
329              <string>nb X</string>
330             </property>
331            </widget>
332           </item>
333           <item row="0" column="1">
334            <widget class="QSpinBox" name="nx_spb">
335             <property name="minimum">
336              <number>1</number>
337             </property>
338             <property name="maximum">
339              <number>1000000</number>
340             </property>
341             <property name="value">
342              <number>4</number>
343             </property>
344            </widget>
345           </item>
346           <item row="1" column="0">
347            <widget class="QLabel" name="label_13">
348             <property name="text">
349              <string>nb Y</string>
350             </property>
351            </widget>
352           </item>
353           <item row="1" column="1">
354            <widget class="QSpinBox" name="ny_spb">
355             <property name="minimum">
356              <number>1</number>
357             </property>
358             <property name="maximum">
359              <number>1000000</number>
360             </property>
361             <property name="value">
362              <number>8</number>
363             </property>
364            </widget>
365           </item>
366           <item row="2" column="0">
367            <widget class="QLabel" name="label_14">
368             <property name="text">
369              <string>nb Z </string>
370             </property>
371            </widget>
372           </item>
373           <item row="2" column="1">
374            <widget class="QSpinBox" name="nz_spb">
375             <property name="minimum">
376              <number>1</number>
377             </property>
378             <property name="maximum">
379              <number>1000000</number>
380             </property>
381             <property name="value">
382              <number>4</number>
383             </property>
384            </widget>
385           </item>
386          </layout>
387         </widget>
388        </item>
389        <item>
390         <widget class="QTabWidget" name="random_param_w">
391          <property name="sizePolicy">
392           <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
393            <horstretch>0</horstretch>
394            <verstretch>0</verstretch>
395           </sizepolicy>
396          </property>
397          <property name="currentIndex">
398           <number>1</number>
399          </property>
400          <widget class="QWidget" name="ext_radius_tab">
401           <attribute name="title">
402            <string>X</string>
403           </attribute>
404           <layout class="QGridLayout" name="gridLayout_2">
405            <item row="0" column="0">
406             <widget class="QPushButton" name="add_radius_pb">
407              <property name="enabled">
408               <bool>true</bool>
409              </property>
410              <property name="sizePolicy">
411               <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
412                <horstretch>0</horstretch>
413                <verstretch>0</verstretch>
414               </sizepolicy>
415              </property>
416              <property name="text">
417               <string>+</string>
418              </property>
419             </widget>
420            </item>
421            <item row="0" column="1" rowspan="4">
422             <widget class="QListWidget" name="radius_lw">
423              <property name="sizePolicy">
424               <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
425                <horstretch>0</horstretch>
426                <verstretch>0</verstretch>
427               </sizepolicy>
428              </property>
429             </widget>
430            </item>
431            <item row="1" column="0">
432             <widget class="QPushButton" name="del_radius_pb">
433              <property name="sizePolicy">
434               <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
435                <horstretch>0</horstretch>
436                <verstretch>0</verstretch>
437               </sizepolicy>
438              </property>
439              <property name="text">
440               <string>-</string>
441              </property>
442             </widget>
443            </item>
444            <item row="2" column="0">
445             <spacer name="verticalSpacer">
446              <property name="orientation">
447               <enum>Qt::Vertical</enum>
448              </property>
449              <property name="sizeHint" stdset="0">
450               <size>
451                <width>20</width>
452                <height>139</height>
453               </size>
454              </property>
455             </spacer>
456            </item>
457           </layout>
458          </widget>
459          <widget class="QWidget" name="ext_angle_tab">
460           <attribute name="title">
461            <string>Y</string>
462           </attribute>
463           <layout class="QGridLayout" name="gridLayout_3">
464            <item row="0" column="0">
465             <widget class="QPushButton" name="add_angle_pb">
466              <property name="enabled">
467               <bool>true</bool>
468              </property>
469              <property name="sizePolicy">
470               <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
471                <horstretch>0</horstretch>
472                <verstretch>0</verstretch>
473               </sizepolicy>
474              </property>
475              <property name="text">
476               <string>+</string>
477              </property>
478             </widget>
479            </item>
480            <item row="0" column="1" rowspan="3">
481             <widget class="QListWidget" name="angle_lw"/>
482            </item>
483            <item row="1" column="0">
484             <widget class="QPushButton" name="del_angle_pb">
485              <property name="sizePolicy">
486               <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
487                <horstretch>0</horstretch>
488                <verstretch>0</verstretch>
489               </sizepolicy>
490              </property>
491              <property name="text">
492               <string>-</string>
493              </property>
494             </widget>
495            </item>
496            <item row="2" column="0">
497             <spacer name="verticalSpacer_2">
498              <property name="orientation">
499               <enum>Qt::Vertical</enum>
500              </property>
501              <property name="sizeHint" stdset="0">
502               <size>
503                <width>20</width>
504                <height>139</height>
505               </size>
506              </property>
507             </spacer>
508            </item>
509           </layout>
510          </widget>
511          <widget class="QWidget" name="ext_height_tab">
512           <attribute name="title">
513            <string>Z</string>
514           </attribute>
515           <layout class="QGridLayout" name="gridLayout_4">
516            <item row="0" column="0">
517             <widget class="QPushButton" name="add_height_pb">
518              <property name="enabled">
519               <bool>true</bool>
520              </property>
521              <property name="sizePolicy">
522               <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
523                <horstretch>0</horstretch>
524                <verstretch>0</verstretch>
525               </sizepolicy>
526              </property>
527              <property name="text">
528               <string>+</string>
529              </property>
530             </widget>
531            </item>
532            <item row="0" column="1" rowspan="3">
533             <widget class="QListWidget" name="height_lw">
534              <property name="sizePolicy">
535               <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
536                <horstretch>0</horstretch>
537                <verstretch>0</verstretch>
538               </sizepolicy>
539              </property>
540             </widget>
541            </item>
542            <item row="1" column="0">
543             <widget class="QPushButton" name="del_height_pb">
544              <property name="sizePolicy">
545               <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
546                <horstretch>0</horstretch>
547                <verstretch>0</verstretch>
548               </sizepolicy>
549              </property>
550              <property name="text">
551               <string>-</string>
552              </property>
553             </widget>
554            </item>
555            <item row="2" column="0">
556             <spacer name="verticalSpacer_3">
557              <property name="orientation">
558               <enum>Qt::Vertical</enum>
559              </property>
560              <property name="sizeHint" stdset="0">
561               <size>
562                <width>20</width>
563                <height>139</height>
564               </size>
565              </property>
566             </spacer>
567            </item>
568           </layout>
569          </widget>
570         </widget>
571        </item>
572        <item>
573         <spacer name="verticalSpacer_4">
574          <property name="orientation">
575           <enum>Qt::Vertical</enum>
576          </property>
577          <property name="sizeHint" stdset="0">
578           <size>
579            <width>20</width>
580            <height>40</height>
581           </size>
582          </property>
583         </spacer>
584        </item>
585       </layout>
586      </widget>
587     </widget>
588    </item>
589   </layout>
590  </widget>
591  <tabstops>
592   <tabstop>rb0</tabstop>
593   <tabstop>rb1</tabstop>
594   <tabstop>rb2</tabstop>
595   <tabstop>scrollArea</tabstop>
596   <tabstop>center_le</tabstop>
597   <tabstop>base_le</tabstop>
598   <tabstop>vec_le</tabstop>
599   <tabstop>axis_le</tabstop>
600   <tabstop>lx_spb</tabstop>
601   <tabstop>ly_spb</tabstop>
602   <tabstop>lz_spb</tabstop>
603   <tabstop>nx_spb</tabstop>
604   <tabstop>ny_spb</tabstop>
605   <tabstop>nz_spb</tabstop>
606   <tabstop>add_radius_pb</tabstop>
607   <tabstop>del_radius_pb</tabstop>
608   <tabstop>radius_lw</tabstop>
609   <tabstop>del_angle_pb</tabstop>
610   <tabstop>add_angle_pb</tabstop>
611   <tabstop>add_height_pb</tabstop>
612   <tabstop>angle_lw</tabstop>
613   <tabstop>height_lw</tabstop>
614   <tabstop>del_height_pb</tabstop>
615  </tabstops>
616  <resources/>
617  <connections>
618   <connection>
619    <sender>rb0</sender>
620    <signal>clicked()</signal>
621    <receiver>cartesian_widget</receiver>
622    <slot>show()</slot>
623    <hints>
624     <hint type="sourcelabel">
625      <x>99</x>
626      <y>54</y>
627     </hint>
628     <hint type="destinationlabel">
629      <x>240</x>
630      <y>347</y>
631     </hint>
632    </hints>
633   </connection>
634   <connection>
635    <sender>rb0</sender>
636    <signal>clicked()</signal>
637    <receiver>widget</receiver>
638    <slot>hide()</slot>
639    <hints>
640     <hint type="sourcelabel">
641      <x>99</x>
642      <y>54</y>
643     </hint>
644     <hint type="destinationlabel">
645      <x>240</x>
646      <y>251</y>
647     </hint>
648    </hints>
649   </connection>
650   <connection>
651    <sender>rb0</sender>
652    <signal>clicked()</signal>
653    <receiver>random_param_w</receiver>
654    <slot>hide()</slot>
655    <hints>
656     <hint type="sourcelabel">
657      <x>99</x>
658      <y>54</y>
659     </hint>
660     <hint type="destinationlabel">
661      <x>240</x>
662      <y>728</y>
663     </hint>
664    </hints>
665   </connection>
666   <connection>
667    <sender>rb0</sender>
668    <signal>clicked()</signal>
669    <receiver>lxyz_widget</receiver>
670    <slot>hide()</slot>
671    <hints>
672     <hint type="sourcelabel">
673      <x>99</x>
674      <y>54</y>
675     </hint>
676     <hint type="destinationlabel">
677      <x>240</x>
678      <y>485</y>
679     </hint>
680    </hints>
681   </connection>
682   <connection>
683    <sender>rb1</sender>
684    <signal>clicked()</signal>
685    <receiver>lxyz_widget</receiver>
686    <slot>show()</slot>
687    <hints>
688     <hint type="sourcelabel">
689      <x>233</x>
690      <y>54</y>
691     </hint>
692     <hint type="destinationlabel">
693      <x>240</x>
694      <y>485</y>
695     </hint>
696    </hints>
697   </connection>
698   <connection>
699    <sender>rb1</sender>
700    <signal>clicked()</signal>
701    <receiver>widget</receiver>
702    <slot>show()</slot>
703    <hints>
704     <hint type="sourcelabel">
705      <x>233</x>
706      <y>54</y>
707     </hint>
708     <hint type="destinationlabel">
709      <x>240</x>
710      <y>251</y>
711     </hint>
712    </hints>
713   </connection>
714   <connection>
715    <sender>rb1</sender>
716    <signal>clicked()</signal>
717    <receiver>cartesian_widget</receiver>
718    <slot>show()</slot>
719    <hints>
720     <hint type="sourcelabel">
721      <x>233</x>
722      <y>54</y>
723     </hint>
724     <hint type="destinationlabel">
725      <x>240</x>
726      <y>347</y>
727     </hint>
728    </hints>
729   </connection>
730   <connection>
731    <sender>rb1</sender>
732    <signal>clicked()</signal>
733    <receiver>random_param_w</receiver>
734    <slot>hide()</slot>
735    <hints>
736     <hint type="sourcelabel">
737      <x>233</x>
738      <y>54</y>
739     </hint>
740     <hint type="destinationlabel">
741      <x>240</x>
742      <y>728</y>
743     </hint>
744    </hints>
745   </connection>
746   <connection>
747    <sender>rb2</sender>
748    <signal>clicked()</signal>
749    <receiver>random_param_w</receiver>
750    <slot>show()</slot>
751    <hints>
752     <hint type="sourcelabel">
753      <x>348</x>
754      <y>54</y>
755     </hint>
756     <hint type="destinationlabel">
757      <x>240</x>
758      <y>728</y>
759     </hint>
760    </hints>
761   </connection>
762   <connection>
763    <sender>rb2</sender>
764    <signal>clicked()</signal>
765    <receiver>widget</receiver>
766    <slot>show()</slot>
767    <hints>
768     <hint type="sourcelabel">
769      <x>348</x>
770      <y>54</y>
771     </hint>
772     <hint type="destinationlabel">
773      <x>240</x>
774      <y>251</y>
775     </hint>
776    </hints>
777   </connection>
778   <connection>
779    <sender>rb2</sender>
780    <signal>clicked()</signal>
781    <receiver>lxyz_widget</receiver>
782    <slot>hide()</slot>
783    <hints>
784     <hint type="sourcelabel">
785      <x>348</x>
786      <y>54</y>
787     </hint>
788     <hint type="destinationlabel">
789      <x>240</x>
790      <y>485</y>
791     </hint>
792    </hints>
793   </connection>
794   <connection>
795    <sender>rb2</sender>
796    <signal>clicked()</signal>
797    <receiver>cartesian_widget</receiver>
798    <slot>hide()</slot>
799    <hints>
800     <hint type="sourcelabel">
801      <x>348</x>
802      <y>54</y>
803     </hint>
804     <hint type="destinationlabel">
805      <x>240</x>
806      <y>347</y>
807     </hint>
808    </hints>
809   </connection>
810  </connections>
811 </ui>