]> SALOME platform Git repositories - modules/gui.git/blob - tools/CurvePlot/src/python/ui/PlotSettings.ui
Salome HOME
[bos #42871] Clipping plane remains applied after being deleted
[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>74</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="enabled">
166               <bool>true</bool>
167              </property>
168              <property name="text">
169               <string/>
170              </property>
171              <property name="readOnly">
172               <bool>false</bool>
173              </property>
174             </widget>
175            </item>
176           </layout>
177          </item>
178          <item>
179           <layout class="QHBoxLayout" name="horizontalLayout_5">
180            <item>
181             <widget class="QLabel" name="colorCurveLabel">
182              <property name="text">
183               <string>Color</string>
184              </property>
185             </widget>
186            </item>
187            <item>
188             <widget class="QPushButton" name="colorCurve">
189              <property name="maximumSize">
190               <size>
191                <width>40</width>
192                <height>16777215</height>
193               </size>
194              </property>
195              <property name="text">
196               <string/>
197              </property>
198             </widget>
199            </item>
200            <item>
201             <spacer name="horizontalSpacer_3">
202              <property name="orientation">
203               <enum>Qt::Horizontal</enum>
204              </property>
205              <property name="sizeHint" stdset="0">
206               <size>
207                <width>40</width>
208                <height>20</height>
209               </size>
210              </property>
211             </spacer>
212            </item>
213            <item>
214             <widget class="QLabel" name="markerCurveLabel">
215              <property name="minimumSize">
216               <size>
217                <width>25</width>
218                <height>0</height>
219               </size>
220              </property>
221              <property name="maximumSize">
222               <size>
223                <width>48</width>
224                <height>16777215</height>
225               </size>
226              </property>
227              <property name="text">
228               <string>Marker</string>
229              </property>
230             </widget>
231            </item>
232            <item>
233             <widget class="QComboBox" name="markerCurve">
234              <property name="maximumSize">
235               <size>
236                <width>50</width>
237                <height>16777215</height>
238               </size>
239              </property>
240             </widget>
241            </item>
242            <item>
243             <spacer name="horizontalSpacer_2">
244              <property name="orientation">
245               <enum>Qt::Horizontal</enum>
246              </property>
247              <property name="sizeHint" stdset="0">
248               <size>
249                <width>40</width>
250                <height>20</height>
251               </size>
252              </property>
253             </spacer>
254            </item>
255           </layout>
256          </item>
257         </layout>
258        </widget>
259       </widget>
260      </item>
261      <item>
262       <widget class="QTabWidget" name="tabWidget">
263        <property name="minimumSize">
264         <size>
265          <width>0</width>
266          <height>50</height>
267         </size>
268        </property>
269        <property name="maximumSize">
270         <size>
271          <width>16777215</width>
272          <height>423</height>
273         </size>
274        </property>
275        <property name="currentIndex">
276         <number>0</number>
277        </property>
278        <widget class="QWidget" name="axisXtabWidget">
279         <attribute name="title">
280          <string>Axis X</string>
281         </attribute>
282         <layout class="QVBoxLayout" name="verticalLayout_4">
283          <item>
284           <layout class="QGridLayout" name="gridLayout_2">
285            <item row="0" column="0">
286             <widget class="QLabel" name="axisXTitleLabel">
287              <property name="text">
288               <string>Title :</string>
289              </property>
290             </widget>
291            </item>
292            <item row="0" column="1">
293             <widget class="QLineEdit" name="axisXTitleEdit"/>
294            </item>
295            <item row="1" column="0">
296             <widget class="QLabel" name="axisXMinLabel">
297              <property name="text">
298               <string>XMin :</string>
299              </property>
300             </widget>
301            </item>
302            <item row="1" column="1">
303             <widget class="QLineEdit" name="axisXMinEdit"/>
304            </item>
305            <item row="2" column="0">
306             <widget class="QLabel" name="axisXMaxLabel">
307              <property name="text">
308               <string>XMax :</string>
309              </property>
310             </widget>
311            </item>
312            <item row="2" column="1">
313             <widget class="QLineEdit" name="axisXMaxEdit"/>
314            </item>
315            <item row="3" column="0" colspan="2">
316             <widget class="QCheckBox" name="axisXSciCheckBox">
317              <property name="text">
318               <string>Scientific notation</string>
319              </property>
320             </widget>
321            </item>
322           </layout>
323          </item>
324          <item>
325           <spacer name="verticalSpacer_2">
326            <property name="orientation">
327             <enum>Qt::Vertical</enum>
328            </property>
329            <property name="sizeHint" stdset="0">
330             <size>
331              <width>20</width>
332              <height>65</height>
333             </size>
334            </property>
335           </spacer>
336          </item>
337         </layout>
338        </widget>
339        <widget class="QWidget" name="axisYTabWidget">
340         <attribute name="title">
341          <string>Axis Y</string>
342         </attribute>
343         <layout class="QVBoxLayout" name="verticalLayout_3">
344          <item>
345           <layout class="QGridLayout" name="gridLayout">
346            <item row="0" column="0">
347             <widget class="QLabel" name="axisYTitleLabel">
348              <property name="text">
349               <string>Title :</string>
350              </property>
351             </widget>
352            </item>
353            <item row="0" column="1">
354             <widget class="QLineEdit" name="axisYTitleEdit"/>
355            </item>
356            <item row="1" column="0">
357             <widget class="QLabel" name="axisYMinLabel">
358              <property name="text">
359               <string>YMin :</string>
360              </property>
361             </widget>
362            </item>
363            <item row="1" column="1">
364             <widget class="QLineEdit" name="axisYMinEdit"/>
365            </item>
366            <item row="2" column="0">
367             <widget class="QLabel" name="axisYMaxLabel">
368              <property name="text">
369               <string>YMax :</string>
370              </property>
371             </widget>
372            </item>
373            <item row="2" column="1">
374             <widget class="QLineEdit" name="axisYMaxEdit"/>
375            </item>
376            <item row="3" column="0" colspan="2">
377             <widget class="QCheckBox" name="axisYSciCheckBox">
378              <property name="text">
379               <string>Scientific notation</string>
380              </property>
381             </widget>
382            </item>
383           </layout>
384          </item>
385          <item>
386           <spacer name="verticalSpacer">
387            <property name="orientation">
388             <enum>Qt::Vertical</enum>
389            </property>
390            <property name="sizeHint" stdset="0">
391             <size>
392              <width>20</width>
393              <height>40</height>
394             </size>
395            </property>
396           </spacer>
397          </item>
398         </layout>
399        </widget>
400       </widget>
401      </item>
402      <item>
403       <widget class="QDialogButtonBox" name="buttonBox">
404        <property name="orientation">
405         <enum>Qt::Horizontal</enum>
406        </property>
407        <property name="standardButtons">
408         <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
409        </property>
410        <property name="centerButtons">
411         <bool>false</bool>
412        </property>
413       </widget>
414      </item>
415     </layout>
416    </item>
417   </layout>
418  </widget>
419  <resources/>
420  <connections>
421   <connection>
422    <sender>buttonBox</sender>
423    <signal>rejected()</signal>
424    <receiver>PlotSettings</receiver>
425    <slot>reject()</slot>
426    <hints>
427     <hint type="sourcelabel">
428      <x>321</x>
429      <y>577</y>
430     </hint>
431     <hint type="destinationlabel">
432      <x>286</x>
433      <y>274</y>
434     </hint>
435    </hints>
436   </connection>
437   <connection>
438    <sender>buttonBox</sender>
439    <signal>accepted()</signal>
440    <receiver>PlotSettings</receiver>
441    <slot>accept()</slot>
442    <hints>
443     <hint type="sourcelabel">
444      <x>253</x>
445      <y>577</y>
446     </hint>
447     <hint type="destinationlabel">
448      <x>157</x>
449      <y>274</y>
450     </hint>
451    </hints>
452   </connection>
453   <connection>
454    <sender>showLegendCheckBox</sender>
455    <signal>stateChanged(int)</signal>
456    <receiver>PlotSettings</receiver>
457    <slot>onShowLegend(int)</slot>
458    <hints>
459     <hint type="sourcelabel">
460      <x>56</x>
461      <y>130</y>
462     </hint>
463     <hint type="destinationlabel">
464      <x>198</x>
465      <y>161</y>
466     </hint>
467    </hints>
468   </connection>
469   <connection>
470    <sender>colorCurve</sender>
471    <signal>clicked()</signal>
472    <receiver>PlotSettings</receiver>
473    <slot>onChangeColor()</slot>
474    <hints>
475     <hint type="sourcelabel">
476      <x>74</x>
477      <y>232</y>
478     </hint>
479     <hint type="destinationlabel">
480      <x>343</x>
481      <y>291</y>
482     </hint>
483    </hints>
484   </connection>
485  </connections>
486  <slots>
487   <slot>onShowLegend(int)</slot>
488   <slot>onChangeColor()</slot>
489  </slots>
490 </ui>