qt5base-lts/tests/manual/qscreen/qscreen.pro
Friedemann Kleint 82c3e9edc2 Manual QScreen test: capture screen changes.
- Make the subject of the Property watcher settable.
- Embed it into a QMainWindow with menu and
  listen to the screen changed event, setting
  the new screen with a message about the position.
- Remove hash, close obsolete windows by iterating
  over the top levels looking for the screen.

Change-Id: I4ed1122bab7c0cd9676d63995ce85a44719f4ba6
Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com>
2015-05-07 13:04:41 +00:00

14 lines
204 B
Prolog

QT += core gui widgets
CONFIG += console
TARGET = qscreen
TEMPLATE = app
SOURCES += main.cpp \
propertywatcher.cpp \
propertyfield.cpp
HEADERS += \
propertywatcher.h \
propertyfield.h