<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">

<kpartgui name="Rosegarden::EventListEditor" version="1230">

<MenuBar>

  <Menu name="file" append="new_merge">
    <text>&amp;File</text>
    <Action name="file_save" text="&amp;Save" icon="filesave" shortcut="Ctrl+S" />
    <Action name="file_close" text="&amp;Close" icon="fileclose" shortcut="Ctrl+W" />
  </Menu>

  <Menu name="edit" append="new_merge">
    <text>&amp;Edit</text>
    <!-- 'Undo' and 'Redo' use dynamic text. Do not provide data here. -->
    <Action name="edit_undo"/>
    <Action name="edit_redo"/>
  <Separator/>
    <Action name="insert" text="&amp;Insert Event" icon="event-insert" shortcut="I" />
    <Action name="delete" text="&amp;Delete Event" icon="event-delete" shortcut="Delete" />
    <Action name="edit_simple" text="&amp;Edit Event" icon="event-edit" shortcut="E" />
  <Separator/>
    <!-- JAS use multiple shorcuts found in QT reference for gnome/KDE -->
    <Action name="edit_cut" text="Cu&amp;t" icon="editcut" shortcut="Ctrl+X, F20, Shift+Del" />
    <Action name="edit_copy" text="&amp;Copy" icon="editcopy" shortcut="Ctrl+C, F16, Ctrl+Ins" />
    <Action name="edit_paste" text="&amp;Paste" icon="editpaste" shortcut="Ctrl+V, F18, Shift+Ins" />
  <Separator/>
    <Action name="select_all" text="&amp;Select All" shortcut="Ctrl+A" />
    <Action name="clear_selection" text="C&amp;lear Selection" shortcut="Escape" />
  <Separator/>
    <Action name="set_segment_start" text="Set Se&amp;gment Start Time..." />
    <Action name="set_segment_duration" text="Set Seg&amp;ment Duration..." />
  <Separator/>
    <Action name="options_configure" text="Preferences..." icon="configure" />
  </Menu>

  <Menu name="view">
    <text>&amp;View</text>
    <Action name="time_musical" text="&amp;Musical Times" icon="time-musical"  />
    <Action name="time_real" text="&amp;Real Times" icon="time-real" />
    <Action name="time_raw" text="Ra&amp;w Times" icon="time-raw" />
    <Separator/>
    <Action name="options_show_toolbar" text="Show Main &amp;Toolbar" checked="true" append="show_merge" />
    <!-- JAS 'options_show_statusbar' determined by state -->
    <Action name="options_show_statusbar" text="Show St&amp;atusbar" checked="true"/>
  </Menu>

  <Menu name="segment">
    <text>Se&amp;gment</text>
    <Menu name="open-with">
      <text>Edit &amp;With</text>
      <Action name="open_in_matrix" />
      <Action name="open_in_matrix" text="Open in Matri&amp;x Editor" icon="matrix" />
      <Action name="open_in_notation" text="Open in &amp;Notation Editor" icon="notation" />
    </Menu>
  </Menu>

  <Menu name="help" append="about_merge">
    <text>&amp;Help</text>
    <Action name="event_help" text="&amp;Help" icon="wiki" shortcut="F1" />
  <Separator/>
    <Action name="help_about_app" text="&amp;About Rosegarden" icon="rg-rwb-rose3-16x16" />
  </Menu>
</MenuBar>

<ToolBar name="Actions Toolbar">
  <text>Actions Toolbar</text>
  <Action name="insert"/>
  <Action name="delete"/>
  <Action name="edit_simple"/>
</ToolBar>

<ToolBar name="Time Toolbar">
  <text>Time Toolbar</text>
  <Action name="time_musical"/>
  <Action name="time_real"/>
  <Action name="time_raw"/>
</ToolBar>

<State name="have_selection">
  <enable>
    <Action name="edit_simple" />
    <Action name="edit_cut" />
    <Action name="edit_copy" />
    <Action name="delete" />
    <Action name="clear_selection" />
  </enable>
</State>

<State name="have_clipboard">
  <enable>
    <Action name="edit_paste"/>
  </enable>
</State>

</kpartgui>
