Commit Graph

110 Commits

Author SHA1 Message Date
Martchus 38987707bd Update translations 2019-10-09 23:23:02 +02:00
Martchus 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
Martchus 6243a4c2fd Prepare for "Prepare to Sync"
See https://github.com/syncthing/syncthing/pull/6028
2019-09-27 16:32:54 +02:00
Martchus 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
Martchus 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
Martchus 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
Martchus faaf25fd5e Fix missing exports 2019-06-25 14:43:47 +02:00
Martchus 65eb59fe26 Add missing German translations 2019-06-16 16:58:37 +02:00
Martchus 9e6fe83a8d Make status icon settings translatable 2019-06-16 16:57:58 +02:00
Martchus dc7d9b815f Adapt to changes in c++utilities 2019-06-14 19:15:26 +02:00
Martchus 64473df5ba Adapt to changes in c++utilities 2019-06-10 22:48:26 +02:00
Martchus 25ece5b401 Fix icons in DBusStatusNotifier 2019-05-26 23:13:43 +02:00
Martchus 96ed888e20 Allow customizing foreground color of status icons 2019-05-21 17:56:08 +02:00
Martchus 0e7cc8ba9b Apply changed status colors without restart 2019-05-19 23:11:50 +02:00
Martchus 96dc7a535c Support transparency in status icon colors 2019-05-19 21:22:46 +02:00
Martchus 72b72b26ae Don't abuse scanning icon to get default logo 2019-05-19 18:04:28 +02:00
Martchus 05da0465a7 Allow customizing status icon colors 2019-05-19 17:57:37 +02:00
Martchus 92607c3d89 Generate status icons dynamically
To allow configuring flat icons and custom colors in the future
2019-05-19 01:49:21 +02:00
Martchus a30853cfeb Apply cmake-format and clang-format 2019-05-04 22:10:37 +02:00
Martchus d88df866d2 Adapt to c++utilities v5 2019-05-04 21:05:21 +02:00
Martchus 800bbf9805 Show connection address and type 2019-04-10 20:37:20 +02:00
Martchus a6380947ea Fix wrong translation and update translations 2019-02-27 20:45:05 +01:00
Martchus 2ab88c5766 Add font awesome icons to models
So it looks a bit more like the official UI.
2019-02-27 20:41:50 +01:00
Martchus c7927c3f2e Keep aspect ratio when rendering SVG images
Also, allow to add margin to the pixmap.
2019-02-27 20:38:14 +01:00
Martchus a3a09297f7 Render font awesome icons in color from QPalette
Since theres apparently no API in the Qt Svg module to support
this the change introduced here simply replaces in the SVG
document itself.
2019-02-23 13:55:46 +01:00
Martchus 78d4553104 Update translations 2019-02-18 00:41:17 +01:00
Martchus 8690566992 Handle details row count changed in model
Required since the row count is now variable depending on
whether stats are shown or now.
2019-02-16 01:40:06 +01:00
Martchus 4b54fc3a28 Reduce indentation in models 2019-02-16 01:06:08 +01:00
Martchus 700b0d24e0 Don't show stats for pause dirs in GUI 2019-02-16 00:55:27 +01:00
Martchus 326f03b604 Apply cmake-format 2019-02-06 17:36:14 +01:00
Martchus 028a456c4e Update translations 2018-12-29 20:40:40 +01:00
Martchus ea2e26aace Don't use newDirs/newDevs for endResetModel()
* These events might not be emitted in all error cases.
  So it would be wrong to rely on that.
* Reduces redundant code.
2018-12-25 02:33:57 +01:00
Martchus ba4012fb36 Update translations 2018-11-13 18:01:11 +01:00
Martchus 1d75ee2656 Improve initialization of roleNames() 2018-11-03 21:47:30 +01:00
Martchus d803f83d0f Update translations 2018-11-03 21:41:44 +01:00
Martchus 4a42a3f0c0 Fix and refactor directory error handling
* Rely not only on the FolderErrors event
* Request pull errors when opening the dialog
* Use "pullErrors" from FolderSummary
* Move code for directory error dialog into
  its own class

This should fix that sometimes obsolete errors
were still displayed or actually present errors
missing.
2018-11-03 21:30:17 +01:00
Martchus 92b7943ac4 Remove SyncthingStatus::BeingDestroyed from SyncthingStatusSelectionModel
since it is a purely internal state
2018-10-12 00:09:52 +02:00
Martchus 533a5d0939 Use override 2018-10-10 21:26:46 +02:00
Martchus 87a10c5b33 Allow hiding Plasma applet in certain states
See https://github.com/Martchus/syncthingtray/issues/23
2018-10-10 17:48:48 +02:00
Martchus de9259e545 Show whether filesystem watcher active 2018-09-15 18:25:02 +02:00
Martchus af120f1ae1 Update translations 2018-08-05 15:21:12 +02:00
Martchus ccbd6f3386 Show more details in device model 2018-08-04 20:34:24 +02:00
Martchus 45ef2518e8 Apply clang-format 2018-08-04 15:47:43 +02:00
Martchus 7598fef709 Update translations 2018-07-22 22:17:48 +02:00
Martchus ad3c8b5240 Don't meld 'unshared' into the status
Just deal with it like with the paused flag. This will
hopefully solve the issue that dirs are wrongly shown as
unshared till the next status update.
2018-07-22 22:09:18 +02:00
Martchus d2f8162ba4 Ensure all roles are updated in dir and dev model 2018-07-22 21:08:28 +02:00
Martchus 5932c98b1d Use immediately invoked lambda to implement roleNames()
Because I can
2018-07-22 20:17:45 +02:00
Martchus 0acfdd7002 Use "rescan disabled" instead of "0 s" 2018-07-05 17:40:36 +02:00