QScreen manual test improvements: fields resize, better formatting
authorShawn Rutledge <shawn.rutledge@digia.com>
Thu, 4 Oct 2012 13:43:11 +0000 (15:43 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 16 Oct 2012 15:31:31 +0000 (17:31 +0200)
commit78f946f6dc23185e86d7a59e703cd8b3b6ee0e39
treeb481122e4f0af2cb150949cb2166d7d29a8a01ca
parent47881a7144503a936f0db0b262e5a26d299679cf
QScreen manual test improvements: fields resize, better formatting

It's necessary to set the fieldGrowthPolicy on the QFormLayout in order
to have expanding fields on the Mac.  Geometry formatting with
negative x and y values looks better.  Display fewer
decimal digits for double fields.

Change-Id: Icb252c0c3fb7b605253e04c3361beba124570840
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
tests/manual/qscreen/main.cpp
tests/manual/qscreen/propertyfield.cpp
tests/manual/qscreen/propertywatcher.cpp
tests/manual/qscreen/propertywatcher.h