diff options
author | Miikka Heikkinen <miikka.heikkinen@qt.io> | 2017-12-18 12:24:16 +0200 |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@qt.io> | 2017-12-20 13:37:15 +0000 |
commit | b64f7b72bf6d4e4ae2343ea8afe64f940ab56809 (patch) | |
tree | 2d01243174f72260a493f9bd0fd339ba6d77378a /src/Authoring/Studio/MainFrm.ui | |
parent | 82cf8afa530ab96f89d5fd3870e9930b688a91b6 (diff) |
Add option to run preview with runtime 2 based viewer
The toolbar button is only shown if the runtime 2 based viewer
executable is found.
Task-number: QT3DS-730
Change-Id: I1cccc4987671eafd0b739a8ef0f203c5f1a94776
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Diffstat (limited to 'src/Authoring/Studio/MainFrm.ui')
-rw-r--r-- | src/Authoring/Studio/MainFrm.ui | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/src/Authoring/Studio/MainFrm.ui b/src/Authoring/Studio/MainFrm.ui index 574a5854..11def626 100644 --- a/src/Authoring/Studio/MainFrm.ui +++ b/src/Authoring/Studio/MainFrm.ui @@ -24,7 +24,7 @@ <x>0</x> <y>0</y> <width>1400</width> - <height>17</height> + <height>21</height> </rect> </property> <widget class="QMenu" name="menu_File"> @@ -205,6 +205,7 @@ <bool>false</bool> </attribute> <addaction name="actionPreview"/> + <addaction name="actionPreviewRuntime2"/> </widget> <action name="action_Reference_Manual"> <property name="text"> @@ -795,6 +796,21 @@ <string>Toggle autoset keyframes</string> </property> </action> + <action name="actionPreviewRuntime2"> + <property name="icon"> + <iconset resource="images.qrc"> + <normaloff>:/images/playback_tools_low-02.png</normaloff>:/images/playback_tools_low-02.png</iconset> + </property> + <property name="text"> + <string>Preview with Runtime 2</string> + </property> + <property name="iconText"> + <string>Preview with Runtime 2</string> + </property> + <property name="toolTip"> + <string>Preview with Runtime 2</string> + </property> + </action> </widget> <customwidgets> <customwidget> |