mirror of
https://github.com/naruxde/revpicommander.git
synced 2025-11-08 16:43:53 +01:00
Start a complete new setting file with right naming. Import all old saved connections from old settings file. Revolution Pi saved settings are now in an own class with all properties and default values. All modules are using this new setting class, which support the save function.
185 lines
4.9 KiB
XML
185 lines
4.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>diag_search</class>
|
|
<widget class="QDialog" name="diag_search">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>480</width>
|
|
<height>360</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Search Revolution Pi devices</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="0" column="0" colspan="2">
|
|
<layout class="QHBoxLayout" name="hl_header">
|
|
<item>
|
|
<widget class="QLabel" name="lbl_search">
|
|
<property name="text">
|
|
<string>Searching for Revolution Pi devices in your network...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btn_restart">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Restart search</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="ressources.qrc">
|
|
<normaloff>:/action/ico/reload.ico</normaloff>:/action/ico/reload.ico</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>24</width>
|
|
<height>24</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="1" column="0" colspan="2">
|
|
<widget class="QTableWidget" name="tb_revpi">
|
|
<property name="editTriggers">
|
|
<set>QAbstractItemView::NoEditTriggers</set>
|
|
</property>
|
|
<property name="tabKeyNavigation">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="selectionMode">
|
|
<enum>QAbstractItemView::SingleSelection</enum>
|
|
</property>
|
|
<property name="selectionBehavior">
|
|
<enum>QAbstractItemView::SelectRows</enum>
|
|
</property>
|
|
<property name="sortingEnabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="cornerButtonEnabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<attribute name="horizontalHeaderHighlightSections">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
<attribute name="horizontalHeaderStretchLastSection">
|
|
<bool>true</bool>
|
|
</attribute>
|
|
<attribute name="verticalHeaderVisible">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
<column>
|
|
<property name="text">
|
|
<string>Zero-conf name</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string>IP address</string>
|
|
</property>
|
|
</column>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QPushButton" name="btn_connect">
|
|
<property name="text">
|
|
<string>&Connect to Revolution Pi</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QPushButton" name="btn_save">
|
|
<property name="text">
|
|
<string>&Save connection</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0" colspan="2">
|
|
<widget class="QDialogButtonBox" name="btn_box">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="standardButtons">
|
|
<set>QDialogButtonBox::Close</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
<action name="act_copy_host">
|
|
<property name="text">
|
|
<string>Copy host name</string>
|
|
</property>
|
|
</action>
|
|
<action name="act_copy_ip">
|
|
<property name="text">
|
|
<string>Copy IP address</string>
|
|
</property>
|
|
</action>
|
|
<action name="act_open_pictory">
|
|
<property name="text">
|
|
<string>Open piCtory</string>
|
|
</property>
|
|
</action>
|
|
<action name="act_connect_ssh">
|
|
<property name="text">
|
|
<string>Connect via SSH (recommended)</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Establish a connection via encrypted SSH tunnel</string>
|
|
</property>
|
|
</action>
|
|
<action name="act_connect_xmlrpc">
|
|
<property name="text">
|
|
<string>Connect via XML-RPC</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>You have to configure your Revolution Pi to accept this connections</string>
|
|
</property>
|
|
</action>
|
|
<action name="act_connect">
|
|
<property name="text">
|
|
<string>Connect</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Connect to Revoluton Pi</string>
|
|
</property>
|
|
</action>
|
|
</widget>
|
|
<resources>
|
|
<include location="ressources.qrc"/>
|
|
</resources>
|
|
<connections>
|
|
<connection>
|
|
<sender>btn_box</sender>
|
|
<signal>rejected()</signal>
|
|
<receiver>diag_search</receiver>
|
|
<slot>reject()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>239</x>
|
|
<y>338</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>239</x>
|
|
<y>179</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|