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
Jussi Kuokkanen
32a97c9091
format label text to include two decimal points
2023-08-12 20:49:13 +03:00
Jussi Kuokkanen
5efcc6f25d
debounce label updates
2023-08-06 15:29:54 +03:00
Jussi Kuokkanen
f01d809956
fix point value text label being cut off initially
2023-08-05 20:13:07 +03:00
Jussi Kuokkanen
c31b4a3a83
add zooming for the chart
2023-08-03 18:44:18 +03:00
Jussi Kuokkanen
44072c302a
add screenshots to README
2023-08-02 20:14:25 +03:00
Jussi Kuokkanen
e9f0a04b25
set unchecked AssignableItem text to current value when applying changes
2023-07-30 11:46:10 +03:00
Jussi Kuokkanen
03f765c040
get text for AssignableItem in a separate function
2023-07-30 11:39:25 +03:00
Jussi Kuokkanen
ebef4fefdf
make unchecked AssignableItems uncheckable when applying changes
2023-07-29 21:57:53 +03:00
Jussi Kuokkanen
cf7dd9dab2
finish editing once an option is selected
2023-07-27 23:11:47 +03:00
Jussi Kuokkanen
095a75b5e3
enable Assignable editors to signal end of editing
2023-07-27 23:11:43 +03:00
Jussi Kuokkanen
41b44885e7
expand EnumEditor combo box when it is shown
2023-07-26 17:35:49 +03:00
Jussi Kuokkanen
070e2d830b
+clang-format
2023-07-26 16:33:11 +03:00
Jussi Kuokkanen
1e829c094f
add clang-format
2023-07-26 16:32:34 +03:00
Jussi Kuokkanen
cd2ec6c0a3
add 'Developing' section to README
2023-07-24 18:54:05 +03:00
Jussi Kuokkanen
0ede9e5bdf
move development scripts to dev/
2023-07-24 18:16:53 +03:00
Jussi Kuokkanen
33c5d718af
move DBus socket path to /tmp
2023-07-24 18:01:19 +03:00
Jussi Kuokkanen
ad07b2e8d8
add DBus related development scripts
2023-07-24 17:56:41 +03:00
Jussi Kuokkanen
6aa6053ade
edit Assignable with a single click when selected
2023-07-24 14:40:59 +03:00
Jussi Kuokkanen
78de5ffa91
add todo
2023-07-24 13:43:21 +03:00
Jussi Kuokkanen
4ed26b068d
expand all nodes in DeviceBrowser
2023-07-24 13:18:46 +03:00
Jussi Kuokkanen
9f87294522
save and restore window geometry
2023-07-22 08:45:21 +03:00
Jussi Kuokkanen
5665786978
FunctionEditor: add explanation label
2023-07-21 21:32:56 +03:00
Jussi Kuokkanen
cc67835c00
FunctionEditor: widen the combo box for selecting node
2023-07-21 21:30:50 +03:00
Jussi Kuokkanen
61136ecb0a
make clangd happy
...
Make clangd not complain about missing imports.
To be honest, I'm not sure how it managed to even compile beforehand,
especially without including DeviceModel.hpp
2023-07-21 18:10:37 +03:00
Jussi Kuokkanen
89030d9373
use DBus signature to get Assignable type
2023-07-20 21:08:44 +03:00