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
9b924d4138
Fix closing tray menu
2019-07-28 10:56:59 +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
6ac633366e
Don't use functions obsoleted in Qt 5.13.0
2019-06-25 14:37:14 +02:00
64473df5ba
Adapt to changes in c++utilities
2019-06-10 22:48:26 +02:00
f4d4ed3436
Don't use deprecated Qt features
2019-05-04 22:18:50 +02:00
49b33e5afe
Ensure errors on first connection after startup are handled
2018-05-15 22:01: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
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
6c99293087
Allow triggering current tray
2016-12-26 19:50:10 +01:00
7149f90821
Refactor settings
2016-11-02 20:03:38 +01: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