1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <class>ReplaceConductorDialog</class>
4 <widget class="QDialog" name="ReplaceConductorDialog">
5  <property name="geometry">
6   <rect>
7    <x>0</x>
8    <y>0</y>
9    <width>568</width>
10    <height>523</height>
11   </rect>
12  </property>
13  <layout class="QVBoxLayout" name="verticalLayout">
14   <item>
15    <widget class="QTabWidget" name="tabWidget">
16     <property name="currentIndex">
17      <number>0</number>
18     </property>
19     <widget class="QWidget" name="tab">
20      <attribute name="title">
21       <string>Type</string>
22      </attribute>
23      <layout class="QVBoxLayout" name="verticalLayout_2">
24       <item>
25        <widget class="QGroupBox" name="m_multi_gb">
26         <property name="enabled">
27          <bool>true</bool>
28         </property>
29         <property name="title">
30          <string>&amp;Multifilaire</string>
31         </property>
32         <property name="checkable">
33          <bool>true</bool>
34         </property>
35         <property name="checked">
36          <bool>false</bool>
37         </property>
38         <layout class="QGridLayout" name="gridLayout" columnstretch="0,1,0,0,0,0">
39          <item row="7" column="1">
40           <widget class="QComboBox" name="m_horizontal_align_cb">
41            <item>
42             <property name="text">
43              <string>Ne pas modifier</string>
44             </property>
45            </item>
46            <item>
47             <property name="text">
48              <string>En haut</string>
49             </property>
50            </item>
51            <item>
52             <property name="text">
53              <string>En bas</string>
54             </property>
55            </item>
56           </widget>
57          </item>
58          <item row="7" column="0">
59           <widget class="QLabel" name="label_8">
60            <property name="text">
61             <string>Texte sur conducteur horizontal :</string>
62            </property>
63           </widget>
64          </item>
65          <item row="2" column="1" colspan="4">
66           <widget class="QLineEdit" name="m_formula_le">
67            <property name="placeholderText">
68             <string>Ne pas modifier</string>
69            </property>
70            <property name="clearButtonEnabled">
71             <bool>true</bool>
72            </property>
73           </widget>
74          </item>
75          <item row="5" column="0">
76           <widget class="QLabel" name="label_5">
77            <property name="text">
78             <string>Tension / protocol :</string>
79            </property>
80           </widget>
81          </item>
82          <item row="4" column="1" colspan="4">
83           <widget class="QLineEdit" name="m_function_le">
84            <property name="placeholderText">
85             <string>Ne pas modifier</string>
86            </property>
87            <property name="clearButtonEnabled">
88             <bool>true</bool>
89            </property>
90           </widget>
91          </item>
92          <item row="3" column="5">
93           <widget class="QCheckBox" name="m_erase_text_cb">
94            <property name="toolTip">
95             <string>Supprimer ce texte</string>
96            </property>
97            <property name="text">
98             <string/>
99            </property>
100           </widget>
101          </item>
102          <item row="4" column="0">
103           <widget class="QLabel" name="label_4">
104            <property name="text">
105             <string>Fonction :</string>
106            </property>
107           </widget>
108          </item>
109          <item row="2" column="0">
110           <widget class="QLabel" name="label_2">
111            <property name="text">
112             <string>Formule du texte :</string>
113            </property>
114           </widget>
115          </item>
116          <item row="3" column="4">
117           <widget class="QCheckBox" name="m_show_text">
118            <property name="toolTip">
119             <string>Texte visible</string>
120            </property>
121            <property name="text">
122             <string/>
123            </property>
124           </widget>
125          </item>
126          <item row="7" column="2">
127           <widget class="QLabel" name="label_9">
128            <property name="text">
129             <string>Angle :</string>
130            </property>
131            <property name="alignment">
132             <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
133            </property>
134           </widget>
135          </item>
136          <item row="5" column="1" colspan="4">
137           <widget class="QLineEdit" name="m_tension_protocol_le">
138            <property name="placeholderText">
139             <string>Ne pas modifier</string>
140            </property>
141            <property name="clearButtonEnabled">
142             <bool>true</bool>
143            </property>
144           </widget>
145          </item>
146          <item row="1" column="1" colspan="4">
147           <widget class="QSpinBox" name="m_text_size_sb">
148            <property name="specialValueText">
149             <string>Ne pas modifier</string>
150            </property>
151            <property name="accelerated">
152             <bool>false</bool>
153            </property>
154            <property name="minimum">
155             <number>2</number>
156            </property>
157            <property name="value">
158             <number>2</number>
159            </property>
160           </widget>
161          </item>
162          <item row="6" column="0">
163           <widget class="QLabel" name="label_6">
164            <property name="text">
165             <string>Texte sur conducteur vertical :</string>
166            </property>
167           </widget>
168          </item>
169          <item row="1" column="0">
170           <widget class="QLabel" name="label">
171            <property name="text">
172             <string>Taille du texte :</string>
173            </property>
174           </widget>
175          </item>
176          <item row="3" column="0">
177           <widget class="QLabel" name="label_3">
178            <property name="text">
179             <string>Texte :</string>
180            </property>
181           </widget>
182          </item>
183          <item row="5" column="5">
184           <widget class="QCheckBox" name="m_erase_tension_protocol_cb">
185            <property name="toolTip">
186             <string>Supprimer ce texte</string>
187            </property>
188            <property name="text">
189             <string/>
190            </property>
191           </widget>
192          </item>
193          <item row="4" column="5">
194           <widget class="QCheckBox" name="m_erase_function_cb">
195            <property name="toolTip">
196             <string>Supprimer ce texte</string>
197            </property>
198            <property name="text">
199             <string/>
200            </property>
201           </widget>
202          </item>
203          <item row="6" column="1">
204           <widget class="QComboBox" name="m_vertical_align_cb">
205            <property name="currentText">
206             <string>Ne pas modifier</string>
207            </property>
208            <item>
209             <property name="text">
210              <string>Ne pas modifier</string>
211             </property>
212            </item>
213            <item>
214             <property name="text">
215              <string>À gauche</string>
216             </property>
217            </item>
218            <item>
219             <property name="text">
220              <string>À droite</string>
221             </property>
222            </item>
223           </widget>
224          </item>
225          <item row="2" column="5">
226           <widget class="QCheckBox" name="m_erase_formula_cb">
227            <property name="toolTip">
228             <string>Supprimer ce texte</string>
229            </property>
230            <property name="text">
231             <string/>
232            </property>
233           </widget>
234          </item>
235          <item row="6" column="2">
236           <widget class="QLabel" name="label_7">
237            <property name="text">
238             <string>Angle :</string>
239            </property>
240            <property name="alignment">
241             <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
242            </property>
243           </widget>
244          </item>
245          <item row="6" column="3" colspan="2">
246           <widget class="QSpinBox" name="m_vertical_angle_sb">
247            <property name="wrapping">
248             <bool>true</bool>
249            </property>
250            <property name="specialValueText">
251             <string>Ne pas modifier</string>
252            </property>
253            <property name="suffix">
254             <string>°</string>
255            </property>
256            <property name="prefix">
257             <string/>
258            </property>
259            <property name="minimum">
260             <number>-1</number>
261            </property>
262            <property name="maximum">
263             <number>359</number>
264            </property>
265            <property name="value">
266             <number>-1</number>
267            </property>
268           </widget>
269          </item>
270          <item row="7" column="3" colspan="2">
271           <widget class="QSpinBox" name="m_horizontal_angle_sb">
272            <property name="wrapping">
273             <bool>true</bool>
274            </property>
275            <property name="specialValueText">
276             <string>Ne pas modifier</string>
277            </property>
278            <property name="suffix">
279             <string>°</string>
280            </property>
281            <property name="minimum">
282             <number>-1</number>
283            </property>
284            <property name="maximum">
285             <number>359</number>
286            </property>
287            <property name="value">
288             <number>-1</number>
289            </property>
290           </widget>
291          </item>
292          <item row="3" column="1" colspan="3">
293           <widget class="QLineEdit" name="m_text_le">
294            <property name="placeholderText">
295             <string>Ne pas modifier</string>
296            </property>
297            <property name="clearButtonEnabled">
298             <bool>true</bool>
299            </property>
300           </widget>
301          </item>
302         </layout>
303        </widget>
304       </item>
305       <item>
306        <widget class="QGroupBox" name="m_singlewire_gb">
307         <property name="title">
308          <string>Unifilaire</string>
309         </property>
310         <property name="flat">
311          <bool>false</bool>
312         </property>
313         <property name="checkable">
314          <bool>true</bool>
315         </property>
316         <property name="checked">
317          <bool>false</bool>
318         </property>
319         <layout class="QGridLayout" name="gridLayout_5">
320          <item row="1" column="2">
321           <widget class="QCheckBox" name="m_pen_cb">
322            <property name="toolTip">
323             <string>Protective Earth Neutral</string>
324            </property>
325            <property name="text">
326             <string>PEN</string>
327            </property>
328           </widget>
329          </item>
330          <item row="2" column="1">
331           <widget class="QCheckBox" name="m_phase_cb">
332            <property name="toolTip">
333             <string>Phase</string>
334            </property>
335            <property name="text">
336             <string>phase</string>
337            </property>
338            <property name="icon">
339             <iconset resource="../../../qelectrotech.qrc">
340              <normaloff>:/ico/16x16/phase.png</normaloff>:/ico/16x16/phase.png</iconset>
341            </property>
342           </widget>
343          </item>
344          <item row="2" column="3">
345           <widget class="QSpinBox" name="m_phase_sb">
346            <property name="toolTip">
347             <string>Nombre de phase</string>
348            </property>
349            <property name="minimum">
350             <number>1</number>
351            </property>
352            <property name="maximum">
353             <number>3</number>
354            </property>
355           </widget>
356          </item>
357          <item row="1" column="1">
358           <widget class="QCheckBox" name="m_neutral_cb">
359            <property name="toolTip">
360             <string>Neutre</string>
361            </property>
362            <property name="text">
363             <string>neutre</string>
364            </property>
365            <property name="icon">
366             <iconset resource="../../../qelectrotech.qrc">
367              <normaloff>:/ico/16x16/neutral.png</normaloff>:/ico/16x16/neutral.png</iconset>
368            </property>
369           </widget>
370          </item>
371          <item row="2" column="2">
372           <widget class="QSlider" name="m_phase_slider">
373            <property name="sizePolicy">
374             <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
375              <horstretch>0</horstretch>
376              <verstretch>0</verstretch>
377             </sizepolicy>
378            </property>
379            <property name="toolTip">
380             <string>Nombre de phase</string>
381            </property>
382            <property name="minimum">
383             <number>1</number>
384            </property>
385            <property name="maximum">
386             <number>3</number>
387            </property>
388            <property name="orientation">
389             <enum>Qt::Horizontal</enum>
390            </property>
391           </widget>
392          </item>
393          <item row="0" column="1">
394           <widget class="QCheckBox" name="m_earth_cb">
395            <property name="toolTip">
396             <string>Terre</string>
397            </property>
398            <property name="text">
399             <string>terre</string>
400            </property>
401            <property name="icon">
402             <iconset resource="../../../qelectrotech.qrc">
403              <normaloff>:/ico/16x16/ground.png</normaloff>:/ico/16x16/ground.png</iconset>
404            </property>
405           </widget>
406          </item>
407          <item row="0" column="0" rowspan="3">
408           <widget class="QLabel" name="m_preview_label">
409            <property name="text">
410             <string>TextLabel</string>
411            </property>
412            <property name="alignment">
413             <set>Qt::AlignCenter</set>
414            </property>
415           </widget>
416          </item>
417          <item row="0" column="2">
418           <widget class="QPushButton" name="m_update_preview_pb">
419            <property name="text">
420             <string>PushButton</string>
421            </property>
422           </widget>
423          </item>
424         </layout>
425        </widget>
426       </item>
427      </layout>
428     </widget>
429     <widget class="QWidget" name="widget">
430      <attribute name="title">
431       <string>Apparence</string>
432      </attribute>
433      <layout class="QGridLayout" name="gridLayout_2" columnstretch="0,0,1,0">
434       <item row="2" column="1">
435        <widget class="QLabel" name="label_13">
436         <property name="text">
437          <string>Taille :</string>
438         </property>
439        </widget>
440       </item>
441       <item row="0" column="1">
442        <widget class="QLabel" name="label_10">
443         <property name="text">
444          <string>Couleur :</string>
445         </property>
446        </widget>
447       </item>
448       <item row="0" column="2">
449        <widget class="QPushButton" name="m_color_pb">
450         <property name="enabled">
451          <bool>false</bool>
452         </property>
453         <property name="text">
454          <string/>
455         </property>
456        </widget>
457       </item>
458       <item row="4" column="1">
459        <spacer name="verticalSpacer">
460         <property name="orientation">
461          <enum>Qt::Vertical</enum>
462         </property>
463         <property name="sizeHint" stdset="0">
464          <size>
465           <width>20</width>
466           <height>40</height>
467          </size>
468         </property>
469        </spacer>
470       </item>
471       <item row="1" column="1">
472        <widget class="QLabel" name="label_11">
473         <property name="text">
474          <string>Style :</string>
475         </property>
476        </widget>
477       </item>
478       <item row="0" column="3">
479        <widget class="QCheckBox" name="m_mod_color_cb">
480         <property name="toolTip">
481          <string>Modifier</string>
482         </property>
483         <property name="text">
484          <string/>
485         </property>
486        </widget>
487       </item>
488       <item row="3" column="1" colspan="3">
489        <widget class="QGroupBox" name="m_second_color_gb">
490         <property name="title">
491          <string>Couleur secondaire :</string>
492         </property>
493         <property name="checkable">
494          <bool>true</bool>
495         </property>
496         <property name="checked">
497          <bool>false</bool>
498         </property>
499         <layout class="QGridLayout" name="gridLayout_3" columnstretch="0,1,0">
500          <item row="0" column="1">
501           <widget class="QPushButton" name="m_color_2_pb">
502            <property name="enabled">
503             <bool>false</bool>
504            </property>
505            <property name="text">
506             <string/>
507            </property>
508           </widget>
509          </item>
510          <item row="1" column="0">
511           <widget class="QLabel" name="label_14">
512            <property name="text">
513             <string>Taille de trait :</string>
514            </property>
515           </widget>
516          </item>
517          <item row="0" column="0">
518           <widget class="QLabel" name="label_12">
519            <property name="text">
520             <string>Couleur :</string>
521            </property>
522           </widget>
523          </item>
524          <item row="0" column="2">
525           <widget class="QCheckBox" name="m_mod_color_2_cb">
526            <property name="toolTip">
527             <string>Modifier</string>
528            </property>
529            <property name="text">
530             <string/>
531            </property>
532           </widget>
533          </item>
534          <item row="1" column="1" colspan="2">
535           <widget class="QSpinBox" name="m_color_2_dash_size_sb">
536            <property name="specialValueText">
537             <string>Ne pas modifier</string>
538            </property>
539            <property name="suffix">
540             <string>px</string>
541            </property>
542            <property name="minimum">
543             <number>1</number>
544            </property>
545            <property name="value">
546             <number>1</number>
547            </property>
548           </widget>
549          </item>
550         </layout>
551        </widget>
552       </item>
553       <item row="2" column="2" colspan="2">
554        <widget class="QDoubleSpinBox" name="m_cond_size_sb">
555         <property name="specialValueText">
556          <string>Ne pas modifier</string>
557         </property>
558         <property name="minimum">
559          <double>0.200000000000000</double>
560         </property>
561         <property name="singleStep">
562          <double>0.200000000000000</double>
563         </property>
564         <property name="value">
565          <double>0.200000000000000</double>
566         </property>
567        </widget>
568       </item>
569       <item row="1" column="2" colspan="2">
570        <widget class="QComboBox" name="m_line_style_cb"/>
571       </item>
572      </layout>
573     </widget>
574    </widget>
575   </item>
576   <item>
577    <widget class="QDialogButtonBox" name="m_button_box">
578     <property name="orientation">
579      <enum>Qt::Horizontal</enum>
580     </property>
581     <property name="standardButtons">
582      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok|QDialogButtonBox::Reset</set>
583     </property>
584    </widget>
585   </item>
586  </layout>
587 </widget>
588 <resources>
589  <include location="../../../qelectrotech.qrc"/>
590 </resources>
591 <connections>
592  <connection>
593   <sender>m_mod_color_cb</sender>
594   <signal>toggled(bool)</signal>
595   <receiver>m_color_pb</receiver>
596   <slot>setEnabled(bool)</slot>
597   <hints>
598    <hint type="sourcelabel">
599     <x>605</x>
600     <y>57</y>
601    </hint>
602    <hint type="destinationlabel">
603     <x>328</x>
604     <y>58</y>
605    </hint>
606   </hints>
607  </connection>
608  <connection>
609   <sender>m_earth_cb</sender>
610   <signal>clicked()</signal>
611   <receiver>m_update_preview_pb</receiver>
612   <slot>click()</slot>
613   <hints>
614    <hint type="sourcelabel">
615     <x>243</x>
616     <y>372</y>
617    </hint>
618    <hint type="destinationlabel">
619     <x>392</x>
620     <y>373</y>
621    </hint>
622   </hints>
623  </connection>
624  <connection>
625   <sender>m_neutral_cb</sender>
626   <signal>clicked()</signal>
627   <receiver>m_update_preview_pb</receiver>
628   <slot>click()</slot>
629   <hints>
630    <hint type="sourcelabel">
631     <x>243</x>
632     <y>404</y>
633    </hint>
634    <hint type="destinationlabel">
635     <x>392</x>
636     <y>373</y>
637    </hint>
638   </hints>
639  </connection>
640  <connection>
641   <sender>m_phase_cb</sender>
642   <signal>clicked()</signal>
643   <receiver>m_update_preview_pb</receiver>
644   <slot>click()</slot>
645   <hints>
646    <hint type="sourcelabel">
647     <x>243</x>
648     <y>434</y>
649    </hint>
650    <hint type="destinationlabel">
651     <x>392</x>
652     <y>373</y>
653    </hint>
654   </hints>
655  </connection>
656  <connection>
657   <sender>m_pen_cb</sender>
658   <signal>clicked()</signal>
659   <receiver>m_update_preview_pb</receiver>
660   <slot>click()</slot>
661   <hints>
662    <hint type="sourcelabel">
663     <x>392</x>
664     <y>404</y>
665    </hint>
666    <hint type="destinationlabel">
667     <x>392</x>
668     <y>373</y>
669    </hint>
670   </hints>
671  </connection>
672  <connection>
673   <sender>m_phase_slider</sender>
674   <signal>valueChanged(int)</signal>
675   <receiver>m_update_preview_pb</receiver>
676   <slot>click()</slot>
677   <hints>
678    <hint type="sourcelabel">
679     <x>392</x>
680     <y>434</y>
681    </hint>
682    <hint type="destinationlabel">
683     <x>392</x>
684     <y>373</y>
685    </hint>
686   </hints>
687  </connection>
688  <connection>
689   <sender>m_phase_sb</sender>
690   <signal>valueChanged(int)</signal>
691   <receiver>m_update_preview_pb</receiver>
692   <slot>click()</slot>
693   <hints>
694    <hint type="sourcelabel">
695     <x>540</x>
696     <y>435</y>
697    </hint>
698    <hint type="destinationlabel">
699     <x>392</x>
700     <y>373</y>
701    </hint>
702   </hints>
703  </connection>
704  <connection>
705   <sender>m_phase_slider</sender>
706   <signal>sliderMoved(int)</signal>
707   <receiver>m_phase_sb</receiver>
708   <slot>setValue(int)</slot>
709   <hints>
710    <hint type="sourcelabel">
711     <x>392</x>
712     <y>434</y>
713    </hint>
714    <hint type="destinationlabel">
715     <x>540</x>
716     <y>435</y>
717    </hint>
718   </hints>
719  </connection>
720  <connection>
721   <sender>m_phase_sb</sender>
722   <signal>valueChanged(int)</signal>
723   <receiver>m_phase_slider</receiver>
724   <slot>setValue(int)</slot>
725   <hints>
726    <hint type="sourcelabel">
727     <x>540</x>
728     <y>435</y>
729    </hint>
730    <hint type="destinationlabel">
731     <x>392</x>
732     <y>434</y>
733    </hint>
734   </hints>
735  </connection>
736  <connection>
737   <sender>m_mod_color_2_cb</sender>
738   <signal>toggled(bool)</signal>
739   <receiver>m_color_2_pb</receiver>
740   <slot>setEnabled(bool)</slot>
741   <hints>
742    <hint type="sourcelabel">
743     <x>597</x>
744     <y>200</y>
745    </hint>
746    <hint type="destinationlabel">
747     <x>341</x>
748     <y>201</y>
749    </hint>
750   </hints>
751  </connection>
752 </connections>
753</ui>
754