]> Creatis software - cpPlugins.git/blobdiff - appli/ImageMPR/ImageMPR.ui
undo redo for images in viewer
[cpPlugins.git] / appli / ImageMPR / ImageMPR.ui
index 8e0ee04ffef39fdbb7949e0ec908201c52e7b15d..8fd0d129dbe85921f0f4d6ed047187e6988737d5 100644 (file)
@@ -40,7 +40,7 @@
         <property name="orientation">
          <enum>Qt::Horizontal</enum>
         </property>
-        <widget class="QVTKWidget" name="m_YPlaneVTK">
+        <widget class="QVTKWidget" name="m_YPlaneVTK" native="true">
          <property name="enabled">
           <bool>true</bool>
          </property>
@@ -51,7 +51,7 @@
           </size>
          </property>
         </widget>
-        <widget class="QVTKWidget" name="m_XPlaneVTK">
+        <widget class="QVTKWidget" name="m_XPlaneVTK" native="true">
          <property name="enabled">
           <bool>true</bool>
          </property>
@@ -67,7 +67,7 @@
         <property name="orientation">
          <enum>Qt::Horizontal</enum>
         </property>
-        <widget class="QVTKWidget" name="m_ZPlaneVTK">
+        <widget class="QVTKWidget" name="m_ZPlaneVTK" native="true">
          <property name="enabled">
           <bool>true</bool>
          </property>
@@ -78,7 +78,7 @@
           </size>
          </property>
         </widget>
-        <widget class="QVTKWidget" name="m_3DVTK">
+        <widget class="QVTKWidget" name="m_3DVTK" native="true">
          <property name="enabled">
           <bool>true</bool>
          </property>
      <x>0</x>
      <y>0</y>
      <width>718</width>
-     <height>27</height>
+     <height>21</height>
     </rect>
    </property>
    <widget class="QMenu" name="menuFile">
      <string>Image to mesh</string>
     </property>
    </widget>
+   <widget class="QMenu" name="menuEdit">
+    <property name="title">
+     <string>Edit</string>
+    </property>
+    <addaction name="actionUndo"/>
+    <addaction name="actionRedo"/>
+   </widget>
    <addaction name="menuFile"/>
+   <addaction name="menuEdit"/>
    <addaction name="MenuImageToImage"/>
    <addaction name="MenuImageToMesh"/>
   </widget>
     <string>Open segmentation</string>
    </property>
   </action>
+  <action name="actionUndo">
+   <property name="text">
+    <string>Undo</string>
+   </property>
+   <property name="shortcut">
+    <string>Ctrl+Z</string>
+   </property>
+  </action>
+  <action name="actionRedo">
+   <property name="text">
+    <string>Redo</string>
+   </property>
+   <property name="shortcut">
+    <string>Ctrl+Y</string>
+   </property>
+  </action>
  </widget>
  <layoutdefault spacing="6" margin="11"/>
  <customwidgets>