PDA

View Full Version : QStandardItem color modification



prashant
5th November 2009, 09:24
Related to: PyQt 4.6.1

image 1:
As shown in the image when you click an item (QStandardItem), it turns background color to dark blue. I need to remove this functionality. The band around item is fine for me.

image 2:
When item lost focus (still selected), item's background color change to win color, remove this functionality also.

image 3:
When you select another item, only then previously selected item's bg color is visible. What I need is that in any situation item's bg color should be visible.

I am using this widget as color array storage. If above mentioned things won't possible with QStandardItem & QTableView, I would like to other possibilities( other widgets), where I can mimic the similar behavior.