Implement QPlatformWindow::isExposed() on Windows.

Task-number: QTBUG-28439

Change-Id: I4a81a8947056ecd4e1e61ffb0e5d94ee2ad860df
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
This commit is contained in:
Friedemann Kleint 2013-01-15 16:52:54 +01:00 committed by The Qt Project
parent 122ee7a367
commit 3d9a40038f

View File

@ -154,6 +154,7 @@ public:
virtual void setVisible(bool visible);
bool isVisible() const;
virtual bool isExposed() const { return m_windowState != Qt::WindowMinimized && isVisible(); }
virtual bool isActive() const;
virtual bool isEmbedded(const QPlatformWindow *parentWindow) const;
virtual QPoint mapToGlobal(const QPoint &pos) const;