[Interest] Custom ItemDelegate with widget created in designer

Duane duane.hebert at group-upc.com
Tue Mar 31 23:34:39 CEST 2015


I have a custom item delegate that I use to paint borders on cells in a 
QTreeWidget.  In code if I create the QTreeWidget it works.  But I'm 
making a gui class now from designer and setting the delegate doesn't 
seem to have any effect.

Something like:

  ui->setupUi(this);
  ui->Tree->setItemDelegate(new TreeViewDelegate(this));


Any suggestions?




More information about the Interest mailing list