Commit graph

33 commits

Author SHA1 Message Date
Rob Emery
0bb9c8e294
OK, so this builds; but doesn't return the right type now. Untested if
the UI does what we want
2024-11-03 22:26:06 +01:00
Rob Emery
01897942a0
Trying to get end-to-end of the link providers out so we can pass back
lists
2024-11-03 22:26:05 +01:00
Albert Astals Cid
c0036d2d9b Use QML ListView in KCM 2024-10-06 21:40:39 +00:00
Derry Tutt
5b62441392 Add message about iPhones to message.
This pull request adds a message about the iPhone app to the "No device selected." screen.
2024-06-24 20:41:09 +00:00
Albert Vaca Cintora
a6d0dfd0ae
Better KCM size 2024-05-20 12:41:00 +02:00
Bharadwaj Raju
b174e57162 kcm: Don't hardcode link color
BUG: 477094
2023-11-19 17:34:25 +05:30
Albert Vaca Cintora
064ddfa3fe Refactor PairingHandler
We now have a single PairingHandler for all types of links.

The implementation now is more aligned with the one for Android.
2023-06-02 16:38:52 +00:00
Alexander Lohnau
e365e1b35c Port from KPluginSelector to new KPluginWidget class
Task: https://phabricator.kde.org/T12265
2021-12-15 08:24:22 +01:00
ivan tkachenko
9302a2b3be
[KCM] Fix layout: stretch left VBox without margins
Default margins are non-zero for widgets/layouts. Thus, nested widgets
are gonna shrink further and further inward for no good reason.

This patch makes left column of this KCM (the host name, devices list
view and a Refresh button) visually aligned with the QGroupBox on the
right.
2021-12-08 02:56:05 +03:00
Kai Uwe Broulik
14633d4486 [KCM] Squeeze key and make it selectable by mouse
Avoids it blowing up the layout
2021-12-01 11:26:53 +00:00
Matt Alexander
f596972bcb Update help link to reference a page that helps with connectivity problems. The one that was currently used was mostly concerned with project development. 2021-10-12 08:06:04 +00:00
Albert Vaca Cintora
e7518493df Add a verification key that's displayed when pairing
The key is a sha256 of both devices' certificates. Both should generate the
same key, so hey user can check they are pairing against the right device.

Thanks Matthias Gerstner <mgerstner@suse.de> for reporting this.
2020-11-26 11:28:49 +01:00
Friedrich W. H. Kossebau
0c560d9062 Fix ui file hint: KMessageWidget extends QFrame in KF5 times 2018-03-22 17:34:54 +01:00
Albert Vaca
9aaebd1dd6 Use fallback text if icon is not found
BUG: 356484
2018-02-17 15:14:11 +01:00
Nicolas Fella
aeb4eeff73 Tweak KCM
Summary: Tweaking the text a little leads to a window size that doesn't cut off the refresh button when no device is selected.

Test Plan:
Before:

{F5691067}

After:

{F5691069}

Reviewers: #kde_connect, albertvaka

Reviewed By: #kde_connect, albertvaka

Subscribers: #kde_connect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D10287
2018-02-04 12:41:30 +01:00
Fabian Vogt
0667c6556f Merge branch '1.x' 2017-07-12 11:37:41 +02:00
Fabian Vogt
5641d818dc Treat device names as plaintext, not rich text
Summary:
Notifications, QML Text and QLabel accept a HTML subset,
which does not make sense for device names.

BUG: 382243

Test Plan:
Sent a pair request and accepted it, device name
now shown as plain text everywhere.

Reviewers: #kde_connect, albertvaka

Reviewed By: #kde_connect, albertvaka

Subscribers: #kde_connect

Differential Revision: https://phabricator.kde.org/D6640
2017-07-12 11:33:21 +02:00
Aleix Pol
f65392ca6b Expose pair requests on the KCM 2017-02-20 21:00:26 +01:00
Kai Uwe Broulik
6ca3f98748 [KCM] Don't hardcode hyperlink color
Let the theme come up with a link color which knows best to ensure contrast and readability.

REVIEW: 129144
2016-10-11 11:09:19 +02:00
Albert Vaca
ef6e403219 Fixed typo 2015-12-17 08:49:34 -08:00
Albert Vaca
e4c5ea646e Added a link to the wiki from the KCM. 2015-10-18 15:08:36 -07:00
Albert Vaca
f237a659ec Added a link to the Android app from the KCM 2015-03-23 00:39:36 -07:00
Albert Vaca
b0cc45b52a You can now change your name (the one seen by other devices on the network) 2015-03-01 21:23:05 -08:00
Albert Vaca
e809fa441c Added a refresh button to KCM, just in case.
We already have a refresh button on Android.
2014-08-11 18:57:49 +02:00
Albert Vaca
4dcbb3531a Remove the browse filesystem button from KCM 2014-04-05 20:05:22 +02:00
Samoilenko Yuri
e74627ce15 dirty kcm integration 2014-01-07 01:01:21 +04:00
Pino Toscano
a70fde3655 fixuifiles 2013-09-24 17:54:12 +02:00
Albert Vaca
1604309ace Added symmetric pairing
A KNotification asks to accept the pairing when the other ends requests it
2013-08-30 19:10:43 +02:00
Albert Vaca
88fab1f333 Plugins are now owned by devices and not by daemon
Plugins can no longer emit networkpackages for *every* device.
Plugins are stored in device, wich selectively loads them.
A Device is needed in order to instantiate a Plugin (via PluginLoader)
PluginLoader is a singleton, because every instance of Device need it.
Added KPluginSelector in the KCM to select the plugins to load.
Added architecture explanation to README

Only PingPlugin is working by now.
2013-08-13 05:07:32 +02:00
Albert Vaca
54de8fa2fa Android: Uses Apache Mina to abstract socket management
KDE: Housekeeping
2013-07-24 18:42:33 +02:00
Albert Vaca
975892dcd0 Yet another refactor, mostly moving code from from daemon class to device class
Device now has a public dbus interface
Removed wizard from kcm: now the main list shows all the devices and you can pair/unpair using a checkbox
Both Kde and Android now use unique device ids
2013-07-03 03:52:44 +02:00
Albert Vaca
213e8ea9ad Fixed android app bug 2013-07-02 15:22:05 +02:00
Albert Vaca
6e53c5b9c7 KCM skeleton 2013-06-19 16:15:25 +02:00