This figure explains new functionality implemented with Qt* GUI. The new GUI provides a statusbar, a toolbar, and a control panel. The control panel can have trackbars and buttonbars attached to it.
This figure explains new functionality implemented with Qt* GUI. The new GUI provides a statusbar, a toolbar, and a control panel. The control panel can have trackbars and buttonbars attached to it. If you can't see the control panel then press Ctrl+P or right-click on any Qt-window and select "Display properties window".
*
*
To attach a trackbar, the window name parameter must be NULL.
To attach a trackbar, the window name parameter must be NULL.
@@ -104,6 +104,8 @@ The function ``namedWindow`` creates a window that can be used as a placeholder
...
@@ -104,6 +104,8 @@ The function ``namedWindow`` creates a window that can be used as a placeholder
If a window with the same name already exists, the function does nothing.
If a window with the same name already exists, the function does nothing.
You can call :cpp:func:`destroyWindow` or :cpp:func:`destroyAllWindows` to close the window and de-allocate any associated memory usage. For a simple program, you do not really have to call these functions because all the resources and windows of the application are closed automatically by the operating system upon exit.