Commit Graph

37 Commits

Author SHA1 Message Date
57e9865ace Sort devices by name 2020-10-20 19:36:02 +02:00
a6727b0fa7 Show the connection config name in tooltip when displaying multiple icons 2020-10-19 18:33:10 +02:00
4078e6ff2a Prevent crash deleting s_dialogParent 2020-10-18 17:13:52 +02:00
2c1dbff82b Allow specifiying multiple connection configurations 2020-10-18 16:28:17 +02:00
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
bcb2b49b72 Don't use lower-case Qt macros 2020-03-08 13:50:32 +01:00
13e0732168 Show context menu on recent changes view 2020-01-23 20:07:11 +01:00
6026339c83 Show recent changes 2020-01-18 16:43:13 +01:00
19816437ea Use a different parent for dialogs
This allows customizing the tray menu/widget using style sheets
without affecting the dialogs.
2019-07-31 20:47:19 +02:00
9b8191c105 Use consistent prefix for static member variables 2019-07-27 15:11:50 +02: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
2112b00347 Allow to show start/stop button for launcher 2019-07-12 20:32:55 +02:00
64473df5ba Adapt to changes in c++utilities 2019-06-10 22:48:26 +02:00
3bcdf26cca Show global statistics on widgets-based GUI 2019-02-18 00:35:32 +01:00
8b6cf6a282 Remove unused function in TrayWidget 2018-12-23 21:17:24 +01:00
533a5d0939 Use override 2018-10-10 21:26:46 +02:00
49b33e5afe Ensure errors on first connection after startup are handled 2018-05-15 22:01:03 +02:00
988765f2ba Show new dev/dir notifications in usual tray icon and Plasmoid 2018-05-01 22:27:03 +02:00
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
c9039ff6aa Ensure webview defs are present 2018-01-27 23:34:36 +01: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
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
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
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
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
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
6c99293087 Allow triggering current tray 2016-12-26 19:50:10 +01:00
0ecb26a4cf Allow dismissing new notifications 2016-12-26 19:19:10 +01:00
78450a2b7e Allow controlling Syncthing systemd service 2016-12-26 19:05:47 +01:00
a163c3f046 Dismiss notifications correctly 2016-12-12 23:24:36 +01:00
701dc9197c Confirm restart 2016-10-05 00:01:55 +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