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

From KDE TechBase
Revision as of 17:43, 19 July 2019 by FuzzyBot (talk | contribs) (Importing a new version from external source)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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