131b4d1649
Use explicit c'tor in all Qt Widgets GUI related classes
2024-04-12 02:35:18 +02:00
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
bcb2b49b72
Don't use lower-case Qt macros
2020-03-08 13:50:32 +01:00
1bdba31c70
Improve behavior under Wayland
...
* Add workaround for using QCursor::pos()
* Set window flags and parent of TrayMenu to it is shown
like a context menu
2019-07-27 15:04:14 +02:00
708334443f
Add option to unify tray menus
...
* Don't create context menu
* Show the "Close" action and the "Internal errors"
action in the tray widget
* Use this by default on Mac OS
2019-07-17 19:07:58 +02:00
c521e2f808
Apply clang-format
2019-07-13 13:21:25 +02:00
31bb92da89
Show notifications about launcher errors
2019-07-12 20:25:24 +02:00
64473df5ba
Adapt to changes in c++utilities
2019-06-10 22:48:26 +02:00
1e83fefdf2
Fix compilation without DBus notification support
2018-05-10 13:51:07 +02:00
988765f2ba
Show new dev/dir notifications in usual tray icon and Plasmoid
2018-05-01 22:27:03 +02:00
79fe97d952
Refactor notifications
...
* Use SyncthingNotifier class
* Show 'Sync complete' on FolderCompletion event
* Add extra structure for stats
2018-01-27 23:27:50 +01:00
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
f4df2bbf21
Allow opening internal error log via context menu
2017-09-05 00:24:52 +02:00
e52a2a6ef6
Improve error handling
...
Allow viewing request URL and response of internal
errors.
2017-08-20 01:20:47 +02:00
7b19be01f2
tray: Allow specifying name of initial connection via CLI
...
This includes refactoring TrayWidget::applySettings() which
is now a member function and only affects the current instance.
This prevents applying settings on every instance every time
a new tray widget is created.
To apply settings for all tray widgets, the static function
TrayWidget::applySettingsOnAllInstances() is used instead.
2017-08-09 01:11:47 +02:00
732a5fdd8d
Apply clang-format
2017-05-01 03:34:43 +02:00
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
8c6b0fd3d4
Move icon rendering to model backend
2017-02-20 18:42:27 +01:00
ee59c2b1c4
Prevent disconnect notification when stopping Syncthing manually
2017-01-10 23:49:34 +01:00
5b4a0ef51e
Prevent notification about disconnect on startup
2016-12-12 23:45:40 +01:00
2b75f1f3e5
Don't show error for each re-connect attempt
2016-12-12 23:45:40 +01:00
203370f933
Allow notifications via D-Bus
2016-12-12 23:45:40 +01:00
d3bde05ccd
Update icon when new notifications shown
2016-12-03 01:00:04 +01:00
1742af28bf
Show ongoing sync depite of dir is out of sync
...
Note: Computing overall status needs further improvement
2016-10-06 23:53:59 +02:00
9fa2a028e8
Show out of sync directory state
2016-10-04 23:42:17 +02:00
6470038fc7
Refactor to allow sharing backend with other apps
...
Intended for creating command line tool and plasmoid
2016-09-30 23:58:45 +02:00