Skip to content

Conversation

@gmmcosta15
Copy link
Collaborator

@gmmcosta15 gmmcosta15 commented Dec 2, 2025

What Changed?

helper_methods.py: created method get_file_name that accepts a string with the filepath and returns only the filename
filesPage.py: Changed implementation of how the files are showed, from a ´QtWidgets.QListWidgetItem´ to our custom EntryListModel

Screenshots

  • Visually, UI is unchanged

Future Work

  • Implementation of the delete file with the on_delete_file Slot

gmmcosta15 and others added 6 commits November 19, 2025 16:49
…itemclick

helper_methods: updated the get_file_loc method to return always the filename instead of the full path

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>
…file_name

Signed-off-by: Guilherme Costa <guiherme.costa@blockstec.com>
@gmmcosta15 gmmcosta15 requested a review from HugoCLSC December 2, 2025 12:40
@gmmcosta15 gmmcosta15 self-assigned this Dec 2, 2025
@gmmcosta15 gmmcosta15 added the Refactor Enhancing code's readability, maintainability, and extensibility while addressing technical debt. label Dec 2, 2025
@gmmcosta15 gmmcosta15 changed the base branch from main to dev December 2, 2025 12:40
def _setup_scrollbar(self) -> None:
idx = self.model.index(0, 0)

rect = self.listWidget.rectForIndex(idx)
from lib.utils.icon_button import IconButton
from lib.utils.list_button import ListCustomButton
from PyQt6 import QtCore, QtGui, QtWidgets
from lib.utils.blocks_frame import BlocksCustomFrame
Guilherme Costa and others added 3 commits December 2, 2025 14:48
…g commented lines

Signed-off-by: Guilherme Costa <guiherme.costa@blockstec.com>
Signed-off-by: Guilherme Costa <guiherme.costa@blockstec.com>
@gmmcosta15 gmmcosta15 closed this Dec 2, 2025
@gmmcosta15 gmmcosta15 deleted the refactor/files_page branch December 2, 2025 16:36
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.

2 participants