253 lines
6.9 KiB
XML
253 lines
6.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>NetworkRemoteSettingsPage</class>
|
|
<widget class="QWidget" name="NetworkRemoteSettingsPage">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>385</width>
|
|
<height>528</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Network Remote</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<widget class="QCheckBox" name="use_remote">
|
|
<property name="text">
|
|
<string>Use a network remote control</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="use_remote_container_2">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="title">
|
|
<string>Settings</string>
|
|
</property>
|
|
<layout class="QFormLayout" name="formLayout">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_remote_port">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>171</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="layoutDirection">
|
|
<enum>Qt::LeftToRight</enum>
|
|
</property>
|
|
<property name="text">
|
|
<string>Port</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QSpinBox" name="remote_port">
|
|
<property name="maximum">
|
|
<number>65535</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>8080</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0" colspan="2">
|
|
<widget class="QCheckBox" name="only_non_public_ip">
|
|
<property name="toolTip">
|
|
<string>Only accept connections from clients within the ip ranges:
|
|
10.x.x.x
|
|
172.16.0.0 - 172.31.255.255
|
|
192.168.x.x</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Only allow connections from the local network</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QCheckBox" name="use_auth_code">
|
|
<property name="toolTip">
|
|
<string>A client can connect only, if the correct code was entered.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Require authentication code</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QSpinBox" name="auth_code">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="suffix">
|
|
<string/>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>99999</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0" colspan="2">
|
|
<widget class="QCheckBox" name="allow_downloads">
|
|
<property name="toolTip">
|
|
<string>Allow a client to download music from this computer.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Allow downloads</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="toolTip">
|
|
<string>Enter this IP in the App to connect to Clementine.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Your IP address:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="1">
|
|
<widget class="QLabel" name="ip_address">
|
|
<property name="text">
|
|
<string>127.0.0.1</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox">
|
|
<property name="title">
|
|
<string>Download the Android app</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
<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>
|
|
<item>
|
|
<widget class="QLabel" name="play_store">
|
|
<property name="cursor">
|
|
<cursorShape>PointingHandCursor</cursorShape>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_2">
|
|
<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>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>or scan the QR code!</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="android_app_qr">
|
|
<property name="pixmap">
|
|
<pixmap resource="../../data/data.qrc">:/clementine_remote_qr.png</pixmap>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>98</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources>
|
|
<include location="../../data/data.qrc"/>
|
|
</resources>
|
|
<connections>
|
|
<connection>
|
|
<sender>use_auth_code</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>auth_code</receiver>
|
|
<slot>setEnabled(bool)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>137</x>
|
|
<y>124</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>351</x>
|
|
<y>125</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>use_remote</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>use_remote_container_2</receiver>
|
|
<slot>setEnabled(bool)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>59</x>
|
|
<y>22</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>57</x>
|
|
<y>43</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|