sani7
f9c9636f95
Adds UI widget tests
...
Adds unit tests for UI components.
UI_can, UI_stacked_widget, UI_status_bar and UI_tab_widget
2026-02-14 14:32:21 +01:00
sani7
76b00b6108
UI tab widget
...
Adds bounds checks to `visible()` and `tab_name()` methods
2026-02-14 14:32:20 +01:00
sani7
7c49e4ee02
UI plot
...
remove unused functions
2026-02-14 14:32:20 +01:00
sani7
31a0d2e6c4
UI statusbar
...
add timeout read
fix for not initializing timeout
2026-02-14 14:32:20 +01:00
sani7
239c4f8f94
Fix clazy warning
...
reference instead of copy
2026-02-14 14:32:19 +01:00
sani7
d0c392ca0e
Guards against out-of-bounds access in tab widget
...
Adds bounds checking to `set_selected`, `set_visible`, and
`set_tab_name` methods to prevent out-of-bounds access on the tab
data structures.
Removes unnecessary resizing logic as tab size is defined in constructor.
2026-02-14 14:32:19 +01:00
sani7
baaf33361e
Renames signal for consistency
...
Renames the 'selected' signal to 'changed' for better
consistency with other signals and to accurately reflect the signal's purpose.
2026-02-14 14:32:19 +01:00
sani7
7cb93ec14d
change Event can_clear to clear
...
make this a bit more general, that it can be used for more then only can
2026-02-14 14:32:18 +01:00
sani7
0f1d6aa592
client
...
rename ui_radiobutton, but is still unimplemented on the server
2026-02-14 14:32:18 +01:00
sani7
f55539f5f0
UI status bar
...
Uses base class text for status bar message
2026-02-14 14:32:18 +01:00
sani7
d7655f3e08
Adds UI spinbox tests
...
Adds tests for UI spinbox widgets, including JSON serialization/deserialization
and signal emission verification.
2026-02-14 14:32:17 +01:00
sani7
89ca146e97
Adds signal testing to UI elements
...
Extends UI element tests to include signal emission verification.
This ensures that UI elements correctly emit signals upon user interaction,
improving the reliability and responsiveness of the UI.
Adds QSignalSpy to track signal emissions for various UI components like
buttons, checkboxes, comboboxes, items, sliders, textboxes and thermos.
2026-02-14 14:32:17 +01:00
sani7
2a7959936a
test clean + bug fixes
2026-02-14 14:32:17 +01:00
sani7
2a76e13305
Removes JSON constructor from UI elements
...
This fixes the error: clang:optin.cplusplus.VirtualCall
When virtual methods are called during construction and destruction the polymorphism is restricted to the class that’s being constructed or destructed because the more derived contexts are either not yet initialized or already destructed.
2026-02-14 14:32:16 +01:00
sani7
f58028a8a9
Adds unit property to dial.
...
Adds the ability to store and retrieve a unit string associated with the dial, allowing for more context-aware representation of values.
2026-02-14 14:32:16 +01:00
sani7
1bd7635085
Renames signals for consistency
...
Updates signal names across UI components (checkbox, textbox, and CAN) to use more consistent and descriptive names, improving code readability and maintainability. The 'on_change' and 'on_send' signals are renamed to 'changed' and 'send' respectively.
2026-02-14 14:32:16 +01:00
sani7
f7f793a0bb
client
...
mark show and hide events as override
2026-02-14 14:32:15 +01:00
sani7
d02fc4b611
client
...
clean up mainwindow files
2026-02-14 14:32:15 +01:00
sani7
d07b282587
client
...
fix title not updating
2026-02-14 14:32:15 +01:00
sani7
1fcbe53253
client
...
move to QMessageBox from networkerror
2026-02-14 14:32:14 +01:00
sani7
97dee48e71
cmake tests
...
Add status message if GTest is found or not
2026-02-14 14:32:14 +01:00
sani7
cbc5352f4f
readme
...
add line endings guideline
2026-02-14 14:32:13 +01:00
sani7
cb30ccc7f2
Lint script
...
Disable auto committing and make it optional via a cli flag
2026-02-14 14:32:13 +01:00
sani7
42aa31b4e9
example commands
...
fix for new id system
2026-02-14 14:32:13 +01:00
sani7
d32d9e13fe
License
...
remove duplicate file
2026-02-14 14:32:12 +01:00
sani7
be4aafdd89
readme
...
fix bad syntax
2026-02-14 14:32:12 +01:00
sani7
474906c4af
readme
...
add a good readme and some instructions on how to start creating sims
2026-02-14 14:32:12 +01:00
sani7
2b3f90e761
client ui's
...
remove duplicate / unused includes
2026-02-14 14:32:11 +01:00
sani7
1c40f8e9c5
client
...
change id_to_label to use qwidget pointer instead of id
2026-02-14 14:32:11 +01:00
sani7
8bf7c6fd79
cmake
...
auto copy libsim_* and libui_* to bin folder
2026-02-14 14:32:11 +01:00
sani7
f07bbe28cc
fix for official pc
...
add no proxy to websocket
2026-02-14 14:32:10 +01:00
sani7
8668f72e6d
Replaces header guards with pragma once
2026-02-14 14:32:10 +01:00
sani7
ee185b68e6
Adds check for active simulator before commands
...
Implements a check to ensure a simulator is active before processing commands.
This prevents errors and unexpected behavior when commands are sent without an active simulator. The check is performed at the beginning of the command parsing, and logs an error if no simulator is active, returning an empty JSON object.
2026-02-14 14:32:10 +01:00
sani7
fe0ee989e9
Improves build process for internal development
...
Adds an INTERNAL preprocessor definition to manage dependencies.
This change allows for a lighter build during internal development by
forward declaring some classes and excluding UI and CAN dependencies.
2026-02-14 14:32:10 +01:00
sani7
0cdd276194
UI
...
add statusbar
2026-02-14 14:32:09 +01:00
sani7
e3012d9580
UI
...
remove ui_can out of custom folder
2026-02-14 14:32:09 +01:00
sani7
1d94636296
Client
...
Add enabled and visible properties to UI elements
2026-02-14 14:32:09 +01:00
sani7
efcb183682
ui_items
...
Remove Text_size
Add setup_item to configure if an item uses text, fg color and bg color.
2026-02-14 14:32:08 +01:00
sani7
ef4df1718b
client
...
change all look-ups from [] to .at()
2026-02-14 14:32:08 +01:00
sani7
e13bd11700
update spdlog
2026-02-14 14:32:08 +01:00
sani7
30e085ea5d
Lint
2026-02-14 14:32:07 +01:00
sani7
4da26083a7
stacked widget
...
tested and working
2026-02-14 14:32:07 +01:00
sani7
faac84821c
tab widget
...
working prototype
2026-02-14 14:32:07 +01:00
sani7
819a08abc1
Lint
2026-02-14 14:32:06 +01:00
sani7
b98330ba76
tab widget
...
started working on implementation
2026-02-14 14:32:06 +01:00
sani7
7d3ddd7337
cmake
...
remove minimum version, because top project already defines it
2026-02-14 14:32:06 +01:00
sani7
c6c765d528
rename executables
2026-02-14 14:32:05 +01:00
sani7
d4e5b75f68
change service bin location
2026-02-14 14:32:05 +01:00
sani7
d4a40a25dc
Lint
2026-02-14 14:32:05 +01:00
sani7
8ec3b988a4
Move to forward declare of pointers
2026-02-14 14:32:04 +01:00
sani7
b8085a3976
update cmake required version
2026-02-14 14:32:04 +01:00
sani7
2aa7f335db
Add branch name to description
2026-02-14 14:32:04 +01:00
sani7
7386a12f1b
update ui_combobox
...
remove ui_x_boxes and put the code in ui_combobox
2026-02-14 14:32:03 +01:00
sani7
7c91a64d71
convert selected
...
move from string to index to reduce data size
2026-02-14 14:32:03 +01:00
sani7
99d537ac29
Lint
2026-02-14 14:32:03 +01:00
sani7
444e11663d
update submodule to http
2026-02-14 14:32:02 +01:00
sani7
0da7be73b2
add git_tag
2026-02-14 14:32:02 +01:00
sani7
9b728b96e1
update pipeline
2026-02-14 14:32:02 +01:00
sani7
6e5d32bc16
Lint
2026-02-14 14:31:31 +01:00
sani7
b772b91e6e
fixes for build on windows
2026-02-14 14:31:31 +01:00
sani7
c2918e79c3
fix for combobox bounce
2026-02-14 14:31:30 +01:00
sani7
c6cdc78843
update dockerfile
...
exclude certain packages to make the container base smaller
2026-02-14 14:31:30 +01:00
sani7
7d78b7f6ba
fix for combobox bounce
2026-02-14 14:31:30 +01:00
sani7
a910f7b36b
update qwt
2026-02-14 14:31:29 +01:00
sani7
bc91dc1d4e
client mdns support
...
add logic to lookup an mnds address on linux
2026-02-14 14:31:29 +01:00
sani7
c50853b733
add systemd service files
2026-02-14 14:31:29 +01:00
sani7
2b9ce9d0a6
fix requirements
2026-02-14 14:31:29 +01:00
sani7
8d46b91d30
Add MIT License
2026-02-14 14:31:28 +01:00
sani7
61b758c333
client
...
add wasm options
2026-02-14 14:31:28 +01:00
sani7
58cd5ac07c
wasm
...
exclude server, ui and tests when compiling to wasm
2026-02-14 14:31:28 +01:00
sani7
67ac93a313
client wasm
...
use location via emscripten for websocket host
2026-02-14 14:31:27 +01:00
sani7
9dc54a5b57
client ui's
...
change tab stops
2026-02-14 14:31:27 +01:00
sani7
6c59f4fb51
client can transceive
...
change tab stops
2026-02-14 14:31:27 +01:00
sani7
48dfa7b2df
client add default sim option
2026-02-14 14:31:26 +01:00
sani7
25517d9696
update spdlog
2026-02-14 14:31:26 +01:00
sani7
1032e9ed28
client
...
change from sim_name to name
2026-02-14 14:31:26 +01:00
sani7
34acefde6a
server
...
remove includes from simulators header to source
2026-02-14 14:31:25 +01:00
sani7
8215718e7a
client
...
remove includes from sim base header to source
2026-02-14 14:31:25 +01:00
sani7
e9dc6af1d2
b server cmake
...
add spdlog
2026-02-14 14:31:25 +01:00
sani7
15969538de
b library
...
fix unload lib on error
2026-02-14 14:31:24 +01:00
sani7
8b1ea302c9
client
...
remove qwt as linking dependency from sim libs
2026-02-14 14:31:24 +01:00
sani7
e04f58cbcf
b server
...
fix runtime link errors
2026-02-14 14:31:24 +01:00
sani7
e41b862004
Lint
2026-02-14 14:31:23 +01:00
sani7
5d3782ccfd
b server
...
fix naming
2026-02-14 14:31:23 +01:00
sani7
99b2e07890
Lint
2026-02-14 14:31:23 +01:00
sani7
d82886f3a1
server
...
implemented but not tested
2026-02-14 14:31:22 +01:00
sani7
a0d75c7e4e
server
...
build able but not implemented
2026-02-14 14:31:22 +01:00
sani7
6631267010
client
...
remove sim base
2026-02-14 14:31:22 +01:00
sani7
9ee7be07d3
client works
...
Add linker flag
2026-02-14 14:31:21 +01:00
sani7
9b4ec0760c
client Not fully working
...
still linking errors
2026-02-14 14:31:21 +01:00
sani7
21eb6f7762
ui
...
remove fuctional
2026-02-14 14:31:21 +01:00
sani7
5e8a1c52fb
client sim base
...
add enabled for spinboxes
2026-02-14 14:31:21 +01:00
sani7
32c125f362
downgrade spdlog
2026-02-14 14:31:20 +01:00
sani7
6282ed6ed0
docker file
...
update docker file to include gpiod
2026-02-14 14:31:20 +01:00
sani7
42f1580c4f
server visa
...
clean up visa code
add s_data_ready signal
2026-02-14 14:31:20 +01:00
sani7
04390e2f23
simbase
...
Add QThread to simbase
2026-02-14 14:31:19 +01:00
sani7
3e4ffef1a7
Lint
2026-02-14 14:31:19 +01:00
sani7
5cb5a1e52b
Add VISA lib
2026-02-14 14:31:19 +01:00
sani7
56727d253d
Lint
2026-02-14 14:31:18 +01:00
sani7
163db5b0a5
server gpio
...
Add try catch around configuration of pin
2026-02-14 14:31:18 +01:00