It's ok but I would like to set different colors for the
    backgrounds of A1...A3 but doing this :
    mitemModel->setHeaderData(ii,Horizontal,style,StyleClassRole);
    set the style for the WText only and not for the whole (header)
    container.
    Is there any other way to do this than going for a Custom
    HeaderItemDelegate ?


Even a custom headeritem delegate wouldn't help, because only the contents of the "label area" is currently delegated (mostly because of the sort/resize handles kind of interfering with the rest).
Indeed, I tried it it last week, it doesnt help.
But I just reworked last week how a header item is being rendered in a header, and now things are much more sane (and simple). I'm not sure that exanding the item delegate to the whole header item area is feasible, but I've made it now such that the StyleClassRole applies to the entire header item cell.
Ok so I will wait the next release then.

Thank you for your answer.

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to