Commit Graph

384 Commits

Author SHA1 Message Date
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
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