hi,
i have a delegate used to draw progress bars in a tree widget.My application as top level items as well as child items.The no.of these items will not be know at compile time. My delegate has the following issues:
1. Draws an incomplete progress bar for top level items..i.e the bar has no boundaries..i can only see the left boundary..the remaining 3 sides of the rect are missing.
2.does not draw progress bar for child items..the text however changes.
The code is included as an attachment.i hope some one can point out where I'm going wrong.i guess it is option.rect that causing a problem but I'm not sure.
thanks!!
Bookmarks