I have an item delegate for a TreeView that contains several combo boxes. When I paint the combo boxes, I use the following code
Qt Code:
  1. [CODE]QApplication::style()->drawComplexControl(QStyle::CC_ComboBox, &qindex ,painter);
  2. QApplication::style()->drawControl(QStyle::CE_ComboBoxLabel, &qindex, painter);
To copy to clipboard, switch view to plain text mode 
[/CODE]
The combo box paints fine, but on the top parent node of the tree, I get 'shadow' drop down arrows ... one for each combo box drawn. So for a tree with several levels, I get a row of combo-box triangles on the top line! Any thoughts on how to get rid of them?