Commit Graph

262 Commits

Author SHA1 Message Date
6594a667af Update translations 2022-10-22 12:40:57 +02:00
056a8049f7 Update info about Plasmoid-sizing for Plasma 5.26 2022-10-17 23:19:28 +02:00
f0ebd75ce0 Add missing German translations 2022-10-17 23:05:30 +02:00
f8a1c35735 Fix typo in German translation 2022-10-17 21:40:14 +02:00
b0e6c6d574 Add release info in Plasmoid AppStream template 2022-10-13 19:34:49 +02:00
39464d0613 Use same indentation in Plasmomid AppStream template as in regular template 2022-10-13 19:34:24 +02:00
66b33fd7d2 Add special AppStream template for Plasmoid
It needs to be an add-on extending the Plasma shell. As this is a special
case it makes sense to add a special template overriding the one from
c++utilities.
2022-10-13 00:06:04 +02:00
cd53a623f1 Prevent AppStream validation message asv-content-rating-missing
See https://github.com/Martchus/syncthingtray/issues/158
2022-10-11 21:01:06 +02:00
157aec85ea Let appstream screenshot URL point to raw images 2022-10-08 23:53:25 +02:00
836f51d6f6 Update translations 2022-10-08 23:43:08 +02:00
5fd07ee1c0 Allow opening wizard from Plasmoid 2022-10-08 23:42:29 +02:00
a0297f67ba Add setting to keep track whether it is the Plasmoid 2022-10-08 22:20:06 +02:00
d4720f464f Add appstream metadata body for Plasmoid 2022-10-08 22:11:06 +02:00
4e19c98471 Add appstream file for Plasmoid 2022-10-08 21:56:46 +02:00
d82bc710fd Allow using system icons instead of ForkAwesome icons
* Allow using icons from freedesktop.org icon theme for most ForkAwesome
  icons if available
* Let's not use it for the nested list of details in the models for now
* See https://github.com/Martchus/syncthingtray/issues/121
2022-10-07 00:20:50 +02:00
ead679203f Set margin of search button correctly (to not affect focus scope) 2022-09-06 10:54:04 +02:00
badfd94a38 Fix right margin of Plasmoid's search button 2022-09-05 23:01:04 +02:00
dd6b79360a Update translations 2022-09-05 22:56:19 +02:00
99a7bd1a01 Hide tab texts in Plasmoid by default to avoid problematic overflow behavior 2022-09-05 22:54:28 +02:00
1a71d8b534 Update translations 2022-09-05 22:18:56 +02:00
8ea158aa23 Fix auto-detection of dark color theme in Plasmoid
* Remove `0 &&` in condition for making `QPalette` from Plasma theme
* Set `WindowText`/`Window` of `QPalette` in legacy case so
  `isPaletteDark()` works
* Set the icon manager's palette from the beginning (and not only if the
  Plasma theme changes)
2022-09-05 22:18:41 +02:00
e1ac6fb29b Update translations 2022-09-03 21:36:57 +02:00
36e9e98424 plasmoid: Assign margins in consistency with official Plasmoids
For instance, the NetworkManager Plasmoid uses these margins for its
ListView. It looks probably better than without margins (after removing
paddings with scroll page).
2022-09-01 22:32:17 +02:00
3bbbab035c Update translations 2022-08-25 22:33:59 +02:00
d079d526ec Avoid ugly padding next to scroll bar in Plasmoid
It is actually just the normal marging/padding Plasmoids normally have but
with the scroll bar it doesn't look good.

The margins would be automatically collapsed if the scroll view was the
immediate content item. However, that's not the case so we need to set the
according property manually using `Plasma.Representation`.
2022-08-25 22:33:30 +02:00
01f722c690 Unify code for about dialog image and attribution
It is the same for all components so define it at one place.
2022-08-25 20:35:02 +02:00
95ff84afb8 Update translations 2022-08-02 20:17:35 +02:00
788a5b2947 Allow opening dir in file browser if path contains tilde
See https://github.com/Martchus/syncthingtray/issues/148
2022-08-02 20:15:24 +02:00
a49da56829 Update translations 2022-07-16 19:37:00 +02:00
2139b204e3 Determine whether to use bright custom colors automatically 2022-07-16 19:28:31 +02:00
eb94cfb3ed Improve screenshot-related section headings in README
* Don't put customized icons under Plasma section; it is not
  Plasma-specific
