Commit Graph
39 Commits
Author SHA1 Message Date
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 f55539f5f0 UI status bar
Uses base class text for status bar message
2026-02-14 14:32:18 +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 8668f72e6d Replaces header guards with pragma once 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 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 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 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 21eb6f7762 ui
remove fuctional
2026-02-14 14:31:21 +01:00
sani7 bf6d5c5182 Lint 2026-02-14 14:31:11 +01:00
sani7 0854a6ba7e UI
Add spinboxes
2026-02-14 14:31:11 +01:00
sani7 ce9c88ad04 rename ui 2026-02-14 14:31:10 +01:00
sani7 59c2303ce0 UI
rename the value changed signal to ui_changed
2026-02-14 14:31:06 +01:00
sani7 746c33da32 b server ui table
fix crashing by resizing the table
2026-02-14 14:31:04 +01:00
sani7 cf88d22e5d server ui
add value changed emit
2026-02-14 14:31:04 +01:00
sani7 15744317e2 server ui
add table
2026-02-14 14:31:03 +01:00
sani7 1b449cd867 b ui plot
forgot emitting the value changed signal
2026-02-14 14:31:03 +01:00
sani7 4371b711a5 b plot
fix plot
2026-02-14 14:31:02 +01:00
sani7 4ba874fc15 Lint 2026-02-14 14:31:02 +01:00
sani7 966feee2ec Add plot to global ui include 2026-02-14 14:31:01 +01:00
sani7 f376850646 Lint 2026-02-14 14:31:01 +01:00
sani7 e902fb4732 server plot ui 2026-02-14 14:31:00 +01:00
sani7 d03bc91fb3 UI
change slider signal name
2026-02-14 14:30:57 +01:00
sani7 b0c1eca1d1 UI
rename some signals
add some constructors that have no color
2026-02-14 14:30:57 +01:00
sani7 0bb146db25 Move UI folder 2026-02-14 14:30:54 +01:00