Here's the code that implements the resizeEvent method in the deriveed class, ScaleTextLabel:
Qt Code:
{ qDebug() << "resizing"; m_resizeTimer->start(); }To copy to clipboard, switch view to plain text mode
resizeEvent DOES get called, but not when the bars are hidden/shown.
Not sure how I'd do the experiment. You mean, just change the base class to QWidget but with nothing else? What would the experiment reveal?
Bookmarks