Salome HOME
Merge branch 'oscar/imps_2017'
[modules/gui.git] / tools / CurvePlot / src / python / ui / PlotSettings.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>PlotSettings</class>
4  <widget class="QDialog" name="PlotSettings">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>688</width>
10     <height>583</height>
11    </rect>
12   </property>
13   <property name="sizePolicy">
14    <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
15     <horstretch>0</horstretch>
16     <verstretch>0</verstretch>
17    </sizepolicy>
18   </property>
19   <property name="windowTitle">
20    <string>CurvePlot settings</string>
21   </property>
22   <layout class="QVBoxLayout" name="verticalLayout_2">
23    <item>
24     <layout class="QVBoxLayout" name="verticalLayout">
25      <property name="sizeConstraint">
26       <enum>QLayout::SetDefaultConstraint</enum>
27      </property>
28      <item>
29       <layout class="QHBoxLayout" name="horizontalLayout">
30        <item>
31         <widget class="QLabel" name="titleLabel">
32          <property name="text">
33           <string>Main title :</string>
34          </property>
35         </widget>
36        </item>
37        <item>
38         <widget class="QLineEdit" name="titleEdit"/>
39        </item>
40       </layout>
41      </item>
42      <item>
43       <widget class="QGroupBox" name="gridPanel">
44        <property name="minimumSize">
45         <size>
46          <width>0</width>
47          <height>50</height>
48         </size>
49        </property>
50        <property name="title">
51         <string>Grid</string>
52        </property>
53        <property name="flat">
54         <bool>false</bool>
55        </property>
56        <widget class="QCheckBox" name="gridCheckBox">
57         <property name="geometry">
58          <rect>
59           <x>10</x>
60           <y>20</y>
61           <width>771</width>
62           <height>21</height>
63          </rect>
64         </property>
65         <property name="text">
66          <string>Show grid</string>
67         </property>
68        </widget>
69       </widget>
70      </item>
71      <item>
72       <widget class="QGroupBox" name="legendPanel">
73        <property name="minimumSize">
74         <size>
75          <width>0</width>
76          <height>50</height>
77         </size>
78        </property>
79        <property name="title">
80         <string>Legend</string>
81        </property>
82        <layout class="QVBoxLayout" name="verticalLayout_5">
83         <item>
84          <layout class="QHBoxLayout" name="horizontalLayout_2">
85           <item>
86            <widget class="QCheckBox" name="showLegendCheckBox">
87             <property name="text">
88              <string>Show legend</string>
89             </property>
90             <property name="tristate">
91              <bool>false</bool>
92             </property>
93            </widget>
94           </item>
95           <item>
96            <spacer name="horizontalSpacer">
97             <property name="orientation">
98              <enum>Qt::Horizontal</enum>
99             </property>
100             <property name="sizeType">
101              <enum>QSizePolicy::Fixed</enum>
102             </property>
103             <property name="sizeHint" stdset="0">
104              <size>
105               <width>40</width>
106               <height>20</height>
107              </size>
108             </property>
109            </spacer>
110           </item>
111           <item>
112            <widget class="QLabel" name="legendPositionLabel">
113             <property name="text">
114              <string>Position :</string>
115             </property>
116            </widget>
117           </item>
118           <item>
119            <widget class="QComboBox" name="legendPositionComboBox">
120             <property name="sizePolicy">
121              <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
122               <horstretch>0</horstretch>
123               <verstretch>0</verstretch>
124              </sizepolicy>
125             </property>
126            </widget>
127           </item>
128          </layout>
129         </item>
130        </layout>
131       </widget>
132      </item>
133      <item>
134       <widget class="QGroupBox" name="selectedCurvePanel">
135        <property name="minimumSize">
136         <size>
137          <width>0</width>
138          <height>100</height>
139         </size>
140        </property>
141        <property name="title">
142         <string>Selected curve</string>
143        </property>
144        <widget class="QWidget" name="layoutWidget">
145         <property name="geometry">
146          <rect>
147           <x>11</x>
148           <y>35</y>
149           <width>291</width>
150           <height>57</height>
151          </rect>
152         </property>
153         <layout class="QVBoxLayout" name="verticalLayout_6">
154          <item>
155           <layout class="QHBoxLayout" name="horizontalLayout_6">
156            <item>
157             <widget class="QLabel" name="nameCurveLabel">
158              <property name="text">
159               <string>Name :</string>
160              </property>
161             </widget>
162            </item>
163            <item>
164             <widget class="QLineEdit" name="nameCurve">
165              <property name="palette">
166               <palette>
167                <active>
168                 <colorrole role="WindowText">
169                  <brush brushstyle="SolidPattern">
170                   <color alpha="255">
171                    <red>145</red>
172                    <green>145</green>
173                    <blue>145</blue>
174                   </color>
175                  </brush>
176                 </colorrole>
177                 <colorrole role="Text">
178                  <brush brushstyle="SolidPattern">
179                   <color alpha="255">
180                    <red>105</red>
181                    <green>105</green>
182                    <blue>105</blue>
183                   </color>
184                  </brush>
185                 </colorrole>
186                </active>
187                <inactive>
188                 <colorrole role="WindowText">
189                  <brush brushstyle="SolidPattern">
190                   <color alpha="255">
191                    <red>145</red>
192                    <green>145</green>
193                    <blue>145</blue>
194                   </color>
195                  </brush>
196                 </colorrole>
197                 <colorrole role="Text">
198                  <brush brushstyle="SolidPattern">
199                   <color alpha="255">
200                    <red>105</red>
201                    <green>105</green>
202                    <blue>105</blue>
203                   </color>
204                  </brush>
205                 </colorrole>
206                </inactive>
207                <disabled>
208                 <colorrole role="WindowText">
209                  <brush brushstyle="SolidPattern">
210                   <color alpha="255">
211                    <red>149</red>
212                    <green>151</green>
213                    <blue>153</blue>
214                   </color>
215                  </brush>
216                 </colorrole>
217                 <colorrole role="Text">
218                  <brush brushstyle="SolidPattern">
219                   <color alpha="255">
220                    <red>158</red>
221                    <green>158</green>
222                    <blue>158</blue>
223                   </color>
224                  </brush>
225                 </colorrole>
226                </disabled>
227               </palette>
228              </property>
229              <property name="readOnly">
230               <bool>true</bool>
231              </property>
232             </widget>
233            </item>
234           </layout>
235          </item>
236          <item>
237           <layout class="QHBoxLayout" name="horizontalLayout_5">
238            <item>
239             <widget class="QLabel" name="colorCurveLabel">
240              <property name="text">
241               <string>Color</string>
242              </property>
243             </widget>
244            </item>
245            <item>
246             <widget class="QPushButton" name="colorCurve">
247              <property name="maximumSize">
248               <size>
249                <width>40</width>
250                <height>16777215</height>
251               </size>
252              </property>
253              <property name="text">
254               <string/>
255              </property>
256             </widget>
257            </item>
258            <item>
259             <spacer name="horizontalSpacer_3">
260              <property name="orientation">
261               <enum>Qt::Horizontal</enum>
262              </property>
263              <property name="sizeHint" stdset="0">
264               <size>
265                <width>40</width>
266                <height>20</height>
267               </size>
268              </property>
269             </spacer>
270            </item>
271            <item>
272             <widget class="QLabel" name="markerCurveLabel">
273              <property name="minimumSize">
274               <size>
275                <width>25</width>
276                <height>0</height>
277               </size>
278              </property>
279              <property name="maximumSize">
280               <size>
281                <width>48</width>
282                <height>16777215</height>
283               </size>
284              </property>
285              <property name="text">
286               <string>Marker</string>
287              </property>
288             </widget>
289            </item>
290            <item>
291             <widget class="QComboBox" name="markerCurve">
292              <property name="maximumSize">
293               <size>
294                <width>50</width>
295                <height>16777215</height>
296               </size>
297              </property>
298             </widget>
299            </item>
300            <item>
301             <spacer name="horizontalSpacer_2">
302              <property name="orientation">
303               <enum>Qt::Horizontal</enum>
304              </property>
305              <property name="sizeHint" stdset="0">
306               <size>
307                <width>40</width>
308                <height>20</height>
309               </size>
310              </property>
311             </spacer>
312            </item>
313           </layout>
314          </item>
315         </layout>
316        </widget>
317       </widget>
318      </item>
319      <item>
320       <widget class="QTabWidget" name="tabWidget">
321        <property name="minimumSize">
322         <size>
323          <width>0</width>
324          <height>50</height>
325         </size>
326        </property>
327        <property name="maximumSize">
328         <size>
329          <width>16777215</width>
330          <height>423</height>
331         </size>
332        </property>
333        <property name="currentIndex">
334         <number>0</number>
335        </property>
336        <widget class="QWidget" name="axisXtabWidget">
337         <attribute name="title">
338          <string>Axis X</string>
339         </attribute>
340         <layout class="QVBoxLayout" name="verticalLayout_4">
341          <item>
342           <layout class="QGridLayout" name="gridLayout_2">
343            <item row="0" column="0">
344             <widget class="QLabel" name="axisXTitleLabel">
345              <property name="text">
346               <string>Title :</string>
347              </property>
348             </widget>
349            </item>
350            <item row="0" column="1">
351             <widget class="QLineEdit" name="axisXTitleEdit"/>
352            </item>
353            <item row="1" column="0">
354             <widget class="QLabel" name="axisXMinLabel">
355              <property name="text">
356               <string>XMin :</string>
357              </property>
358             </widget>
359            </item>
360            <item row="1" column="1">
361             <widget class="QLineEdit" name="axisXMinEdit"/>
362            </item>
363            <item row="2" column="0">
364             <widget class="QLabel" name="axisXMaxLabel">
365              <property name="text">
366               <string>XMax :</string>
367              </property>
368             </widget>
369            </item>
370            <item row="2" column="1">
371             <widget class="QLineEdit" name="axisXMaxEdit"/>
372            </item>
373            <item row="3" column="0" colspan="2">
374             <widget class="QCheckBox" name="axisXSciCheckBox">
375              <property name="text">
376               <string>Scientific notation</string>
377              </property>
378             </widget>
379            </item>
380           </layout>
381          </item>
382          <item>
383           <spacer name="verticalSpacer_2">
384            <property name="orientation">
385             <enum>Qt::Vertical</enum>
386            </property>
387            <property name="sizeHint" stdset="0">
388             <size>
389              <width>20</width>
390              <height>65</height>
391             </size>
392            </property>
393           </spacer>
394          </item>
395         </layout>
396        </widget>
397        <widget class="QWidget" name="axisYTabWidget">
398         <attribute name="title">
399          <string>Axis Y</string>
400         </attribute>
401         <layout class="QVBoxLayout" name="verticalLayout_3">
402          <item>
403           <layout class="QGridLayout" name="gridLayout">
404            <item row="0" column="0">
405             <widget class="QLabel" name="axisYTitleLabel">
406              <property name="text">
407               <string>Title :</string>
408              </property>
409             </widget>
410            </item>
411            <item row="0" column="1">
412             <widget class="QLineEdit" name="axisYTitleEdit"/>
413            </item>
414            <item row="1" column="0">
415             <widget class="QLabel" name="axisYMinLabel">
416              <property name="text">
417               <string>YMin :</string>
418              </property>
419             </widget>
420            </item>
421            <item row="1" column="1">
422             <widget class="QLineEdit" name="axisYMinEdit"/>
423            </item>
424            <item row="2" column="0">
425             <widget class="QLabel" name="axisYMaxLabel">
426              <property name="text">
427               <string>YMax :</string>
428              </property>
429             </widget>
430            </item>
431            <item row="2" column="1">
432             <widget class="QLineEdit" name="axisYMaxEdit"/>
433            </item>
434            <item row="3" column="0" colspan="2">
435             <widget class="QCheckBox" name="axisYSciCheckBox">
436              <property name="text">
437               <string>Scientific notation</string>
438              </property>
439             </widget>
440            </item>
441           </layout>
442          </item>
443          <item>
444           <spacer name="verticalSpacer">
445            <property name="orientation">
446             <enum>Qt::Vertical</enum>
447            </property>
448            <property name="sizeHint" stdset="0">
449             <size>
450              <width>20</width>
451              <height>40</height>
452             </size>
453            </property>
454           </spacer>
455          </item>
456         </layout>
457        </widget>
458       </widget>
459      </item>
460      <item>
461       <widget class="QDialogButtonBox" name="buttonBox">
462        <property name="orientation">
463         <enum>Qt::Horizontal</enum>
464        </property>
465        <property name="standardButtons">
466         <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
467        </property>
468        <property name="centerButtons">
469         <bool>false</bool>
470        </property>
471       </widget>
472      </item>
473     </layout>
474    </item>
475   </layout>
476  </widget>
477  <resources/>
478  <connections>
479   <connection>
480    <sender>buttonBox</sender>
481    <signal>rejected()</signal>
482    <receiver>PlotSettings</receiver>
483    <slot>reject()</slot>
484    <hints>
485     <hint type="sourcelabel">
486      <x>321</x>
487      <y>577</y>
488     </hint>
489     <hint type="destinationlabel">
490      <x>286</x>
491      <y>274</y>
492     </hint>
493    </hints>
494   </connection>
495   <connection>
496    <sender>buttonBox</sender>
497    <signal>accepted()</signal>
498    <receiver>PlotSettings</receiver>
499    <slot>accept()</slot>
500    <hints>
501     <hint type="sourcelabel">
502      <x>253</x>
503      <y>577</y>
504     </hint>
505     <hint type="destinationlabel">
506      <x>157</x>
507      <y>274</y>
508     </hint>
509    </hints>
510   </connection>
511   <connection>
512    <sender>showLegendCheckBox</sender>
513    <signal>stateChanged(int)</signal>
514    <receiver>PlotSettings</receiver>
515    <slot>onShowLegend(int)</slot>
516    <hints>
517     <hint type="sourcelabel">
518      <x>56</x>
519      <y>130</y>
520     </hint>
521     <hint type="destinationlabel">
522      <x>198</x>
523      <y>161</y>
524     </hint>
525    </hints>
526   </connection>
527   <connection>
528    <sender>colorCurve</sender>
529    <signal>clicked()</signal>
530    <receiver>PlotSettings</receiver>
531    <slot>onChangeColor()</slot>
532    <hints>
533     <hint type="sourcelabel">
534      <x>74</x>
535      <y>232</y>
536     </hint>
537     <hint type="destinationlabel">
538      <x>343</x>
539      <y>291</y>
540     </hint>
541    </hints>
542   </connection>
543  </connections>
544  <slots>
545   <slot>onShowLegend(int)</slot>
546   <slot>onChangeColor()</slot>
547  </slots>
548 </ui>