Commit Graph

42 Commits

Author SHA1 Message Date
Martchus 744c78f64f Fix compilation against Qt 5 2024-05-08 12:42:28 +02:00
Martchus f55d3431ff Update translations
Translations for experimental/WIP features are still unfinished.
2024-05-08 11:24:24 +02:00
Martchus 3f6f3f631e Insert/delete loading items in file model correctly 2024-05-07 19:40:21 +02:00
Martchus a309926839 Show tooltip for error/loading items in file browser 2024-05-05 13:54:53 +02:00
Martchus c5d3c7745a Add error/loading indications in file browser and simplify path handling 2024-05-05 13:24:37 +02:00
Martchus 506f2a295c Delete QNetworkReply correctly when destroying SyncthingFileModel
When disconnecting the callback we need to destroy the QNetworkReply
manually (as this is no longer done by the usual handler). This will also
close any network connections (if still open).
2024-05-05 12:48:01 +02:00
Martchus 83e1dd6d8a Improve file browser 2024-05-04 22:44:00 +02:00
Martchus 93c9ffe5ca Fix comment about usage of qtutilities in syncthingmodels 2024-05-04 22:36:19 +02:00
Martchus 047a4e461e Allow refreshing root in file browser 2024-05-01 15:58:09 +02:00
Martchus 6b8b782aa0 Extend tests of models 2024-04-27 22:43:44 +02:00
Martchus ecece11df3 Introduce basic test setup for models
This test setup utilizes the "mocked" configuration so far only used for
manual testing. This allows adding unit tests for models without having to
run Syncthing itself. The test is pretty basic itself at this point.
2024-04-26 23:04:47 +02:00
Martchus 5c1b94e9fc Use thick stroke with for status icon presets without background color
It looks better.
2024-04-26 20:24:35 +02:00
Martchus 0ee0dbd10a Update translations 2024-04-19 00:07:28 +02:00
Martchus 96f26e8f37 Fix compilation against Qt 5 2024-04-09 12:05:52 +02:00
Martchus 80e5a0f64c Update translations 2024-04-09 11:36:32 +02:00
Martchus 35d03551c4 Update translations 2024-04-06 19:47:16 +02:00
Martchus 982f04bbaa Apply clang-format 2024-04-06 19:39:38 +02:00
Martchus 93b5d66875 Allow browsing remote/global files 2024-04-05 01:30:00 +02:00
Martchus dff6bcab67 Apply change of `global.h` template 2024-02-22 19:43:14 +01:00
Martchus 43caad8676 Ensure Fork Awesome icons are re-rendered on device pixel ratio change 2024-02-22 01:10:04 +01:00
Martchus 0f1bcae534 Fix build with c++utilities change to add header for compile definitions
* Add include directory for testhelper library manually as using the
  imported target was not possibly
* Fix visibility when using libsyncthing in syncthingwidgets
* Update changed global headers along the way
2024-01-30 22:35:47 +01:00
Martchus 939594aea6 Update translations 2024-01-02 15:22:15 +01:00
Martchus e2c1f4ebe4 Fix rendering issues with Syncthing icon with Qt 6.7.0beta1
It looks like Qt Svg supports masking as of 6.7 which revealed a bug in the
code for making Syncthing icons. The mask for the emblem area was also
accidentally applied in case no emblem is shown. This change adds the mask
only when an emblem is shown.
2023-12-21 18:50:30 +01:00
Martchus 9360bf8bc8 Fix grammar mistakes in German translation after replacing "Verzeichnis" with "Ordner" 2023-11-10 13:17:16 +01:00
Martchus 230532d15e Do the directory/folder replacement also in German translation 2023-09-18 22:34:30 +02:00
John Veness c2a0eee029 Change Directory to Folder in user-facing strings 2023-09-17 19:33:31 +01:00
Martchus 68858fe702 Rename "Own device" in model as well 2023-09-16 23:20:28 +02:00
Martchus bc02a70ae9 Update translations 2023-09-16 23:10:09 +02:00
Martchus abf1dd0748 Rename `SyncthingDeviceModel::IsOwnDevice` in accordance with recent UI changes 2023-09-16 23:09:48 +02:00
Martchus f5795d45c2 Show this/own device always as first device
See https://github.com/Martchus/syncthingtray/issues/203
2023-09-16 23:07:00 +02:00
Martchus 5fa69e4f5a Rename `SyncthingDevStatus::OwnDevice` in accordance with UI change 2023-09-16 22:28:35 +02:00
Martchus d623dfdf5e Replace "own device" with "this device" where it makes sense
* Be consistent with official UI
* See https://github.com/Martchus/syncthingtray/issues/203
2023-09-16 22:19:04 +02:00
Martchus e4bbe852bd Avoid CMake deprecation warning by bumping version 2023-07-23 21:05:22 +02:00
Martchus 49c9338eeb Update translations 2023-06-06 10:53:09 +02:00
Martchus fdb9e613ef Avoid warning about shadowing by removing useless variables 2023-05-21 18:57:24 +02:00
Martchus 2e3c92cec9 Update translations 2023-05-18 23:57:54 +02:00
Martchus bc736214dd Allow keeping existing autostart entry in wizard 2023-05-18 23:50:27 +02:00
Martchus dfe7759116 Update translations 2023-05-11 23:48:58 +02:00
Martchus 3d9dffe813 Hide last seen row for own device 2023-05-11 23:47:04 +02:00
Martchus 42a0d9c9f7 Show the connection type of a device 2023-05-11 23:44:10 +02:00
Martchus 3d17eb0c70 Fix moc include for Qt 6 build after removing symlinks 2023-02-27 22:31:06 +01:00
Martchus 96e92f13a3 Avoid relying on symlink for include directories
Symlinks aren't working very well with Git under Windows so better avoid
them.
2023-02-27 18:27:33 +01:00