Commit graph

119 commits

Author SHA1 Message Date
Nicolas Fella
00111e41e1 [app] Use new mouse icons 2018-11-22 01:27:11 +01:00
Nicolas Fella
3865307619 Fix device name display in app 2018-11-18 21:13:43 +01:00
Nicolas Fella
861a0441b5 Add RemoteKeyboard control to app
Summary:
Add textfield for remote keyboard input to app

{F6397375}

Test Plan: Write some text

Reviewers: #kde_connect, apol

Reviewed By: #kde_connect, apol

Subscribers: kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D16747
2018-11-08 02:53:03 +01:00
Nicolas Fella
2f76d2143f [app] Add system volume control
Summary: Add a remote systemvolume plugin.

Test Plan:
Change volume via slider -> Volume on target changes
Change volume on target -> Slider changes

Mute via button -> Mute on target changes
Mute on target -> Button changes icon

Add/remove sink on host -> Sink is add/removed in list

Reviewers: #kde_connect, apol

Reviewed By: #kde_connect, apol

Subscribers: apol, kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D16667
2018-11-08 00:43:12 +01:00
Nicolas Fella
ae53c9c0bf Fix deprecation warning
Test Plan: App still starts

Reviewers: #kde_connect, sredman

Reviewed By: #kde_connect, sredman

Subscribers: sredman, kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D16626
2018-11-07 16:06:21 +01:00
Nicolas Fella
7c89338deb Add a little margin 2018-11-05 02:05:02 +01:00
Nicolas Fella
71ef6f6ba9 Add explicit edit mode to device name field
Summary: Similar to what we do in the KCM. Show the name in a label and make it editable per button.

Test Plan: Rename device

Reviewers: #kde_connect, apol

Reviewed By: #kde_connect, apol

Subscribers: apol, kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D16639
2018-11-05 01:56:25 +01:00
Nicolas Fella
2a8938e09f Show message when clicking add commands
Summary: It isn't obvious what happens when clicking the add commands action. Show a message.

Reviewers: #kde_connect, apol

Reviewed By: #kde_connect, apol

Subscribers: kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D16549
2018-11-03 00:27:29 +01:00
Billy Laws
f15c21e56b Add support for sharing files from QML app
Summary: This allows you to a share a local file to a remote device using the qml app.

Reviewers: nicolasfella

Reviewed By: nicolasfella

Subscribers: kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D16614
2018-11-02 21:42:08 +01:00
Nicolas Fella
1359a9c059 Don't use deprecated ApplicationHeader
Summary:
Use the implicit header

This makes the Add commands action show up in the top bar on desktop

Desktop
{F6375830}

Mobile
{F6375831}

Reviewers: #kde_connect, apol

Reviewed By: #kde_connect, apol

Subscribers: kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D16548
2018-10-31 16:50:52 +01:00
Albert Vaca
1e9a1f93ed Fix license header for smsapp 2018-10-11 22:52:42 +02:00
Nicolas Fella
7307cd2709 [App] Always show drawer on Desktop
Summary: A drawer is not good UX on the desktop. Only collapse it when on mobile or window is very narrow

Test Plan:
{F6319485}
{F6319492}

Reviewers: #kde_connect, albertvaka

Reviewed By: #kde_connect, albertvaka

Subscribers: albertvaka, kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D16122
2018-10-11 16:30:02 +02:00
l10n daemon script
283211b4eb SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2018-10-10 06:19:16 +02:00
Nicolas Fella
bd5c3ca460 [App] Show message when no device is found
Summary: {F6286990}

Reviewers: #kde_connect, apol

Reviewed By: #kde_connect, apol

Subscribers: kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D15784
2018-09-27 18:16:39 +02:00
Nicolas Fella
5cc205b5de [App] Show text if no commands are defined 2018-09-24 21:49:18 +02:00
Nicolas Fella
aaa95cf6db Revert accidental change 2018-08-03 02:42:21 +02:00
Nicolas Fella
81cc275f5b Fix NotificationListener Test 2018-08-03 02:40:34 +02:00
Nicolas Fella
e4385042eb Show icons in plugin list
Summary:
Show the plugin's icons in the list

