<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>MainWindow</class> <widget class="QMainWindow" name="MainWindow"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>800</width> <height>667</height> </rect> </property> <property name="windowTitle"> <string>Hello OpenGL ...</string> </property> <widget class="MyOpenGLWidget" name="openglWidget"> <property name="minimumSize"> <size> <width>800</width> <height>600</height> </size> </property> </widget> <widget class="QMenuBar" name="menuBar"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>800</width> <height>24</height> </rect> </property> <widget class="QMenu" name="menuInfo"> <property name="title"> <string>Info</string> </property> <addaction name="action_Version_OpenGL"/> </widget> <widget class="QMenu" name="menu_Demo"> <property name="title"> <string>&Demo</string> </property> <addaction name="actionHello_clear"/> <addaction name="actionHello_triangle"/> <addaction name="actionHello_camera"/> <addaction name="actionHello_spheres"/> <addaction name="actionHello_spline"/> </widget> <widget class="QMenu" name="menuShaders"> <property name="title"> <string>Shaders</string> </property> <addaction name="actionToggle_Back_Face_Culling"/> <addaction name="separator"/> </widget> <addaction name="menu_Demo"/> <addaction name="menuShaders"/> <addaction name="menuInfo"/> </widget> <widget class="QToolBar" name="mainToolBar"> <attribute name="toolBarArea"> <enum>TopToolBarArea</enum> </attribute> <attribute name="toolBarBreak"> <bool>false</bool> </attribute> </widget> <widget class="QStatusBar" name="statusBar"/> <action name="action_Version_OpenGL"> <property name="text"> <string>&Version OpenGL</string> </property> </action> <action name="actionHello_triangle"> <property name="text"> <string>Hello triangle ...</string> </property> </action> <action name="actionHello_camera"> <property name="text"> <string>Hello camera ...</string> </property> </action> <action name="actionHello_spheres"> <property name="text"> <string>Hello spheres ...</string> </property> </action> <action name="actionHello_clear"> <property name="text"> <string>Hello clear ...</string> </property> </action> <action name="actionToggle_Back_Face_Culling"> <property name="checkable"> <bool>true</bool> </property> <property name="checked"> <bool>true</bool> </property> <property name="text"> <string>Toggle backface culling</string> </property> </action> <action name="actionHello_spline"> <property name="text"> <string>Hello splines ...</string> </property> </action> </widget> <layoutdefault spacing="6" margin="11"/> <customwidgets> <customwidget> <class>MyOpenGLWidget</class> <extends>QWidget</extends> <header>myopenglwidget.h</header> <container>1</container> </customwidget> </customwidgets> <resources/> <connections/> </ui>