Martchus
f75966aadc
Fix warnings
2021-03-20 22:39:40 +01:00
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
da911c6350
Refactor overall status compution
...
* Allow configuring the information to consider for computing the overall
status via SyncthingStatusComputionFlags
* Add flag to allow considering the status of remote devices for
https://github.com/Martchus/syncthingtray/issues/74
* Show only plain "idle" status when no flags are present for
https://github.com/Martchus/syncthingtray/issues/76
* Set the default flags to keep the default behavior as-is
2020-12-31 02:48:18 +01:00
Martchus
4445659d2b
Simply use isConnected() in StatusInfo::updateConnectedDevices()
...
instead of explicitely listing all "connected" states.
2020-12-31 02:15:12 +01:00
Martchus
a6727b0fa7
Show the connection config name in tooltip when displaying multiple icons
2020-10-19 18:33:10 +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
d763a755ac
Fix typo in 'Connected to ...'
2018-11-13 18:00:30 +01:00
Martchus
7dde61987a
Clear the right status in StatusInfo::updateConnectionStatus()
2018-09-05 17:14:14 +02:00
Martchus
45ef2518e8
Apply clang-format
2018-08-04 15:47:43 +02:00
Martchus
59924f431c
Use additional status text not only for devs
2018-07-30 21:37:26 +02:00
Martchus
db4b032179
Show connected device names in additional status
2018-06-27 17:38:22 +02:00
Martchus
ea96c64563
Update number of connected devices correctly
...
Computing the number of connected devices on overall
connection status changed event is not sufficient.
2017-10-05 00:08:46 +02:00
Martchus
69ffaeb1f3
Apply tidy after updating to clang-format 5.0.0
...
The behavior of clang-format slightly changed in Clang 5.0.0:
http://releases.llvm.org/5.0.0/tools/clang/docs/ReleaseNotes.html#clang-format
2017-09-17 21:48:15 +02:00
Martchus
b2aab9eb16
Show number of connected devs in tool tip
2017-05-30 15:06:34 +02:00
Martchus
732a5fdd8d
Apply clang-format
2017-05-01 03:34:43 +02:00
Martchus
1abb8b8a87
Move status info/notification to widgets
...
* Allow reusing code in other components such
as Plasmoid
* Separate determining status text and icon
from displaying notifications
2017-04-25 23:32:40 +02:00