Depends on D14567

{F6172885}

Reviewers: #kde_connect, apol

Reviewed By: #kde_connect, apol

Subscribers: kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D14571
2018-08-03 02:25:39 +02:00
Nicolas Fella
f094408171 Show message and hide controls if no player is available
Summary: Instead of showing empty controls show a message that no players are available

Test Plan: Use eyes

Reviewers: #kde_connect, apol

Reviewed By: #kde_connect, apol

Subscribers: kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D12830
2018-07-12 15:22:38 +02:00
Nicolas Fella
17e1e1eced Enable running commands from app
Summary:
The RemotecommandsPlugin lacks a graphical frontend.

Inlcudes a Dbus Interface for fetching the commands and a Model exposing them to QML. For this I oriented on the NotificatonsPlugin.

Test Plan:
Open command list in app, check available commands, trigger some. Do same for CLI.
Activate edit action, check KCM opening on remote device, add command, check for new command in list

Reviewers: #kde_connect, apol

Reviewed By: #kde_connect, apol

Subscribers: apol, kdeconnect, #kde_connect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D13503
2018-06-20 08:23:15 +02:00
l10n daemon script
e40312bf5e SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2018-06-18 05:27:46 +02:00
Nicolas Fella
51f3394a21 Do not disable paired devices in list
Summary: There is no reason to disable it. On Android we do the same

Test Plan: Click on paired device in list, correct Page opens

Reviewers: #kde_connect, apol

Reviewed By: #kde_connect, apol

Subscribers: kdeconnect, #kde_connect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D13454
2018-06-12 14:27:29 +02:00
Nicolas Fella
cb470ce311 Enable accepting/rejecting pairing from app
Test Plan: Open app, request pairing from other device, accept/reject it

Reviewers: #kde_connect, apol

Reviewed By: #kde_connect, apol

Subscribers: kdeconnect, #kde_connect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D13452
2018-06-12 14:25:26 +02:00
Aleix Pol
f171f76d74 Fix warning 2018-06-08 20:23:03 +02:00
Aleix Pol
db2e1af179 kcapp: Make both the device and find device page look similar
Use ScrollablePage or drop paddings
Don't add spacing between delegates
2018-06-08 20:22:54 +02:00
Aleix Pol
9bc9aba474 kcapp: Add a presentation mode
Just does presentation things, could do more.
2018-06-08 20:17:06 +02:00
Aleix Pol
b4b48b97d6 Port to QQC2 2018-06-08 01:58:50 +02:00
Aleix Pol
4e0588adc7 Include a kirigami header to the application
It helps and it looks less empty
2018-06-08 01:50:50 +02:00
Aleix Pol
61d3d6c1a1 Kirigami: Don't clear the stack when changing devices from finddevice page
It allows simpler navigation and it doesn't show the weird behavior we
used to have.
2018-06-08 01:49:35 +02:00
Nicolas Fella
1934585c41 Use title, album and artist in UI
Summary: Depends on D12546

Test Plan: Look at it

Reviewers: #kde_connect, apol, mtijink

Reviewed By: #kde_connect, mtijink

Subscribers: kdeconnect, mtijink, apol, #kde_connect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D12552
2018-05-12 18:04:44 +02:00
Nicolas Fella
aa5aeedf0a Fix another DBus connection in Kirigami app
Summary: When a DevicePage is created from FindDevicePage the device is not passed correctly, resulting in some device is null warnings. The pair button still does not work, but it seems to be another issue.

Test Plan: I could set the button text to the device id, so the device is passed correctly. The button still does not work as intended though.

Reviewers: #kde_connect

Subscribers: apol, #kde_connect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D12506
2018-04-28 00:25:17 +02:00
Nicolas Fella
25cbf66e58 Fix DBus connection in Kirigami app
Summary: The device id was not properly passed to the interface factory, rendering the Mpris and mousepad UI useless

