QStyledItemDelegate drawing custom widget failed
问题 In one of my projects I'm using a QTableWidget in order to display some complex computational results. In order to increase the readability of the table I'm in need to display two aligned values inside of a single table cell. Later on I want to customize the widget even more by using colors or arrows etc.. For this I derived from QStyledItemDelegate and I called table ->setItemDelegate(new TwoNumbersDelegate) on my QTableWidget instance. For some reasons the QFrame is never display. I really