* Rename "Under Plasma 5" to "Plasmoid" to be more specific
2022-06-06 18:27:09 +02:00
4a63fbdf74 Update Plasmoid screenshot as it has changed a lot 2022-06-06 18:25:26 +02:00
3945ac3471 Update translations 2022-05-30 20:36:03 +02:00
8ec133e62d Make the Plasmoid's Fork Awesome icon coloring react to theme changes
* Make the Fork Awesome image provider URL a property and change its value
  if the Plasmoid's theme changes to cause Qt Quick to redraw images
* Turn caching of Image objects off so Qt Quick actually fetches the images
  again from the image provider
* Change the URL only back after returning to the event loop; otherwise Qt
  Quick apparently does not react to the property change
* See https://github.com/Martchus/syncthingtray/issues/126
2022-05-30 20:36:03 +02:00
637bb39806 Fix scroll view of Plasmoid 2022-05-23 23:20:51 +02:00
204139ba37 Update translations 2022-05-05 20:52:16 +02:00
4c920b6418 Avoid further QML warnings of Plasmoid
This should avoid:
```
file:///usr/share/plasma/plasmoids/martchus.syncthingplasmoid-git/contents/ui/main.qml:13:34: QML FullRepresentation: Binding loop detected for property "implicitWidth"
…
qml: PlasmaExtras.ScrollArea is deprecated. Use PlasmaComponents3.ScrollView instead.
…
file:///usr/share/plasma/plasmoids/martchus.syncthingplasmoid-git/contents/ui/TabButton.qml:27:13: Unable to assign [undefined] to QFont
…
file:///usr/share/plasma/plasmoids/martchus.syncthingplasmoid-git/contents/ui/ToolButton.qml:23:13: Unable to assign [undefined] to QFont
```
2022-05-05 20:52:04 +02:00
56bc9b09d1 Update translations 2022-05-05 18:57:08 +02:00
dcef2099e5 Remove wrong anchors in Plasmoid leading to QML warnings
This should prevent the following warnings:
```
file:///usr/share/plasma/plasmoids/martchus.syncthingplasmoid/contents/ui/FullRepresentation.qml:284:17: QML DevicesPage: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
file:///usr/share/plasma/plasmoids/martchus.syncthingplasmoid/contents/ui/FullRepresentation.qml:287:17: QML DownloadsPage: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
file:///usr/share/plasma/plasmoids/martchus.syncthingplasmoid/contents/ui/FullRepresentation.qml:290:17: QML RecentChangesPage: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
file:///usr/share/plasma/plasmoids/martchus.syncthingplasmoid/contents/ui/FullRepresentation.qml:281:17: QML DirectoriesPage: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
file:///usr/share/plasma/plasmoids/martchus.syncthingplasmoid/contents/ui/FullRepresentation.qml:284:17: QML DevicesPage: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
file:///usr/share/plasma/plasmoids/martchus.syncthingplasmoid/contents/ui/FullRepresentation.qml:287:17: QML DownloadsPage: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
file:///usr/share/plasma/plasmoids/martchus.syncthingplasmoid/contents/ui/FullRepresentation.qml:290:17: QML RecentChangesPage: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
```

See https://github.com/Martchus/syncthingtray/issues/133
2022-05-05 18:56:53 +02:00
b2d81d05e6 Update translations 2022-05-04 01:07:03 +02:00
be9d963a82 Add internal errors to menu/dialog even if the notification is disabled 2022-05-04 00:24:26 +02:00
5eb5a6dc60 Update translations 2022-05-03 23:27:29 +02:00
329a928476 Fix too small tool buttons in Plasmoid
See https://github.com/Martchus/syncthingtray/issues/129
2022-04-09 14:59:34 +02:00
28aa9a516c Have directory ID still accessible in recent changes despite showing name
Show it as tool tip and allow copying it via the context menu
2022-04-09 14:52:00 +02:00
1adfe77e8d Update translations 2022-04-05 19:53:25 +02:00
3d5286bf26 Avoid mixing different icon types in context menu 2022-03-20 17:01:48 +01:00
8e6bd62030 Update translations 2022-03-15 01:10:37 +01:00
db2740d36c Fix compilation against older Plasma versions 2022-03-02 12:22:57 +01:00
5ba07d62ee Update translations 2022-02-02 22:39:04 +01:00
3e38a9917e Use colors from Plasma theme in Plasmoid
One might configure a light color theme for applications and a dark theme
for Plasma (or vice versa) so this is an important difference, see
https://github.com/Martchus/syncthingtray/issues/126.
2022-02-02 22:38:36 +01:00