Skip to content

Conversation

@gmmcosta15
Copy link
Collaborator

@gmmcosta15 gmmcosta15 commented Nov 28, 2025

What Changed?

  • 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.

Screenshots

  • Visually, UI is unchanged

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

@gmmcosta15 gmmcosta15 requested a review from HugoCLSC November 28, 2025 17:26
@gmmcosta15 gmmcosta15 added the Refactor Enhancing code's readability, maintainability, and extensibility while addressing technical debt. label Dec 2, 2025
@gmmcosta15 gmmcosta15 self-assigned this Dec 2, 2025
@gmmcosta15 gmmcosta15 changed the title Refactor/network window Refactor: The Network Window Wifi List from ListCustomButton to a QListView Dec 2, 2025
@gmmcosta15 gmmcosta15 changed the title Refactor: The Network Window Wifi List from ListCustomButton to a QListView Refactor: The Network Window Wifi List from ListCustomButton to a QListView Dec 2, 2025
@gmmcosta15 gmmcosta15 force-pushed the refactor/network_window branch 2 times, most recently from 43c1d5d to fcd9242 Compare December 11, 2025 10:45
gmmcosta15 and others added 5 commits December 11, 2025 16:41
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 force-pushed the refactor/network_window branch from 8e085b0 to 736d1d8 Compare December 11, 2025 16:41
@gmmcosta15 gmmcosta15 closed this Dec 11, 2025
@gmmcosta15 gmmcosta15 deleted the refactor/network_window 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants