<ui>
  <menubar name="MainMenu">
    <menu name="FileMenu" action="FileMenu">
      <menuitem action="FileNewWindow"/>
      <menuitem action="FileOpen"/>
      <menuitem action="FileDirOpen"/>
      <separator/>
      <menuitem action="FileSave"/>
      <menuitem action="FileSaveAs"/>
      <separator/>
      <placeholder name="EggRecentDocuments"/>
      <separator/>
      <menuitem action="FileCloseWindow"/>
    </menu>
    <menu action="EditMenu">
      <menuitem action="EditUndo"/>
      <separator/>
      <menuitem action="EditFlipHorizontal"/>
      <menuitem action="EditFlipVertical"/>
      <separator/>
      <menuitem action="EditRotate90"/>
      <menuitem action="EditRotate270"/>
      <menuitem action="EditRotate180"/>
      <separator/>
      <menuitem action="EditDelete"/>
      <separator/>
      <menuitem action="EditPreferences"/>
    </menu>
    <menu action="ViewMenu">
      <menuitem name="ToolbarToggle" action="ViewToolbar"/>
      <menuitem name="StatusbarToggle" action="ViewStatusbar"/>
      <separator/>
      <menuitem name="Fullscreen" action="ViewFullscreen"/>
      <separator/>
      <menuitem action="ViewZoomIn"/>
      <menuitem action="ViewZoomOut"/>
      <menuitem action="ViewZoomNormal"/>
      <menuitem action="ViewZoomFit"/>
    </menu>
    <menu action="HelpMenu">
      <menuitem action="HelpManual"/>
      <menuitem action="HelpAbout"/>
    </menu>
  </menubar>
  <toolbar name="ToolBar">
    <toolitem action="FileNewWindow"/>
    <toolitem action="FileOpen"/>
    <separator/>
    <toolitem action="EditRotate270"/>
    <toolitem action="EditRotate90"/>
    <separator/>
    <toolitem action="ViewZoomIn"/>
    <toolitem action="ViewZoomOut"/>
    <toolitem action="ViewZoomNormal"/>
    <toolitem action="ViewZoomFit"/>
  </toolbar>
</ui>
