--- a/src/mainwindow.ui Fri Dec 28 00:03:47 2018 +0200 +++ b/src/mainwindow.ui Tue Jan 01 22:30:10 2019 +0200 @@ -24,31 +24,22 @@ <property name="orientation"> <enum>Qt::Horizontal</enum> </property> - <widget class="QStackedWidget" name="rendererStack"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="frameShape"> - <enum>QFrame::StyledPanel</enum> - </property> - <property name="frameShadow"> - <enum>QFrame::Raised</enum> + <widget class="QMdiArea" name="viewport"> + <property name="viewMode"> + <enum>QMdiArea::TabbedView</enum> </property> </widget> <widget class="QToolBox" name="toolBox"> <property name="currentIndex"> - <number>2</number> + <number>0</number> </property> <widget class="QWidget" name="page"> <property name="geometry"> <rect> <x>0</x> <y>0</y> - <width>100</width> - <height>30</height> + <width>68</width> + <height>377</height> </rect> </property> <attribute name="label"> @@ -70,8 +61,8 @@ <rect> <x>0</x> <y>0</y> - <width>926</width> - <height>366</height> + <width>88</width> + <height>363</height> </rect> </property> <attribute name="label"> @@ -101,8 +92,8 @@ <rect> <x>0</x> <y>0</y> - <width>926</width> - <height>366</height> + <width>176</width> + <height>363</height> </rect> </property> <attribute name="label"> @@ -140,8 +131,8 @@ <rect> <x>0</x> <y>0</y> - <width>93</width> - <height>93</height> + <width>88</width> + <height>363</height> </rect> </property> <attribute name="label"> @@ -174,7 +165,7 @@ <x>0</x> <y>0</y> <width>1010</width> - <height>26</height> + <height>22</height> </rect> </property> <widget class="QMenu" name="menuFile"> @@ -216,6 +207,34 @@ <property name="title"> <string>&View</string> </property> + <widget class="QMenu" name="menuCreate_View"> + <property name="title"> + <string>&Create Camera</string> + </property> + <addaction name="actionNewTopCamera"/> + <addaction name="actionNewFrontCamera"/> + <addaction name="actionNewLeftCamera"/> + <addaction name="actionNewBottomCamera"/> + <addaction name="actionNewBackCamera"/> + <addaction name="actionNewRightCamera"/> + <addaction name="separator"/> + <addaction name="actionNewFreeCamera"/> + </widget> + <widget class="QMenu" name="menu_Select_Camera"> + <property name="title"> + <string>&Select Camera</string> + </property> + <addaction name="actionSelectTopCamera"/> + <addaction name="actionSelectFrontCamera"/> + <addaction name="actionSelectLeftCamera"/> + <addaction name="actionSelectBottomCamera"/> + <addaction name="actionSelectBackCamera"/> + <addaction name="actionSelectRightCamera"/> + <addaction name="separator"/> + <addaction name="actionSelectFreeCamera"/> + </widget> + <addaction name="menuCreate_View"/> + <addaction name="menu_Select_Camera"/> <addaction name="actionResetView"/> <addaction name="actionAxes"/> <addaction name="actionWireframe"/> @@ -1716,6 +1735,174 @@ <string>Resets the drawing plane</string> </property> </action> + <action name="actionNewTopCamera"> + <property name="icon"> + <iconset resource="../ldforge.qrc"> + <normaloff>:/icons/camera-top.png</normaloff>:/icons/camera-top.png</iconset> + </property> + <property name="text"> + <string>New &Top Camera</string> + </property> + <property name="toolTip"> + <string>New Top Camera</string> + </property> + </action> + <action name="actionNewFrontCamera"> + <property name="icon"> + <iconset resource="../ldforge.qrc"> + <normaloff>:/icons/camera-front.png</normaloff>:/icons/camera-front.png</iconset> + </property> + <property name="text"> + <string>New &Front Camera</string> + </property> + <property name="toolTip"> + <string>New Front Camera</string> + </property> + </action> + <action name="actionNewLeftCamera"> + <property name="icon"> + <iconset resource="../ldforge.qrc"> + <normaloff>:/icons/camera-left.png</normaloff>:/icons/camera-left.png</iconset> + </property> + <property name="text"> + <string>New &Left Camera</string> + </property> + <property name="toolTip"> + <string>New Left Camera</string> + </property> + </action> + <action name="actionNewBottomCamera"> + <property name="icon"> + <iconset resource="../ldforge.qrc"> + <normaloff>:/icons/camera-bottom.png</normaloff>:/icons/camera-bottom.png</iconset> + </property> + <property name="text"> + <string>New &Bottom Camera</string> + </property> + <property name="toolTip"> + <string>New Bottom Camera</string> + </property> + </action> + <action name="actionNewBackCamera"> + <property name="icon"> + <iconset resource="../ldforge.qrc"> + <normaloff>:/icons/camera-back.png</normaloff>:/icons/camera-back.png</iconset> + </property> + <property name="text"> + <string>New B&ack Camera</string> + </property> + <property name="toolTip"> + <string>New Back Camera</string> + </property> + </action> + <action name="actionNewRightCamera"> + <property name="icon"> + <iconset resource="../ldforge.qrc"> + <normaloff>:/icons/camera-right.png</normaloff>:/icons/camera-right.png</iconset> + </property> + <property name="text"> + <string>New &Right Camera</string> + </property> + <property name="toolTip"> + <string>New Right Camera</string> + </property> + </action> + <action name="actionNewFreeCamera"> + <property name="icon"> + <iconset resource="../ldforge.qrc"> + <normaloff>:/icons/camera-free.png</normaloff>:/icons/camera-free.png</iconset> + </property> + <property name="text"> + <string>New Fr&ee Camera</string> + </property> + <property name="toolTip"> + <string>New Free Camera</string> + </property> + </action> + <action name="actionSelectTopCamera"> + <property name="icon"> + <iconset resource="../ldforge.qrc"> + <normaloff>:/icons/camera-top.png</normaloff>:/icons/camera-top.png</iconset> + </property> + <property name="text"> + <string>Select &Top Camera</string> + </property> + <property name="shortcut"> + <string>Ctrl+1</string> + </property> + </action> + <action name="actionSelectFrontCamera"> + <property name="icon"> + <iconset resource="../ldforge.qrc"> + <normaloff>:/icons/camera-front.png</normaloff>:/icons/camera-front.png</iconset> + </property> + <property name="text"> + <string>Select &Front Camera</string> + </property> + <property name="shortcut"> + <string>Ctrl+2</string> + </property> + </action> + <action name="actionSelectLeftCamera"> + <property name="icon"> + <iconset resource="../ldforge.qrc"> + <normaloff>:/icons/camera-left.png</normaloff>:/icons/camera-left.png</iconset> + </property> + <property name="text"> + <string>Select &Left Camera</string> + </property> + <property name="shortcut"> + <string>Ctrl+3</string> + </property> + </action> + <action name="actionSelectBottomCamera"> + <property name="icon"> + <iconset resource="../ldforge.qrc"> + <normaloff>:/icons/camera-bottom.png</normaloff>:/icons/camera-bottom.png</iconset> + </property> + <property name="text"> + <string>Select &Bottom Camera</string> + </property> + <property name="shortcut"> + <string>Ctrl+4</string> + </property> + </action> + <action name="actionSelectBackCamera"> + <property name="icon"> + <iconset resource="../ldforge.qrc"> + <normaloff>:/icons/camera-back.png</normaloff>:/icons/camera-back.png</iconset> + </property> + <property name="text"> + <string>Select B&ack Camera</string> + </property> + <property name="shortcut"> + <string>Ctrl+5</string> + </property> + </action> + <action name="actionSelectRightCamera"> + <property name="icon"> + <iconset resource="../ldforge.qrc"> + <normaloff>:/icons/camera-right.png</normaloff>:/icons/camera-right.png</iconset> + </property> + <property name="text"> + <string>Select &Right Camera</string> + </property> + <property name="shortcut"> + <string>Ctrl+6</string> + </property> + </action> + <action name="actionSelectFreeCamera"> + <property name="icon"> + <iconset resource="../ldforge.qrc"> + <normaloff>:/icons/camera-free.png</normaloff>:/icons/camera-free.png</iconset> + </property> + <property name="text"> + <string>Select Fr&ee Camera</string> + </property> + <property name="shortcut"> + <string>Ctrl+7</string> + </property> + </action> </widget> <customwidgets> <customwidget> @@ -1733,6 +1920,7 @@ </customwidgets> <resources> <include location="../ldforge.qrc"/> + <include location="../ldforge.qrc"/> </resources> <connections/> </ui>