Test Plan: Mpris and mousepad UI in app are now actually filled with content

Reviewers: #kde_connect, apol

Reviewed By: #kde_connect, apol

Subscribers: #kde_connect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D12505
2018-04-25 14:47:56 +02:00
Friedrich W. H. Kossebau
bb3ab8b631 Clean-up requirements: cmake 3.0, qt 5.7, use min versions, deduplicate KF5
Summary:
* cmake 2.8.12 is really outdated, 3.0 is minimum in plasma & kf5
* cmake_minimum_required should be at begin of toplevel CMakeLists.txt
* bump qt version to 5.7, matching the min Qt version of kf5 5.42
* with ecm being part of kf5 since early versions, share ${KF5_MIN_VERSION}
* use QT_MIN_VERSION & KF5_MIN_VERSION also for separate find_package calls
* deduplicate all KF5 components searched for in unconditionally included
  subdirs

Test Plan: Still configures and builds with all options OFF & ON

Reviewers: #kde_connect, nicolasfella

Reviewed By: #kde_connect, nicolasfella

Subscribers: nicolasfella

Differential Revision: https://phabricator.kde.org/D11418
2018-03-17 23:34:33 +01:00
l10n daemon script
057a114629 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2017-09-19 04:58:52 +02:00
Albert Vaca
84bba9429f Merge branch 'master' into 1.x
# Conflicts:
#	core/backends/lan/downloadjob.cpp
#	core/backends/lan/downloadjob.h
#	core/filetransferjob.cpp
#	core/filetransferjob.h
#	plugins/notifications/sendreplydialog.cpp
#	plugins/notifications/sendreplydialog.h
#	plugins/telephony/sendsmsdialog.cpp
#	plugins/telephony/sendsmsdialog.h
2017-09-03 22:05:54 +02:00
Jean Vincent
72535ecf48 Make member variable names, & placement and * placement more coherent
Summary:
Change all member variables to the form m_fooBar because it is the preferred form in Qt (it was half and half between this and mFooBar, and a minority didn't have anything).
Place all references and pointers on the side of the type since it is the majority.

Basically:
 - mFoo -> m_foo
 - foo -> m_foo (if it is a member variable)
 - Type &ref -> Type& ref
 - Type *ptr -> Type* ptr

Reviewers: #kde_connect, nicolasfella, albertvaka

Reviewed By: #kde_connect, nicolasfella, albertvaka

Subscribers: albertvaka, #kde_connect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D7312
2017-09-03 21:45:08 +02:00
l10n daemon script
dadcc76841 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2017-08-06 06:02:06 +02:00
l10n daemon script
0356908fc8 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2017-08-06 04:42:32 +02:00
l10n daemon script
cc43a72884 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2017-07-14 05:43:50 +02:00
l10n daemon script
36269e6506 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2017-06-20 04:26:54 +02:00
l10n daemon script
0d217c58e1 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2017-05-27 04:22:53 +02:00
Aleix Pol
d42a65e621 Change how we specify devices 2017-05-18 11:45:28 +02:00
Aleix Pol
51c4eb68c6 Port to kirigami 2.0 2017-05-09 11:41:55 +02:00
Albert Vaca
bc0b182708 Name of the app 2017-02-08 14:58:31 +01:00
l10n daemon script
805c813537 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2017-02-03 06:09:47 +01:00
l10n daemon script
fd64a8bcc7 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2017-01-06 05:54:14 +01:00
l10n daemon script
e6a7df25aa SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2016-12-20 12:45:03 +01:00
Albert Vaca
6a2a0b1c76 Merge branch '1.x'
# Conflicts:
#	plugins/mpriscontrol/mpriscontrolplugin.cpp
#	plugins/sendnotifications/kdeconnect_sendnotifications.json
2016-11-26 16:40:24 +01:00
Albert Vaca
60331ccbf1 Clazy says all this QStringLiteral and QLatin1String were missing/wrong 2016-11-26 16:21:29 +01:00
l10n daemon script
b4e008847a SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2016-11-25 04:58:17 +01:00