Didn't notice any performance problem:
...
componentNegative = new ComponentPanel("Negative", negativeArea);
negativeArea->setWidget(componentNegative);
negativeArea->setPalette(palette);
negativeArea
->setBackgroundRole
(QPalette::Window);
...
...
QPalette palette = this->palette();
palette.setColor(QPalette::Window, QColor::fromRgb(255,255,255,0));
QScrollArea *negativeArea = new QScrollArea(dockNegativePanel);
componentNegative = new ComponentPanel("Negative", negativeArea);
negativeArea->setWidget(componentNegative);
negativeArea->setPalette(palette);
negativeArea->setBackgroundRole(QPalette::Window);
...
To copy to clipboard, switch view to plain text mode
Bookmarks