代码如下:
voidtreeViewItemDelegate::paint(        QPainter *painter,        const QStyleOptionViewItem &option,        const QModelIndex &index)const
{
             if(0 ==index.column())        
             {           
                painter->drawPixmap(20,10,16,16, m_pLable->movie()->currentPixmap());        
            }       
          else       
           {            
            QStyledItemDelegate::paint(painter,option,index);       
           }
}
求大佬解答下
问题是:
再节点上已经显示但是没有动画效果,鼠标再节点上移动才有动画效果