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
57e9865ace
Sort devices by name
2020-10-20 19:36:02 +02:00
Martchus
a6727b0fa7
Show the connection config name in tooltip when displaying multiple icons
2020-10-19 18:33:10 +02:00
Martchus
4078e6ff2a
Prevent crash deleting s_dialogParent
2020-10-18 17:13:52 +02:00
Martchus
2c1dbff82b
Allow specifiying multiple connection configurations
2020-10-18 16:28:17 +02:00
Martchus
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
Martchus
bcb2b49b72
Don't use lower-case Qt macros
2020-03-08 13:50:32 +01:00
Martchus
13e0732168
Show context menu on recent changes view
2020-01-23 20:07:11 +01:00
Martchus
6026339c83
Show recent changes
2020-01-18 16:43:13 +01:00
Martchus
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
Martchus
9b8191c105
Use consistent prefix for static member variables
2019-07-27 15:11:50 +02:00
Martchus
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
Martchus
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
Martchus
c521e2f808
Apply clang-format
2019-07-13 13:21:25 +02:00
Martchus
2112b00347
Allow to show start/stop button for launcher
2019-07-12 20:32:55 +02:00
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