2021-04-02 20:52:38 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>TerminalStripEditor</class>
|
|
|
|
<widget class="QDialog" name="TerminalStripEditor">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
2021-10-27 20:54:34 +02:00
|
|
|
<width>1206</width>
|
2021-10-12 19:25:35 +02:00
|
|
|
<height>645</height>
|
2021-04-02 20:52:38 +02:00
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
2021-04-04 19:42:02 +02:00
|
|
|
<string>Gestionnaire de borniers</string>
|
2021-04-02 20:52:38 +02:00
|
|
|
</property>
|
2021-09-22 23:02:33 +02:00
|
|
|
<layout class="QGridLayout" name="gridLayout">
|
2022-03-12 19:07:49 +01:00
|
|
|
<item row="1" column="1">
|
|
|
|
<widget class="QWidget" name="widget" native="true">
|
|
|
|
<layout class="QGridLayout" name="gridLayout_3">
|
|
|
|
<item row="0" column="0" colspan="2">
|
|
|
|
<widget class="QPushButton" name="m_auto_ordering_pb">
|
|
|
|
<property name="text">
|
|
|
|
<string>Position automatique</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="0" colspan="2">
|
|
|
|
<widget class="QPushButton" name="m_ungroup_pb">
|
|
|
|
<property name="text">
|
|
|
|
<string>Degrouper les bornes</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="12" column="0">
|
|
|
|
<widget class="QLabel" name="label_10">
|
|
|
|
<property name="text">
|
|
|
|
<string>Couleur pont :</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="7" column="1">
|
|
|
|
<widget class="QComboBox" name="m_function_cb">
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Générique</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Phase</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Neutre</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="10" column="0" colspan="2">
|
|
|
|
<widget class="QPushButton" name="m_bridge_terminals_pb">
|
|
|
|
<property name="text">
|
|
|
|
<string>Ponter les bornes</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="8" column="0">
|
|
|
|
<widget class="QLabel" name="label_9">
|
|
|
|
<property name="text">
|
|
|
|
<string>LED :</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="5" column="1">
|
|
|
|
<widget class="QSpinBox" name="m_level_sb"/>
|
|
|
|
</item>
|
|
|
|
<item row="7" column="0">
|
|
|
|
<widget class="QLabel" name="label_8">
|
|
|
|
<property name="text">
|
|
|
|
<string>Fonction :</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="0" colspan="2">
|
|
|
|
<widget class="QPushButton" name="m_group_terminals_pb">
|
|
|
|
<property name="text">
|
|
|
|
<string>Grouper les bornes</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="13" column="0">
|
|
|
|
<spacer name="verticalSpacer">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>40</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
<item row="8" column="1">
|
|
|
|
<widget class="QComboBox" name="m_led_cb">
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Sans</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Avec</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="6" column="1">
|
|
|
|
<widget class="QComboBox" name="m_type_cb">
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Générique</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Fusible</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Sectionnable</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Diode</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Terre</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="9" column="0" colspan="2">
|
|
|
|
<widget class="Line" name="line_2">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="12" column="1">
|
|
|
|
<widget class="KColorCombo" name="m_bridge_color_cb"/>
|
|
|
|
</item>
|
|
|
|
<item row="5" column="0">
|
|
|
|
<widget class="QLabel" name="label_6">
|
|
|
|
<property name="text">
|
|
|
|
<string>Étage :</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="6" column="0">
|
|
|
|
<widget class="QLabel" name="label_7">
|
|
|
|
<property name="text">
|
|
|
|
<string>Type :</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="11" column="0" colspan="2">
|
|
|
|
<widget class="QPushButton" name="m_unbridge_terminals_pb">
|
|
|
|
<property name="text">
|
|
|
|
<string>Déponter les bornes</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="0" colspan="2">
|
|
|
|
<widget class="QWidget" name="widget_2" native="true">
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
|
<property name="leftMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="topMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="rightMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="bottomMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="m_add_terminal_strip_pb">
|
|
|
|
<property name="text">
|
|
|
|
<string>Ajouter un bornier</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../../../qelectrotech.qrc">
|
|
|
|
<normaloff>:/ico/16x16/list-add.png</normaloff>:/ico/16x16/list-add.png</iconset>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="m_remove_terminal_strip_pb">
|
|
|
|
<property name="text">
|
|
|
|
<string>Supprimer le bornier</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../../../qelectrotech.qrc">
|
|
|
|
<normaloff>:/ico/16x16/list-remove.png</normaloff>:/ico/16x16/list-remove.png</iconset>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="m_reload_pb">
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../../../qelectrotech.qrc">
|
|
|
|
<normaloff>:/ico/16x16/view-refresh.png</normaloff>:/ico/16x16/view-refresh.png</iconset>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<spacer name="horizontalSpacer">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>40</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2021-09-22 23:02:33 +02:00
|
|
|
<item row="1" column="0">
|
2021-05-05 21:40:36 +02:00
|
|
|
<widget class="QSplitter" name="splitter">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
2021-04-30 19:26:42 +02:00
|
|
|
</property>
|
2021-05-05 21:40:36 +02:00
|
|
|
<widget class="TerminalStripTreeWidget" name="m_terminal_strip_tw">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="dragEnabled">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="dragDropMode">
|
|
|
|
<enum>QAbstractItemView::InternalMove</enum>
|
|
|
|
</property>
|
|
|
|
<property name="autoExpandDelay">
|
|
|
|
<number>500</number>
|
|
|
|
</property>
|
|
|
|
<property name="animated">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<column>
|
|
|
|
<property name="text">
|
|
|
|
<string>Explorateur de bornier</string>
|
|
|
|
</property>
|
|
|
|
</column>
|
|
|
|
</widget>
|
2021-07-12 19:16:01 +02:00
|
|
|
<widget class="QWidget" name="widget_3" native="true">
|
2021-05-05 21:40:36 +02:00
|
|
|
<property name="sizePolicy">
|
2021-07-12 19:16:01 +02:00
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
2021-05-05 21:40:36 +02:00
|
|
|
<horstretch>1</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
2021-07-12 19:16:01 +02:00
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
|
|
<property name="leftMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="topMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="rightMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="bottomMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<widget class="QTabWidget" name="m_tab_widget">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
|
|
<horstretch>1</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="currentIndex">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<widget class="QWidget" name="m_layout_tab">
|
|
|
|
<attribute name="title">
|
|
|
|
<string>Disposition</string>
|
2021-06-07 19:26:41 +02:00
|
|
|
</attribute>
|
2021-07-12 19:16:01 +02:00
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
2021-05-05 22:34:11 +02:00
|
|
|
<item>
|
2021-07-12 19:16:01 +02:00
|
|
|
<widget class="QTableView" name="m_table_widget">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<attribute name="horizontalHeaderStretchLastSection">
|
|
|
|
<bool>true</bool>
|
|
|
|
</attribute>
|
|
|
|
<attribute name="verticalHeaderVisible">
|
2021-09-22 23:02:33 +02:00
|
|
|
<bool>false</bool>
|
2021-07-12 19:16:01 +02:00
|
|
|
</attribute>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<widget class="QWidget" name="m_data_tab">
|
|
|
|
<attribute name="title">
|
|
|
|
<string>Propriétés</string>
|
|
|
|
</attribute>
|
|
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
|
|
<item row="2" column="0">
|
|
|
|
<widget class="QLabel" name="label_3">
|
|
|
|
<property name="text">
|
|
|
|
<string>Nom :</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="1">
|
|
|
|
<widget class="QLineEdit" name="m_name_le"/>
|
|
|
|
</item>
|
|
|
|
<item row="4" column="0">
|
|
|
|
<widget class="QLabel" name="label_5">
|
|
|
|
<property name="text">
|
|
|
|
<string>Description</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="5" column="0" colspan="2">
|
|
|
|
<widget class="QPlainTextEdit" name="m_description_te"/>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="1">
|
|
|
|
<widget class="QLineEdit" name="m_installation_le"/>
|
|
|
|
</item>
|
|
|
|
<item row="3" column="0">
|
|
|
|
<widget class="QLabel" name="label_4">
|
|
|
|
<property name="text">
|
|
|
|
<string>Commentaire</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="3" column="1">
|
|
|
|
<widget class="QLineEdit" name="m_comment_le"/>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="0">
|
|
|
|
<widget class="QLabel" name="label">
|
|
|
|
<property name="text">
|
|
|
|
<string>Installation :</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="4" column="1">
|
|
|
|
<widget class="Line" name="line">
|
2021-05-05 22:34:11 +02:00
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
2021-07-12 19:16:01 +02:00
|
|
|
</widget>
|
2021-05-05 22:34:11 +02:00
|
|
|
</item>
|
2021-07-12 19:16:01 +02:00
|
|
|
<item row="1" column="1">
|
|
|
|
<widget class="QLineEdit" name="m_location_le"/>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="0">
|
|
|
|
<widget class="QLabel" name="label_2">
|
|
|
|
<property name="text">
|
|
|
|
<string>Localisation :</string>
|
2021-05-05 22:34:11 +02:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
2021-07-12 19:16:01 +02:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QDialogButtonBox" name="m_dialog_button_box">
|
|
|
|
<property name="standardButtons">
|
|
|
|
<set>QDialogButtonBox::Apply|QDialogButtonBox::Reset</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
2021-05-05 21:40:36 +02:00
|
|
|
</widget>
|
2021-04-02 20:52:38 +02:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
2021-04-09 11:48:40 +02:00
|
|
|
<customwidgets>
|
2021-12-01 21:27:04 +01:00
|
|
|
<customwidget>
|
|
|
|
<class>KColorCombo</class>
|
|
|
|
<extends>QComboBox</extends>
|
|
|
|
<header>kcolorcombo.h</header>
|
|
|
|
</customwidget>
|
2021-04-09 11:48:40 +02:00
|
|
|
<customwidget>
|
|
|
|
<class>TerminalStripTreeWidget</class>
|
|
|
|
<extends>QTreeWidget</extends>
|
|
|
|
<header location="global">terminalstriptreewidget.h</header>
|
|
|
|
</customwidget>
|
|
|
|
</customwidgets>
|
2021-05-05 21:40:36 +02:00
|
|
|
<tabstops>
|
2021-10-12 19:25:35 +02:00
|
|
|
<tabstop>m_add_terminal_strip_pb</tabstop>
|
|
|
|
<tabstop>m_remove_terminal_strip_pb</tabstop>
|
|
|
|
<tabstop>m_reload_pb</tabstop>
|
|
|
|
<tabstop>m_auto_ordering_pb</tabstop>
|
|
|
|
<tabstop>m_group_terminals_pb</tabstop>
|
|
|
|
<tabstop>m_ungroup_pb</tabstop>
|
|
|
|
<tabstop>m_level_sb</tabstop>
|
|
|
|
<tabstop>m_terminal_strip_tw</tabstop>
|
|
|
|
<tabstop>m_table_widget</tabstop>
|
|
|
|
<tabstop>m_description_te</tabstop>
|
|
|
|
<tabstop>m_comment_le</tabstop>
|
|
|
|
<tabstop>m_name_le</tabstop>
|
2021-05-05 21:40:36 +02:00
|
|
|
<tabstop>m_tab_widget</tabstop>
|
|
|
|
<tabstop>m_installation_le</tabstop>
|
|
|
|
<tabstop>m_location_le</tabstop>
|
|
|
|
</tabstops>
|
2021-04-30 19:26:42 +02:00
|
|
|
<resources>
|
|
|
|
<include location="../../../qelectrotech.qrc"/>
|
|
|
|
</resources>
|
2021-04-02 20:52:38 +02:00
|
|
|
<connections/>
|
|
|
|
</ui>
|