highgui: add property WND_PROP_VISIBLE
authorPavel Rojtberg <pavel.rojtberg@igd.fraunhofer.de>
Thu, 27 Oct 2016 14:22:42 +0000 (16:22 +0200)
committerPavel Rojtberg <pavel.rojtberg@igd.fraunhofer.de>
Fri, 28 Oct 2016 09:35:02 +0000 (11:35 +0200)
commit358ec04413b5796883ae0007a20539c9c3e0383d
tree3f9ac74ef99b970622d107a080557023ffc7218c
parent8333ea41e2db2ca6314b54d933d6e687f7bc27ea
highgui: add property WND_PROP_VISIBLE

checks whether the window exists and is visible. On QT closing a window
merley hides it, so the common hack for checking whether a window exists

exists = cv2.getWindowProperty(.., 0) >= 0

does not work.
modules/highgui/include/opencv2/highgui.hpp
modules/highgui/include/opencv2/highgui/highgui_c.h
modules/highgui/src/precomp.hpp
modules/highgui/src/window.cpp
modules/highgui/src/window_QT.cpp
modules/highgui/src/window_QT.h