Translations:Development/Tutorials/Physical Simulation/81/en

From KDE TechBase
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

setBackgroundRole(QPalette::Base); //Background color: this nice gradient of gray

   setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);	//allow for expanding of the widget, aka use the minimumSizeHint and sizeHint