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