<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- boxes.qdoc --> <title>Boxes | Qt Widgets 5.12.6</title> <link rel="stylesheet" type="text/css" href="style/offline-simple.css" /> <script type="text/javascript"> document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css"); // loading style sheet breaks anchors that were jumped to before // so force jumping to anchor again setTimeout(function() { var anchor = location.hash; // need to jump to different anchor first (e.g. none) location.hash = "#"; setTimeout(function() { location.hash = anchor; }, 0); }, 0); </script> </head> <body> <div class="header" id="qtdocheader"> <div class="main"> <div class="main-rounded"> <div class="navigationbar"> <table><tr> <td >Qt 5.12</td><td ><a href="qtwidgets-index.html">Qt Widgets</a></td><td >Boxes</td></tr></table><table class="buildversion"><tr> <td id="buildversion" width="100%" align="right"><a href="qtwidgets-index.html">Qt 5.12.6 Reference Documentation</a></td> </tr></table> </div> </div> <div class="content"> <div class="line"> <div class="content mainContent"> <div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div> <h1 class="title">Boxes</h1> <span class="subtitle"></span> <!-- $$$graphicsview/boxes-brief --> <p>Combines advanced OpenGL rendering with the Graphics View framework.</p> <!-- @@@graphicsview/boxes --> <!-- $$$graphicsview/boxes-description --> <div class="descr"> <a name="details"></a> <p class="centerAlign"><img src="images/boxes-demo.png" alt="" /></p><p>Elements in the demo can be controlled using the mouse in the following ways:</p> <ul> <li>Dragging the mouse while pressing the left mouse button rotates the box in the center.</li> <li>Dragging the mouse while pressing the right mouse button rotates the satellite boxes.</li> <li>Scrolling the mouse wheel zooms in and out of the scene.</li> </ul> <p>The options pane can be used to fine-tune various parameters in the demo, including colors and pixel shaders.</p> <p>Files:</p> <ul> <li><a href="qtwidgets-graphicsview-boxes-3rdparty-fbm-h.html">graphicsview/boxes/3rdparty/fbm.h</a></li> <li><a href="qtwidgets-graphicsview-boxes-boxes-pro.html">graphicsview/boxes/boxes.pro</a></li> <li><a href="qtwidgets-graphicsview-boxes-boxes-qrc.html">graphicsview/boxes/boxes.qrc</a></li> <li><a href="qtwidgets-graphicsview-boxes-glbuffers-cpp.html">graphicsview/boxes/glbuffers.cpp</a></li> <li><a href="qtwidgets-graphicsview-boxes-glbuffers-h.html">graphicsview/boxes/glbuffers.h</a></li> <li><a href="qtwidgets-graphicsview-boxes-glextensions-cpp.html">graphicsview/boxes/glextensions.cpp</a></li> <li><a href="qtwidgets-graphicsview-boxes-glextensions-h.html">graphicsview/boxes/glextensions.h</a></li> <li><a href="qtwidgets-graphicsview-boxes-gltrianglemesh-h.html">graphicsview/boxes/gltrianglemesh.h</a></li> <li><a href="qtwidgets-graphicsview-boxes-main-cpp.html">graphicsview/boxes/main.cpp</a></li> <li><a href="qtwidgets-graphicsview-boxes-qtbox-cpp.html">graphicsview/boxes/qtbox.cpp</a></li> <li><a href="qtwidgets-graphicsview-boxes-qtbox-h.html">graphicsview/boxes/qtbox.h</a></li> <li><a href="qtwidgets-graphicsview-boxes-roundedbox-cpp.html">graphicsview/boxes/roundedbox.cpp</a></li> <li><a href="qtwidgets-graphicsview-boxes-roundedbox-h.html">graphicsview/boxes/roundedbox.h</a></li> <li><a href="qtwidgets-graphicsview-boxes-scene-cpp.html">graphicsview/boxes/scene.cpp</a></li> <li><a href="qtwidgets-graphicsview-boxes-scene-h.html">graphicsview/boxes/scene.h</a></li> <li><a href="qtwidgets-graphicsview-boxes-trackball-cpp.html">graphicsview/boxes/trackball.cpp</a></li> <li><a href="qtwidgets-graphicsview-boxes-trackball-h.html">graphicsview/boxes/trackball.h</a></li> </ul> <p>Images:</p> <ul> <li><a href="images/used-in-examples/graphicsview/boxes/cubemap_negx.jpg">graphicsview/boxes/cubemap_negx.jpg</a></li> <li><a href="images/used-in-examples/graphicsview/boxes/cubemap_negy.jpg">graphicsview/boxes/cubemap_negy.jpg</a></li> <li><a href="images/used-in-examples/graphicsview/boxes/cubemap_negz.jpg">graphicsview/boxes/cubemap_negz.jpg</a></li> <li><a href="images/used-in-examples/graphicsview/boxes/cubemap_posx.jpg">graphicsview/boxes/cubemap_posx.jpg</a></li> <li><a href="images/used-in-examples/graphicsview/boxes/cubemap_posy.jpg">graphicsview/boxes/cubemap_posy.jpg</a></li> <li><a href="images/used-in-examples/graphicsview/boxes/cubemap_posz.jpg">graphicsview/boxes/cubemap_posz.jpg</a></li> <li><a href="images/used-in-examples/graphicsview/boxes/qt-logo.jpg">graphicsview/boxes/qt-logo.jpg</a></li> <li><a href="images/used-in-examples/graphicsview/boxes/qt-logo.png">graphicsview/boxes/qt-logo.png</a></li> <li><a href="images/used-in-examples/graphicsview/boxes/smiley.png">graphicsview/boxes/smiley.png</a></li> <li><a href="images/used-in-examples/graphicsview/boxes/square.jpg">graphicsview/boxes/square.jpg</a></li> </ul> </div> <!-- @@@graphicsview/boxes --> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</acronym> 2019 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners.<br/> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br/> Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. </p> </div> </body> </html>