Simon.Anderson Posted March 29, 2017 Share Posted March 29, 2017 Hi, I was running the C++ QT demo and noticed an unused .ui file with the following contents: <?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>653</width> <height>407</height> </rect> </property> <property name="windowTitle"> <string>MainWindow</string> </property> <widget class="QWidget" name="centralWidget"/></widget><layoutdefault spacing="6" margin="11"/><resources/><connections/></ui> This appears to be a different version of the UI definition that contains QT widgets? Can't get it to work though and there is no documentation describing it Does this format work for unigine 2.3.1? Does this allow me to mix qt widgets and unigine widgets on the same container/canvas? Thanks, Simon Link to comment
silent Posted March 30, 2017 Share Posted March 30, 2017 Hi Simon, That's UI file only works for the QT widgets. There is no way to re-use it for engine UI widgets. Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Simon.Anderson Posted March 31, 2017 Author Share Posted March 31, 2017 Cool - do we have access to the full suite of GUI controls/widgets available in the full QT library?? Link to comment
silent Posted April 3, 2017 Share Posted April 3, 2017 Hi Simon, If you will embed application into QT Window you can use any Qt widgets that will be rendered on top of the main application. Note that already existed engine widgets will remain the same. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Recommended Posts