Hello,
I have problem with the update() propagation to the child widgets and I don't know why update is not propagated further to the children.
What works:
Main QWidget with the QGridLayout
Qt Code:To copy to clipboard, switch view to plain text mode
In that case update is propagated to the QWidgets in the layout.
Not working
Qt Code:To copy to clipboard, switch view to plain text mode
In that setup update(), on the main widget, is not propagated further down.
QWidget's in the QGridLayout contains QImage that is painted on the update() (in paintEvent());
Calling update() for each widget in the qgridlayout works ok.
Calling update for any parent layout or widget don't update further down.
Any help is more then welcome.
PS.
Using update from the main QWidget on the
QWidget ->update();
QVBoxLayout->update();
QScrollArea->update();
QGridLayout->update();
don't trigger update in QWidget in the QGridLayout().
On the resizeEvent() / resize widget everything works fine.
Bookmarks