Skip to content

Conversation

@gmmcosta15
Copy link
Collaborator

@gmmcosta15 gmmcosta15 commented Dec 11, 2025

What Changed?

lib/panels/networkWindow.py

  • Network Window - Main Page : Refactored the window from a ListCustomButton to a QListView using MVC architecture
  • Changed BuildNetworkList from QtCore.QThread to a QtCore.QObject that uses a QThreadPool to run NetworkScanRunnable tasks periodically. with a QTimer to trigger scans. Prevents overlapping scans by tracking whether a scan is already in progress.
  • Changed Wifi Icons for the status of the network

Screenshots

Before

Captura de ecrã 2025-12-12 125550

After

Captura de ecrã 2025-12-12 152508

Future Work

  • Consider possible optimizations: Creating own costum UI method instead of using the Ui_wifi_stacked_page
  • Unit and Integration Tests

Co-Authors

Co‑author: @Robert0Mart
Co‑author: @claudiobrinca

gmmcosta15 and others added 5 commits December 11, 2025 17:37
wifiConnectivityWindow.ui: change horizontalLayout to a vertical layout with a listview and a vertical scrollbar
wifiConnectivityWindow.py: generated file from QtDesigner with some optimizations

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 17:39
@gmmcosta15 gmmcosta15 self-assigned this Dec 11, 2025
@gmmcosta15 gmmcosta15 added the Refactor Enhancing code's readability, maintainability, and extensibility while addressing technical debt. label Dec 11, 2025
@gmmcosta15 gmmcosta15 closed this Dec 12, 2025
@gmmcosta15 gmmcosta15 reopened this Dec 12, 2025
@gmmcosta15 gmmcosta15 closed this Dec 12, 2025
@gmmcosta15 gmmcosta15 reopened this Dec 12, 2025
Signed-off-by: Guilherme Costa <guiherme.costa@blockstec.com>
@gmmcosta15 gmmcosta15 added the UI/UX User Interface what changed with this code label Dec 12, 2025
@gmmcosta15 gmmcosta15 changed the title Refactor: The Network Window Wifi List from ListCustomButton to a QListView Refactor Network Window: Change Network Wifi List from ListCustomButton to a QListView Dec 12, 2025
@gmmcosta15 gmmcosta15 closed this Dec 16, 2025
Signed-off-by: Guilherme Costa <guiherme.costa@blockstec.com>
@gmmcosta15 gmmcosta15 reopened this Dec 16, 2025
HugoCLSC and others added 2 commits December 16, 2025 12:05
When initializing the Screensaver class we should initialize it with the
parent class because when the parent is deleted, so it the Screensaver.
Setting the parent/child relation also coordinates the children
according to the parent, handles geometry and unhandled mouse/keyboard
events that should propagate to the parent.
@gmmcosta15 gmmcosta15 closed this Dec 16, 2025
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.

4 participants