Hi all .... I'm using a QListPickSelector in my project and the idea is that it displays a set of images, rather than a list of strings .. Now I have tried using the setIcon() function, which works, but the image displayed is very tiny .. !
Here is the output I get when I use the setIcon() function:
As you can see, the image displayed is *very* tiny ... I would like it to be filled throughout its respective list entry area (which is also rectangular) ...
I am trying to use the setBackground() function by passing it a QBrush, which has the said image as its texture .. but when I try this, nothing happens, the background is setting black as usual .. Can somebody help me with this .. ?
Here is one variable of many different combinations I have tried:
I really need help with this ..
QStandardItemModel *model = new QStandardItemModel(10,2);
QStandardItem *item = new QStandardItem("Hello");