Python Forum

Full Version: Rows and colums list. PySide 6
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
I would like to read some data and display it in rows and columns with column header names and rows with numbers
I am using PySide6 so far for my development.
I would like to display a checkbox, a small icon and details such as name, alias and location.
Ultimately I would like to be able to switch to another view that showed just a 64 x 64 icon.

Are there any ways of doing this type of thing. Thank you and kind regards.
(May-31-2023, 10:29 AM)britesc Wrote: [ -> ]Are there any ways of doing this type of thing.

Yes.

If you don't show what you tried, it will be difficult to help you.
The kind of thing you describe is easily accomplished using any GUI toolkit, including PySide6. Take a look at this example:

https://pythonbasics.org/pyqt-table/

Do you need a GUI? When I think Graphical User Interface I don't think of display, I think of interaction between the user and the computer. What are your plans for interacting with the data? If you only want to display a pretty table, there are easy ways to accomplish this with a few lines of code.