Commit Graph

27 Commits

Author SHA1 Message Date
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 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
Martchus f60c803041 Show needed bytes of remote devices 2020-03-01 22:04:49 +01: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 0e7cc8ba9b Apply changed status colors without restart 2019-05-19 23:11:50 +02:00
Martchus a30853cfeb Apply cmake-format and clang-format 2019-05-04 22:10:37 +02:00
Martchus 800bbf9805 Show connection address and type 2019-04-10 20:37:20 +02: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 4b54fc3a28 Reduce indentation in models 2019-02-16 01:06:08 +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 1d75ee2656 Improve initialization of roleNames() 2018-11-03 21:47:30 +01: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 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 789f024677 models: Use namespace std for std::size_t 2017-09-17 21:48:51 +02:00
Martchus 030cb35dbd Emit correct roles when colors changed 2017-09-11 23:44:19 +02:00
Martchus 2747ce76ff Allow compiling connector with mocked SyncthingConnection 2017-09-05 00:22:52 +02:00
Martchus b90080ec0c models: Retain default status colors 2017-09-01 17:13:01 +02:00
Martchus c8b93fc472 Make models ready for use with Qt Quick
by adding roleNames()
2017-08-30 00:04:35 +02:00
Martchus 732a5fdd8d Apply clang-format 2017-05-01 03:34:43 +02:00
Martchus 8c6b0fd3d4 Move icon rendering to model backend 2017-02-20 18:42:27 +01:00
Martchus b40fc773c2 Move colors to separate header 2016-11-08 19:42:50 +01:00
Martchus b5174735ad Add option for bright custom text colors 2016-11-02 21:05:32 +01:00
Martchus dd8e443c15 Move SyncthingDev and SyncthingDir to extra files 2016-10-04 23:55:20 +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