Commit Graph

23 Commits

Author SHA1 Message Date
Martchus 64473df5ba Adapt to changes in c++utilities 2019-06-10 22:48:26 +02:00
Martchus 3bcdf26cca Show global statistics on widgets-based GUI 2019-02-18 00:35:32 +01:00
Martchus 8b6cf6a282 Remove unused function in TrayWidget 2018-12-23 21:17:24 +01:00
Martchus 533a5d0939 Use override 2018-10-10 21:26:46 +02:00
Martchus 49b33e5afe Ensure errors on first connection after startup are handled 2018-05-15 22:01:03 +02:00
Martchus 988765f2ba Show new dev/dir notifications in usual tray icon and Plasmoid 2018-05-01 22:27:03 +02:00
Martchus 146d4870e4 Refactor preventing unwanted error messages
* See https://github.com/Martchus/syncthingtray/issues/15
* Not tested yet
2018-04-02 20:35:30 +02:00
Martchus c9039ff6aa Ensure webview defs are present 2018-01-27 23:34:36 +01:00
Martchus 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
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 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
Martchus 732a5fdd8d Apply clang-format 2017-05-01 03:34:43 +02:00
Martchus 49ff5a7b65 Move widgets from tray app to separate lib
So settings pages, web view and other widgets
can be used in other components such as the
Dolphin plugin and Plasmoid, too.
2017-04-23 18:31:18 +02:00
Martchus 0dbfda37aa Use web view defs provided by qtutilities 2017-03-14 23:24:52 +01:00
Marius Kittler 5101872532 Allow pausing/resuming dirs in GUI 2017-02-23 15:57:17 +01:00
Martchus b2a66c806b Don't connect to local instance when not running
Prevent connection attempt to local instance at startup
or after applying settings when Syncthing systemd unit
isn't running
2017-01-12 22:18:40 +01:00
Martchus 3cadd8cbcb Improve systemd integration
* Allow using systemd unit status to better handle
  reconnect attempts to local instance
* Misc adjustments
2016-12-27 16:22:37 +01:00
Martchus 6c99293087 Allow triggering current tray 2016-12-26 19:50:10 +01:00
Martchus 0ecb26a4cf Allow dismissing new notifications 2016-12-26 19:19:10 +01:00
Martchus 78450a2b7e Allow controlling Syncthing systemd service 2016-12-26 19:05:47 +01:00
Martchus a163c3f046 Dismiss notifications correctly 2016-12-12 23:24:36 +01:00
Martchus 701dc9197c Confirm restart 2016-10-05 00:01:55 +02:00
Martchus 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