]> git.sesse.net Git - nageru/blobdiff - futatabi/mainwindow.ui
Implement undo/redo.
[nageru] / futatabi / mainwindow.ui
index 2950e67d27cabe116a809ca1292e0c1893b387b4..388e7d82aaa115cc120077ceb1cab653a0f6ac16 100644 (file)
     <addaction name="manual_action"/>
     <addaction name="about_action"/>
    </widget>
+   <widget class="QMenu" name="menu_Edit">
+    <property name="title">
+     <string>&amp;Edit</string>
+    </property>
+    <addaction name="undo_action"/>
+    <addaction name="redo_action"/>
+   </widget>
    <addaction name="menuFile"/>
+   <addaction name="menu_Edit"/>
    <addaction name="menu_Help"/>
   </widget>
   <action name="exit_action">
     <string>Selected playlist clip(s) as &amp;interpolated single trackā€¦</string>
    </property>
   </action>
+  <action name="undo_action">
+   <property name="text">
+    <string>&amp;Undo</string>
+   </property>
+   <property name="shortcut">
+    <string>Ctrl+Z</string>
+   </property>
+  </action>
+  <action name="redo_action">
+   <property name="text">
+    <string>&amp;Redo</string>
+   </property>
+   <property name="shortcut">
+    <string>Ctrl+Y</string>
+   </property>
+  </action>
  </widget>
  <customwidgets>
   <customwidget>