Martchus
975e86c895
Allow backend libraries to be used from other projects
...
So far the backend libraries' include paths were relative within this
repository. This means the header files could not be used at their
installed location.
This change replaces them with "<>" includes to fix that problem and adds
a new include directory so building everything at once still works.
With this change it should be easier to actually split some parts into
another repository if this one would become too big.
2021-01-25 19:48:11 +01:00
Martchus
57e9865ace
Sort devices by name
2020-10-20 19:36:02 +02:00
Martchus
3e1beaa11d
Sort directories by name/ID
...
* Use the name as sorting criteria and fall back to the ID if there's no
name
* Use new SyncthingSortFilterDirectoryModel also for Plasmoid's filtering
* See https://github.com/Martchus/syncthingtray/issues/75
2020-10-18 15:48:02 +02:00
Martchus
0b5fb14931
Remove overspecification of Qt version in documentation and comments
2020-09-04 01:13:46 +02:00
Martchus
e62a69a2a9
Enable High-DPI scaling/pixmaps in plasmoid
...
* Fix too small icons, see
https://github.com/Martchus/syncthingtray/issues/71
* Still needs testing on a real 4k screen
* Hopefully this does not distrub the rest of the shell
2020-07-23 18:47:35 +02:00
Martchus
c0e2e0bce1
Apply clang-format
2020-07-12 21:17:34 +02:00
Martchus
5b2147a874
Apply scaling in renderSvgImage() similar to QIcon::pixmap() does
2020-07-12 02:38:57 +02:00
Martchus
e8952e77d1
Fix connecting autom. in plasmoid when systemd integration is used
2020-05-25 20:30:39 +02:00
Martchus
ed4d1fc213
Use idle status icon for button to open Syncthing web UI
...
That looks more consistent, especially when using a dark color theme
where the default Syncthing icon doesn't fit in very well.
2020-04-12 23:16:26 +02:00
Martchus
6921f9aa89
Configure bright colors for recent changes model
2020-02-29 13:17:38 +01:00
Martchus
cd805e83ba
Allow using bright custom color in Dolphin menu
...
to make it look better when using a dark theme
2020-02-18 20:47:55 +01:00
Martchus
c103174609
Make desktop files for Plasma integration from template
...
* Avoid redundant meta-data
* Take target suffix into account
2020-02-14 23:14:50 +01:00
Martchus
6026339c83
Show recent changes
2020-01-18 16:43:13 +01:00
Martchus
e76d4afff5
Improve layout of Plasmoid appearance settings page
2020-01-11 21:42:25 +01:00
Martchus
addba5a87c
Improve layouts of settings pages
...
Especially prevent certain elements from expanding (the
additional space between the elements looks weird).
2020-01-11 20:53:07 +01:00
Martchus
32f78b74fd
Overhaul systemd integration, support system-wide units
...
* Lazy initialize systemd interface and don't initialize it
at all if the unit name is empty
* Allow to supervise/control system-wide units in addition to
user units (see https://github.com/Martchus/syncthingtray/issues/61 )
* Avoid redundant code
2019-12-18 00:18:46 +01:00
Martchus
7c3a9634ae
Enable wrapping of longer labels of plasmoid appearance settings
2019-12-15 20:21:51 +01:00
Martchus
32996b8894
Improve sizing of Plasmoid
2019-11-30 18:47:58 +01:00
Martchus
47fae26975
Construct QList for pages from initializer list
2019-08-10 22:04:39 +02:00
Martchus
1982d26295
Remove code duplication in SyncthingApplet
2019-08-01 19:08:58 +02:00
Martchus
2363e9a7d4
Update status icon and tooltip when changing settings
...
Required because the reconnect interval which might be included
in the tooltip might have changed.
2019-08-01 19:07:58 +02:00
Martchus
353f1e2463
Allow to distinguish icon colors within UI and system tray
...
This is useful because sometimes the background color of the system
tray is dark but the overall system UI still uses a light theme.
For the Plasmoid this should never be the case, though. Hence the
extra settings are not available there.
2019-07-31 20:16:43 +02:00
Martchus
62fc662692
Add tooltips to plasmoid statistics
2019-07-21 22:33:52 +02:00
Martchus
335913c8ca
Fix build without systemd support
2019-07-13 13:21:02 +02:00
Martchus
2112b00347
Allow to show start/stop button for launcher
2019-07-12 20:32:55 +02:00
Martchus
6ac633366e
Don't use functions obsoleted in Qt 5.13.0
2019-06-25 14:37:14 +02:00
Martchus
dc7d9b815f
Adapt to changes in c++utilities
2019-06-14 19:15:26 +02:00
Martchus
64473df5ba
Adapt to changes in c++utilities
2019-06-10 22:48:26 +02:00
Martchus
0e7cc8ba9b
Apply changed status colors without restart
2019-05-19 23:11:50 +02:00
Martchus
72b72b26ae
Don't abuse scanning icon to get default logo
2019-05-19 18:04:28 +02:00
Martchus
05da0465a7
Allow customizing status icon colors
2019-05-19 17:57:37 +02:00
Martchus
8dacbaa8d7
Adapt to new c++utilities API
2019-05-05 18:42:19 +02:00
Martchus
0049d96bca
Adapt to c++utilities API changes
2019-05-04 22:18:31 +02:00
Martchus
d88df866d2
Adapt to c++utilities v5
2019-05-04 21:05:21 +02:00
Martchus
3e97a65bae
Use font awesome icons for global stats in plasmoid
2019-02-27 20:42:41 +01:00
Martchus
a3a09297f7
Render font awesome icons in color from QPalette
...
Since theres apparently no API in the Qt Svg module to support
this the change introduced here simply replaces in the SVG
document itself.
2019-02-23 13:55:46 +01:00
Martchus
e56c950100
Show overall statistics in plasmoid
2019-02-17 23:46:03 +01:00
Martchus
326f03b604
Apply cmake-format
2019-02-06 17:36:14 +01:00
Martchus
4a42a3f0c0
Fix and refactor directory error handling
...
* Rely not only on the FolderErrors event
* Request pull errors when opening the dialog
* Use "pullErrors" from FolderSummary
* Move code for directory error dialog into
its own class
This should fix that sometimes obsolete errors
were still displayed or actually present errors
missing.
2018-11-03 21:30:17 +01:00
Martchus
930691ebdc
Rename ErrorViewDialog to InternalErrorsDialog
2018-11-03 18:15:10 +01:00
Martchus
900377b036
Stop web view immediately if in background and user disables this
2018-10-28 14:27:25 +01:00
Martchus
98a6b77013
Use right status in SyncthingApplet::handleConnectionStatusChanged()
2018-10-10 23:37:24 +02:00
Martchus
533a5d0939
Use override
2018-10-10 21:26:46 +02:00
Martchus
8173cc99e8
Move ChecklistModel (de)serialization to qtutilities
2018-10-10 21:00:13 +02:00
Martchus
87a10c5b33
Allow hiding Plasma applet in certain states
...
See https://github.com/Martchus/syncthingtray/issues/23
2018-10-10 17:48:48 +02:00
Martchus
587cce4216
Fix plasmoid build error when configured without web view
...
See https://github.com/Martchus/syncthingtray/issues/19
2018-08-24 15:34:36 +02:00
Martchus
7e09d9b707
plasmoid: Emit event when updating connected devs correctly
2018-08-04 15:47:19 +02:00
Martchus
e7d365f849
Initialize SyncthingNotifier correctly in Plasmoid
2018-05-15 22:27:54 +02:00
Martchus
49b33e5afe
Ensure errors on first connection after startup are handled
2018-05-15 22:01:03 +02:00
Martchus
9ce8c593a2
Require qtutilities 5.10.0 for AboutDialog overload
2018-05-08 19:20:05 +02:00