File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,15 +22,15 @@ ApplicationWindow {
2222 focus: true // to accept keyboard events
2323 }
2424
25- // Main menu bar (added to Qt 5.10)
25+ // Main menu bar (added to Qt 5.10, QtQuick.Controls 2.3 )
2626 /* MenuBar {
2727 Menu {
28- title: qsTr("&File")
29- MenuItem {
30- text: qsTr("&Quit")
31- onTriggered: Qt.quit();
32- }
33- }
28+ title: qsTr("&File")
29+ MenuItem {
30+ text: qsTr("&Quit")
31+ onTriggered: Qt.quit();
32+ }
33+ }
3434 }*/
3535
3636 // Viewer background color slider
@@ -78,8 +78,8 @@ ApplicationWindow {
7878 // About sample dialog
7979 MessageDialog {
8080 id: dlg_about
81- title: qsTr (" About Sample" )
82- text: qsTr (" OCCT 3D Viewer sample embedded into QtQuick/QML." )
81+ title: qsTr (" About Sample" )
82+ text: qsTr (" OCCT 3D Viewer sample embedded into QtQuick/QML." )
8383 informativeText: " Open CASCADE Technology v." + OCC_VERSION_STRING_EXT + " \n "
8484 + " Qt v." + QT_VERSION_STR + " \n "
8585 + " \n OpenGL info:\n " + occt_view .glInfo ;
You can’t perform that action at this time.
0 commit comments