summaryrefslogtreecommitdiffstats
path: root/tests/manual/qscreen/propertywatcher.h
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@digia.com>2012-10-04 15:43:11 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-10-16 17:31:31 +0200
commit78f946f6dc23185e86d7a59e703cd8b3b6ee0e39 (patch)
treeb481122e4f0af2cb150949cb2166d7d29a8a01ca /tests/manual/qscreen/propertywatcher.h
parent47881a7144503a936f0db0b262e5a26d299679cf (diff)
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>
Diffstat (limited to 'tests/manual/qscreen/propertywatcher.h')
-rw-r--r--tests/manual/qscreen/propertywatcher.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/manual/qscreen/propertywatcher.h b/tests/manual/qscreen/propertywatcher.h
index c55776e97a..63c828f651 100644
--- a/tests/manual/qscreen/propertywatcher.h
+++ b/tests/manual/qscreen/propertywatcher.h
@@ -39,8 +39,8 @@
**
****************************************************************************/
-#ifndef WIDGET_H
-#define WIDGET_H
+#ifndef PROPERTY_WATCHER_H
+#define PROPERTY_WATCHER_H
#include <QWidget>
@@ -69,4 +69,4 @@ protected:
QFormLayout * m_layout;
};
-#endif // WIDGET_H
+#endif // PROPERTY_WATCHER_H