fcffc10591
Summary: Allows other devices to make this device discoverable via a kdeconnect.findmyphone.request command, if running. Currently supports playing a sound. Counterpart to FindMyPhone plugin Test Plan: Connect with other device running KDE Connect (with Plasmoid). Select a working play sound in the Find My Device plugin settings. On other device trigger Find My Phone button for this device in KDE Connect Plasmoid and notice this device playing the configured sound. Reviewers: #kde_connect, nicolasfella Reviewed By: #kde_connect, nicolasfella Subscribers: kdeconnect, sredman, mtijink, apol, nicolasfella Tags: #kde_connect Differential Revision: https://phabricator.kde.org/D11773
72 lines
1.7 KiB
XML
72 lines
1.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>FindThisDeviceConfigUi</class>
|
|
<widget class="QWidget" name="FindThisDeviceConfigUi">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>569</width>
|
|
<height>140</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QVBoxLayout">
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox">
|
|
<property name="title">
|
|
<string>Discovery Utilities</string>
|
|
</property>
|
|
<layout class="QVBoxLayout">
|
|
<item>
|
|
<layout class="QHBoxLayout">
|
|
<item>
|
|
<widget class="QLabel">
|
|
<property name="text">
|
|
<string>Sound to play:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="playSoundButton">
|
|
<property name="icon">
|
|
<iconset theme="media-playback-start"/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="KUrlRequester" name="soundFileRequester">
|
|
<property name="toolTip">
|
|
<string>Select the sound to play</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</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>40</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>KUrlRequester</class>
|
|
<extends>QWidget</extends>
|
|
<header>kurlrequester.h</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|