Widget to display images and text ?
I have a form (widget), I know I can show images and text next to each image, but I cannot scroll down or up in the form.
I would like to have something that allows me to show images and text, I don't know how many images, but something like this (pretend the * are the images):
******** My name here
******** My information here
******** Age
******** other things
********
******** My name here
******** My information here
******** Age
******** other things
********
As you can see that is the idea.
What type of container, or what do I need to use to be able to display images and text at be able to scroll up or down ?
Re: Widget to display images and text ?
You can use QScrollArea for this.
Where is QScrollArea in Designer ?
I am looking for "QScrollArea" in the "designer", but I cannot find it... what is the name of it in designer ?
Re: Widget to display images and text ?
QScrollArea is not accessible in Designer (unless you create a designer plugin for it). You may, however, create a QScrollArea by hand in code.
Re: Widget to display images and text ?
You can probably use a QListWidget, QTreeWidget, or QTableWidget to get what you want. They all provide the ability for scrollable lists of text/images, varying mainly in dimension.