[Python] With PyQt5, what should I use to display search results text that is displayed as a...

Discussão em 'Python' iniciado por Stack, Junho 2, 2025.

  1. Stack

    Stack Membro Participativo

    I'm making a application that search for occurence of chosen keywords for a given txt file. I want to make a simple card widget in PyQt5 Designer that display occurences of a text and display them as a list like this image to show it to a user like the shown image

    Example of what i want

    I thought about any widgets with list to do this. But I don't think using QLabel is correct, because it's kinds unfit for dynamic texts. And I don't think QListWidget or QTextBrowser would cut it because its use is more of for options rather than just plain text to display.

    So, how should I do it?

    Continue reading...

Compartilhe esta Página