Skip to content

´SensorPanel´: replace ´QListWidgetItem´ with ´EntryListModel´#124

Closed
gmmcosta15 wants to merge 7 commits intodevfrom
refactor/sensor-panel
Closed

´SensorPanel´: replace ´QListWidgetItem´ with ´EntryListModel´#124
gmmcosta15 wants to merge 7 commits intodevfrom
refactor/sensor-panel

Conversation

@gmmcosta15
Copy link
Collaborator

@gmmcosta15 gmmcosta15 commented Dec 11, 2025

What Changed?

´lib/panels/widget/sensorPanel.py´: Replaces the previous single sensor handling with an EntryListModel that tracks multiple active sensors. Each sensor now has its own EntryListModel instance, simplifying state management and improving UI consistency. This lays the groundwork for supporting future dynamic sensor sets and cleaner widget logic.
´lib/panels/widget/sensorWidget.py´: Replaces the previous widget with an widget that

Screenshots

Captura de ecrã 2025-12-11 103245

Future Work

  • Unit and Integration Tests

Guilherme Costa added 3 commits December 11, 2025 09:25
…WidgetItem to a ListModelView Arq with some bugfixes

Signed-off-by: Guilherme Costa <guiherme.costa@blockstec.com>
Signed-off-by: Guilherme Costa <guiherme.costa@blockstec.com>
Signed-off-by: Guilherme Costa <guiherme.costa@blockstec.com>
@gmmcosta15 gmmcosta15 requested a review from HugoCLSC December 11, 2025 09:47
@gmmcosta15 gmmcosta15 self-assigned this Dec 11, 2025
@gmmcosta15 gmmcosta15 added UI/UX User Interface what changed with this code Refactor Enhancing code's readability, maintainability, and extensibility while addressing technical debt. labels Dec 11, 2025
Signed-off-by: Guilherme Costa <guiherme.costa@blockstec.com>
@gmmcosta15 gmmcosta15 force-pushed the refactor/sensor-panel branch from 981edcb to ea46384 Compare December 11, 2025 16:06
Robert0Mart and others added 3 commits December 11, 2025 16:15
* ADD: added overriedCursor to blank cursor

* Refactor: ran ruff formater

---------

Co-authored-by: Roberto <roberto.martins@blockstec.com>
* bugfix: label overlapping when stoped

* Upd: rollback some parts

* ADD: added delay to marquee effect

* bugfix: text when marquee wasnt needed and glow effect

* Refactor: Ran ruff formatter

* Remove unecessary lambda expression

* Add docstring to paintEvent method

---------

Co-authored-by: Roberto <roberto.martins@blockstec.com>
Co-authored-by: Hugo Costa <hugo.santos.costa@gmail.com>
@gmmcosta15 gmmcosta15 closed this Dec 11, 2025
@gmmcosta15 gmmcosta15 deleted the refactor/sensor-panel branch December 12, 2025 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Refactor Enhancing code's readability, maintainability, and extensibility while addressing technical debt. UI/UX User Interface what changed with this code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants