mirror of
https://github.com/dkmstr/openuds.git
synced 2025-01-06 13:17:54 +03:00
328 lines
9.3 KiB
XML
328 lines
9.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>UdsActorSetupDialog</class>
|
|
<widget class="QDialog" name="UdsActorSetupDialog">
|
|
<property name="windowModality">
|
|
<enum>Qt::WindowModal</enum>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>400</width>
|
|
<height>243</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>Verdana</family>
|
|
<pointsize>9</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>UDS Actor Configuration</string>
|
|
</property>
|
|
<property name="autoFillBackground">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="locale">
|
|
<locale language="English" country="UnitedStates"/>
|
|
</property>
|
|
<property name="sizeGripEnabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="modal">
|
|
<bool>true</bool>
|
|
</property>
|
|
<widget class="QPushButton" name="testButton">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>160</y>
|
|
<width>361</width>
|
|
<height>23</height>
|
|
</rect>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Click to test the selecter parameters</string>
|
|
</property>
|
|
<property name="whatsThis">
|
|
<string><html><head/><body><p>Click on this button to test the server host and master key parameters.</p><p>A window will be displayed with results after the test is executed.</p><p><br/></p><p>This button will only be active if all parameters are filled.</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Test parameters</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="saveButton">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>190</y>
|
|
<width>101</width>
|
|
<height>23</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Accepts changes and saves them</string>
|
|
</property>
|
|
<property name="whatsThis">
|
|
<string>Clicking on this button will accept all changes and save them, closing the configuration window</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Accept && Save</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="cancelButton">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>260</x>
|
|
<y>190</y>
|
|
<width>121</width>
|
|
<height>23</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Cancel all changes and discard them</string>
|
|
</property>
|
|
<property name="whatsThis">
|
|
<string>Discards all changes and closes the configuration window</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Cancel && Discard</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QWidget" name="layoutWidget">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>20</y>
|
|
<width>361</width>
|
|
<height>131</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QFormLayout" name="formLayout">
|
|
<property name="fieldGrowthPolicy">
|
|
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
|
|
</property>
|
|
<property name="verticalSpacing">
|
|
<number>16</number>
|
|
</property>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>UDS Server Host</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QLineEdit" name="host">
|
|
<property name="acceptDrops">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Uds Broker Server Addres. Use IP or FQDN</string>
|
|
</property>
|
|
<property name="whatsThis">
|
|
<string>Enter here the UDS Broker Addres using either its IP address or its FQDN address</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="text">
|
|
<string>UDS Master Key</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QLineEdit" name="masterKey">
|
|
<property name="toolTip">
|
|
<string>Master key to communicate with UDS Broker</string>
|
|
</property>
|
|
<property name="whatsThis">
|
|
<string><html><head/><body><p>Enter the Master Key (found on<span style=" font-weight:600;"> UDS Configuration</span> section) of the UDS Broker to allow communication of the Actor with Broker</p></body></html></string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="label_4">
|
|
<property name="text">
|
|
<string>Security</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QComboBox" name="useSSl">
|
|
<property name="toolTip">
|
|
<string>Select communication security with broker</string>
|
|
</property>
|
|
<property name="whatsThis">
|
|
<string><html><head/><body><p>Select the security for communications with UDS Broker.</p><p>The recommended method of communication is <span style=" font-weight:600;">Use SSL</span>, but selection needs to be acording to your broker configuration.</p></body></html></string>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>Do not use SSL</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Use SSL</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="logLevelLabel">
|
|
<property name="text">
|
|
<string>Log Level</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="QComboBox" name="logLevelComboBox">
|
|
<property name="currentIndex">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="frame">
|
|
<bool>true</bool>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">DEBUG</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">INFO</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">ERROR</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">FATAL</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>host</sender>
|
|
<signal>textChanged(QString)</signal>
|
|
<receiver>UdsActorSetupDialog</receiver>
|
|
<slot>textChanged()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>123</x>
|
|
<y>31</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>143</x>
|
|
<y>48</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>masterKey</sender>
|
|
<signal>textChanged(QString)</signal>
|
|
<receiver>UdsActorSetupDialog</receiver>
|
|
<slot>textChanged()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>258</x>
|
|
<y>75</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>299</x>
|
|
<y>84</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>cancelButton</sender>
|
|
<signal>pressed()</signal>
|
|
<receiver>UdsActorSetupDialog</receiver>
|
|
<slot>cancelAndDiscard()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>315</x>
|
|
<y>165</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>231</x>
|
|
<y>161</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>testButton</sender>
|
|
<signal>pressed()</signal>
|
|
<receiver>UdsActorSetupDialog</receiver>
|
|
<slot>testParameters()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>239</x>
|
|
<y>132</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>285</x>
|
|
<y>185</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>saveButton</sender>
|
|
<signal>pressed()</signal>
|
|
<receiver>UdsActorSetupDialog</receiver>
|
|
<slot>acceptAndSave()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>71</x>
|
|
<y>165</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>124</x>
|
|
<y>181</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
<slots>
|
|
<slot>textChanged()</slot>
|
|
<slot>cancelAndDiscard()</slot>
|
|
<slot>testParameters()</slot>
|
|
<slot>acceptAndSave()</slot>
|
|
</slots>
|
|
</ui>
|