Home > Uncategorized > Qt::WA_StaticContents

Qt::WA_StaticContents

December 1st, 2009 Leave a comment Go to comments

Qt Assistant: Indicates that the widget contents are north-west aligned and static. On resize, such a widget will receive paint events only for parts of itself that are newly visible. This flag is set or cleared by the widget’s author. (Link)

But also it prevents to avoid flicking during resizing.

The demo demonstrates the effect of setting the Qt::WA_StaticContents attribute on any widget in Qt 4.5

Tags: , ,
  1. No comments yet.
  1. No trackbacks yet.
You must be logged in to post a comment.