src/mainwindow.ui

changeset 288
169b30f282bd
parent 287
59562d8f8372
child 303
f4383ac6e21e
--- a/src/mainwindow.ui	Tue Jun 28 14:20:08 2022 +0300
+++ b/src/mainwindow.ui	Tue Jun 28 14:24:00 2022 +0300
@@ -80,6 +80,9 @@
     <addaction name="separator"/>
     <addaction name="actionAdjustGridToView"/>
     <addaction name="actionDrawAxes"/>
+    <addaction name="separator"/>
+    <addaction name="actionTileSubWindows"/>
+    <addaction name="actionCascadeSubWindows"/>
    </widget>
    <widget class="QMenu" name="menuEdit">
     <property name="title">
@@ -490,9 +493,52 @@
     <string>About %1</string>
    </property>
   </action>
+  <action name="actionTileSubWindows">
+   <property name="text">
+    <string>Tile subwindows</string>
+   </property>
+  </action>
+  <action name="actionCascadeSubWindows">
+   <property name="text">
+    <string>Cascade subwindows</string>
+   </property>
+  </action>
  </widget>
  <resources>
   <include location="../resources.qrc"/>
  </resources>
- <connections/>
+ <connections>
+  <connection>
+   <sender>actionTileSubWindows</sender>
+   <signal>triggered()</signal>
+   <receiver>mdiArea</receiver>
+   <slot>tileSubWindows()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>-1</x>
+     <y>-1</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>231</x>
+     <y>202</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>actionCascadeSubWindows</sender>
+   <signal>triggered()</signal>
+   <receiver>mdiArea</receiver>
+   <slot>cascadeSubWindows()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>-1</x>
+     <y>-1</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>231</x>
+     <y>202</y>
+    </hint>
+   </hints>
+  </connection>
+ </connections>
 </ui>

mercurial