3rdparty/OpenCV-2.3.0/modules/highgui/src/window_QT.cpp
foreach (QWidget *widget, QApplication::topLevelWidgets())
	{

		if (widget->isWindow() && !widget->parentWidget ())//is a window without parent
		{
			temp = (CvWinModel*) widget;
			if (temp->type == type_CvWindow)
			{
				w = (CvWindow*) widget;
				//active window properties button
				w->vect_QActions[9]->setDisabled(false);
			}
		}
	}
//For each window, enable window property button
For each window, enable window property button
For each window enable window property button
foreach (QWidget *widget, QApplication::topLevelWidgets())
	{
		if (widget->isWindow() && !widget->parentWidget ())
		{
			temp = (CvWinModel*) widget;
			if (temp->type == type_CvWindow)
			{
				w = (CvWindow*) widget;
				w->vect_QActions[9]->setDisabled(false);
			}
		}
	}
foreach ( QWidget * widget , QApplication :: topLevelWidgets ( ) ) { if ( widget -> isWindow ( ) && ! widget -> parentWidget ( ) ) { temp = ( CvWinModel * ) widget ; if ( temp -> type == type_CvWindow ) { w = ( CvWindow * ) widget ; w -> vect_QActions [ 9 ] -> setDisabled ( false ) ; } } }
For each window, enable window property button
For each window enable window property button
//is a window without parent //active window properties button