Commit Graph

149 Commits

Author SHA1 Message Date
ac033517cc Allow configuring rendering size of status icons
The default of 32 px should be fine in most cases and when the UI is scaled
it is also automatically scaled. However, if one has a tray area or Plasma
panel with extraordinarily big icons like latte-dock it might still be
required to render icons at a higher resolution. This is hard to determine
programmatically so I'm just adding a manual setting.
2021-04-21 18:23:20 +02:00
b5aa29c98b Update translations 2021-04-07 20:01:07 +02:00
832fec0ffe Use more uniform coding style in syncthingicons.cpp 2021-03-24 20:02:07 +01:00
f75966aadc Fix warnings 2021-03-20 22:39:40 +01:00
6c12f18eaf Update translations 2021-03-06 16:26:23 +01:00
0fc44a9142 Disable pause/resume button within GUI in consistency with official GUI 2021-02-12 20:31:05 +01: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
4c4fc676e6 Update translations 2021-01-01 21:22:15 +01:00
ed495ec667 Add UI to configure what information should be considered to compute overall status
* See https://github.com/Martchus/syncthingtray/issues/74
* See https://github.com/Martchus/syncthingtray/issues/76
2021-01-01 20:55:18 +01:00
da911c6350 Refactor overall status compution
* Allow configuring the information to consider for computing the overall
  status via SyncthingStatusComputionFlags
    * Add flag to allow considering the status of remote devices for
      https://github.com/Martchus/syncthingtray/issues/74
    * Show only plain "idle" status when no flags are present for
      https://github.com/Martchus/syncthingtray/issues/76
* Set the default flags to keep the default behavior as-is
2020-12-31 02:48:18 +01:00
392eb70b12 Remove uses of SyncthingStatus::OutOfSync which is never actually set 2020-12-31 02:33:20 +01:00
c827907ea6 Update SyncthingDirStatus enum to new states from syncthing/lib/model/folderstate.go 2020-12-31 02:13:32 +01:00
75c0f5b74d Remove fractional part of device completion percentage
* For consistency with other percentages
* See https://github.com/Martchus/syncthingtray/issues/81
2020-12-17 12:58:46 +01:00
66b6c224dc Update translations 2020-12-01 18:50:16 +01:00
bacca0241a Fix build with Qt 6 (beta1) 2020-10-23 17:04:35 +02:00
49bbebd1ad Allow configuring package suffix for qtutilities individually 2020-10-23 17:03:57 +02:00
57e9865ace Sort devices by name 2020-10-20 19:36:02 +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
ce46931631 Update translations 2020-10-07 21:53:39 +02:00
aac87621dc Streamline context menus of regular tray application and Plasmoid
* Support triggering actions via the context menu in the regular tray like
  it is already possible in the Plasmoid
* Support copying via the context menu in the Plasmoid like it is already
  possible in the regular tray
* Reduce repetition of coding patterns using templates
2020-10-07 21:42:50 +02:00
119609631f Fix Font Awesome icons 2020-09-08 12:44:41 +02:00
0b5fb14931 Remove overspecification of Qt version in documentation and comments 2020-09-04 01:13:46 +02:00
3b49e9e312 Support Qt 6 (commit 174154b) 2020-09-04 01:09:18 +02:00
c0e2e0bce1 Apply clang-format 2020-07-12 21:17:34 +02:00
5b2147a874 Apply scaling in renderSvgImage() similar to QIcon::pixmap() does 2020-07-12 02:38:57 +02:00
f14a34b877 Apply clang-format 2020-03-17 18:56:59 +01:00
ccb2ac3144 Clear recent changes when re-connecting (to other instance) 2020-03-17 18:55:50 +01:00
b8edea29f9 Update translations 2020-03-01 22:06:18 +01:00
f60c803041 Show needed bytes of remote devices 2020-03-01 22:04:49 +01:00
5a93e5e8dd Update translations 2020-02-18 20:50:53 +01:00
153fc24492 Fix color roles of SyncthingRecentChangesModel 2020-02-10 10:47:35 +01:00
133dbacb5d Use consistent order for visibility attribute 2020-01-29 18:51:10 +01:00
677644a17a Apply clang-tidy 2020-01-23 19:35:35 +01:00
e832ccf51d Limit number of changes to keep 2020-01-19 19:56:30 +01:00
dab3fd7e31 Update translations 2020-01-18 16:47:51 +01:00
6026339c83 Show recent changes 2020-01-18 16:43:13 +01:00
4b5a8efa3e Apply cmake-format v0.6.0 2019-11-30 18:24:19 +01:00
69e061cba7 Update translations 2019-11-19 19:34:13 +01:00
05e49c86ce Improve color picker for icons
* Add note about Drag & Drop
* Allow picking from multiple presets
2019-11-19 19:33:58 +01:00
38987707bd Update translations 2019-10-09 23:23:02 +02:00
31e7e4e79e Support "Waiting to scan"
This state has been introduced
with https://github.com/syncthing/syncthing/pull/4888
2019-09-27 16:41:24 +02:00
6243a4c2fd Prepare for "Prepare to Sync"
See https://github.com/syncthing/syncthing/pull/6028
2019-09-27 16:32:54 +02:00
6724dfa89a Handle new/unknown dir status better
* Show the raw directory status from the Syncthing API if
  it is an unknown (maybe newly introduced) status value.
* Note that the same does not apply to the device status
  because the device status is only deduced from other
  information.
2019-09-21 16:28:08 +02:00
cf5faeca51 Apply cmake-format 2019-09-08 18:12:05 +02:00
p-bo
17b59a994f
Added Czech localization 2019-08-20 22:14:07 +02:00
p-bo
cb206d95e4
Added Czech localization
Create syncthingmodel_cs_CZ.txt
2019-08-20 21:08:02 +02:00
353f1e2463 Allow to distinguish icon colors within UI and system tray
This is useful because sometimes the background color of the system
tray is dark but the overall system UI still uses a light theme.

For the Plasmoid this should never be the case, though. Hence the
extra settings are not available there.
2019-07-31 20:16:43 +02:00
faaf25fd5e Fix missing exports 2019-06-25 14:43:47 +02:00
65eb59fe26 Add missing German translations 2019-06-16 16:58:37 +02:00
9e6fe83a8d Make status icon settings translatable 2019-06-16 16:57:58 +02:00