Span property group headers across all cells to avoid text truncation
Render the background of property value editor widgets to avoid cell contents showing through the editor
This commit is contained in:
@@ -122,6 +122,8 @@ QWidget * PropertyItemDelegate::createEditor (QWidget * parent, const QStyleOpti
|
||||
if (!childItem)
|
||||
return 0;
|
||||
QWidget* editor = childItem->createEditor(parent, this, SLOT(valueChanged()));
|
||||
if (editor) // Make sure the editor background is painted so the cell content doesn't show through
|
||||
editor->setAutoFillBackground(true);
|
||||
if (editor && childItem->isReadOnly())
|
||||
editor->setDisabled(true);
|
||||
else if (editor && this->pressed)
|
||||
|
||||
Reference in New Issue
Block a user