|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<ui version="4.0">
|
|
|
<class>SpwTcpPacketServer</class>
|
|
|
<widget class="QWidget" name="SpwTcpPacketServer">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>0</x>
|
|
|
<y>0</y>
|
|
|
<width>726</width>
|
|
|
<height>535</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="windowTitle">
|
|
|
<string>Form</string>
|
|
|
</property>
|
|
|
<property name="toolTip">
|
|
|
<string><html><head/><body><p>The spacewire plugin TCP server allows you to forward spacewire packets to any custom application, here you will configure the TCP connection and get some status information.</p></body></html></string>
|
|
|
</property>
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
<item>
|
|
|
<widget class="QGroupBox" name="configGroupBox">
|
|
|
<property name="title">
|
|
|
<string>Configuration</string>
|
|
|
</property>
|
|
|
<layout class="QFormLayout" name="formLayout_2">
|
|
|
<item row="0" column="0">
|
|
|
<widget class="QLabel" name="IPLbl">
|
|
|
<property name="text">
|
|
|
<string>Server IP</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item row="0" column="1">
|
|
|
<widget class="QLineEdit" name="IPLineEdit">
|
|
|
<property name="maxLength">
|
|
|
<number>15</number>
|
|
|
</property>
|
|
|
<property name="readOnly">
|
|
|
<bool>true</bool>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item row="1" column="0">
|
|
|
<widget class="QLabel" name="PortLbl">
|
|
|
<property name="text">
|
|
|
<string>Server Port</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item row="1" column="1">
|
|
|
<widget class="QLineEdit" name="PortLineEdit">
|
|
|
<property name="toolTip">
|
|
|
<string><html><head/><body><p>Set the port on which the server will listen and accept client connections.</p></body></html></string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item row="2" column="1">
|
|
|
<widget class="QPushButton" name="startServeQpb">
|
|
|
<property name="text">
|
|
|
<string>Start Server</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
</layout>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item>
|
|
|
<widget class="QGroupBox" name="groupBox">
|
|
|
<property name="title">
|
|
|
<string>Server Statistics</string>
|
|
|
</property>
|
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
|
<item row="2" column="0" colspan="2">
|
|
|
<widget class="QGroupBox" name="clientListGroupBox_2">
|
|
|
<property name="title">
|
|
|
<string>Connected clients</string>
|
|
|
</property>
|
|
|
<property name="flat">
|
|
|
<bool>false</bool>
|
|
|
</property>
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
|
<item>
|
|
|
<widget class="QListWidget" name="listWidget"/>
|
|
|
</item>
|
|
|
</layout>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item row="0" column="1">
|
|
|
<widget class="QLCDNumber" name="transmittedPacketsNumber"/>
|
|
|
</item>
|
|
|
<item row="0" column="0">
|
|
|
<widget class="QLabel" name="label">
|
|
|
<property name="text">
|
|
|
<string>Transmitted Packets</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item row="1" column="0">
|
|
|
<widget class="QLabel" name="label_2">
|
|
|
<property name="text">
|
|
|
<string>Received Packets</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item row="1" column="1">
|
|
|
<widget class="QLCDNumber" name="receivedPacketsNumber"/>
|
|
|
</item>
|
|
|
</layout>
|
|
|
</widget>
|
|
|
</item>
|
|
|
</layout>
|
|
|
</widget>
|
|
|
<resources/>
|
|
|
<connections/>
|
|
|
</ui>
|
|
|
|