Commit Graph

573 Commits

Author SHA1 Message Date
Jussi Kuokkanen
1aaad1b02b allow everyone to own services in our DBus config
Fixes not being able to register on Ubuntu, but how did it work without
this in the first place???
2023-09-25 17:52:00 +03:00
Jussi Kuokkanen
3922d4d419 daemon: optionally use plugin path from environment 2023-09-25 17:52:00 +03:00
Jussi Kuokkanen
ec368cd76e update nix expression 2023-09-16 17:05:16 +03:00
Jussi Kuokkanen
28ce25736b set window title 2023-09-16 16:53:13 +03:00
Jussi Kuokkanen
9a24713a31 add window icon 2023-09-16 16:46:11 +03:00
Jussi Kuokkanen
b5bc9577b4 add settings screenshot 2023-09-16 16:30:09 +03:00
Jussi Kuokkanen
35408e5e1e only allow editing profile name on addition 2023-09-16 16:25:45 +03:00
Jussi Kuokkanen
684c0906e8 edit profile item when it's added 2023-09-16 16:06:02 +03:00
Jussi Kuokkanen
bc8fafe5f9 implement automatic applying 2023-09-16 16:02:52 +03:00
Jussi Kuokkanen
cf47eca15f save and load parametrization data 2023-09-16 15:16:47 +03:00
Jussi Kuokkanen
0ade3384d3 take AssignableSetting for writeAssignableSetting 2023-09-15 22:34:56 +03:00
Jussi Kuokkanen
9005399b74 apply desired assignable settings when changing profile 2023-09-15 18:37:50 +03:00
Jussi Kuokkanen
560453bacf load assignable settings from profile on startup 2023-09-15 14:33:44 +03:00
Jussi Kuokkanen
401b31fccd set settings page state from settings 2023-09-14 17:00:47 +03:00
Jussi Kuokkanen
6717404a07 save assignable value when using profile
Not used yet. Currently works only for single values, not parametrization.
2023-09-12 16:37:23 +03:00
Jussi Kuokkanen
6ac81e1f13 add settings page
Does nothing yet
2023-09-11 21:35:38 +03:00
Jussi Kuokkanen
bbc2e21a51 fix parametrization logic errors when using extremes 2023-09-07 19:00:22 +03:00
Jussi Kuokkanen
f9a660afee parametrize correctly with all types 2023-09-07 18:46:17 +03:00
Jussi Kuokkanen
5dbcc23323 add screenshot of pending changes 2023-09-06 19:42:53 +03:00
Jussi Kuokkanen
9cad2c82d8 add parametrization editor screenshot 2023-09-06 19:42:12 +03:00
Jussi Kuokkanen
1722d6226e show change of state in items 2023-09-06 19:22:36 +03:00
Jussi Kuokkanen
b149159d27 centralize most item text handling to AssignableItem 2023-09-05 15:58:57 +03:00
Jussi Kuokkanen
a7d7db474c fix innaccurate label text when requesting editors consequently 2023-09-04 20:16:57 +03:00
Jussi Kuokkanen
8694a89891 clear apply button tooltip when applying is available 2023-09-04 20:16:13 +03:00
Jussi Kuokkanen
7d2dce5e6c fix apply button being erroneously available 2023-09-04 19:58:14 +03:00
Jussi Kuokkanen
af78bd795b remove erroneous manual delete 2023-09-04 19:10:15 +03:00
Jussi Kuokkanen
67e43e0333 show function editor in main window in stacked widget 2023-09-04 19:09:20 +03:00
Jussi Kuokkanen
d59093fbc9 add accurate criteria for enabling applying 2023-09-04 18:09:16 +03:00
Jussi Kuokkanen
2d23f01b35 set assignable data from reset action
In short, make resetting work :D
2023-09-02 15:56:47 +03:00
Jussi Kuokkanen
e85db68cb9 add conversions for reading and writing node paths to settings 2023-09-01 14:56:40 +03:00
Jussi Kuokkanen
928a031208 call callback on the index it is called with 2023-08-31 20:40:29 +03:00
Jussi Kuokkanen
b6ed9b2e7c return optional from model traverse callback
Allows callers to stop traversing model when they are done processing
2023-08-31 20:38:22 +03:00
Jussi Kuokkanen
c67eaa00f2 add menu action to reset assignables
Doesn't do anything yet
2023-08-31 18:09:06 +03:00
Jussi Kuokkanen
43a766fcec import system nixpkgs if npins isn't used 2023-08-29 22:18:05 +03:00
Jussi Kuokkanen
c3a5327045 use spaces after C-style casts
eg. '(uint) expr;`
2023-08-29 22:18:05 +03:00
Jussi Kuokkanen
f8b0ae15b6 fix target value not being emitted when reading wasn't between points 2023-08-29 22:18:00 +03:00
Jussi Kuokkanen
407974c0b9 apply parametrization through AssignableProxy
Doesn't work as intended yet, see DynamicReadableConnection.cpp:44
2023-08-28 18:35:44 +03:00
Jussi Kuokkanen
9b22f14898 make traverseModel generic by taking a function parameter 2023-08-28 00:19:33 +03:00
Jussi Kuokkanen
c04c1b5c41 change FunctionEditor to take mutating parameters 2023-08-26 12:13:46 +03:00
Jussi Kuokkanen
6e985fda59 remove duplicate model update code 2023-08-25 23:22:24 +03:00
Jussi Kuokkanen
7d74a17e8c save parametrization data in DeviceModel 2023-08-25 23:11:09 +03:00
Jussi Kuokkanen
0293e8606f add formatting section 2023-08-25 10:36:09 +03:00
Jussi Kuokkanen
8245ba3489 emit DynamicReadableConnectionData from FunctionEditor 2023-08-25 10:27:46 +03:00
Jussi Kuokkanen
02d9001497 save assignable values as defaults on first appearance 2023-08-22 17:46:47 +03:00
Jussi Kuokkanen
4424daeb40 show value of points when hovering over them
QChartView::drawForeground has to be used to avoid weird flickering and
the label disappearing
2023-08-18 15:32:35 +03:00
Jussi Kuokkanen
e6435b9c58 don't consume mouse move events when not dragging 2023-08-17 22:44:12 +03:00
Jussi Kuokkanen
988de217e2 fix tooltip leaking memory 2023-08-16 09:54:29 +03:00
Jussi Kuokkanen
d736a9eaf1 draw filler lines in QGraphicsView::drawForeground
Fixes segfaults and logic errors; simpler code
2023-08-12 20:49:18 +03:00
Jussi Kuokkanen
881258587d change working directory in development scripts to allow running from other directories 2023-08-12 20:49:18 +03:00
Jussi Kuokkanen
4312f0bb1c add more complete dependencies to README 2023-08-12 20:49:18 +03:00