<!DOCTYPE kpartgui>
<kpartgui name="kpogre" version="1.5.7">

<MenuBar noMerge="1">
	<Menu name="file"><text>&amp;File</text>
		<Action name="file_new" />
		<DefineGroup name="new_merge" />
		<Separator />
		
		<Action name="file_open"/>
		<Action name="file_open_recent"/>
		<DefineGroup name="open_merge" />
		<Separator />
		
		<DefineGroup name="save_merge" append="save_merge" />
		<Action name="export_result" />
		<Separator/>
		
		<DefineGroup name="revert_merge" append="revert_merge"/>
		<DefineGroup name="print_merge" append="print_merge"/>
		<Separator/>
		
		<Action name="file_close"/>
		<DefineGroup name="close_merge" append="close_merge"/>
    	<Separator/>
		
    	<Action name="file_quit"/>
	</Menu>
	
	<Menu name="database"><text>&amp;Database</text>
		<Action name="connect"/>
		<Action name="disconnect"/>
		<Separator/>
		<Action name="wizard"/>
		<Separator/>
		<ActionList name="mdi_child_view"/>
	</Menu>
	
	<Menu name="edit"><text>&amp;Edit</text>
		<Action name="edit_find_in_tree"/>
		<Action name="edit_find_next_in_tree"/>
		<Separator/>
		<DefineGroup name="edit_undo_merge"/>
		<DefineGroup name="edit_paste_merge"/>
		<DefineGroup name="edit_select_merge"/>
		<DefineGroup name="edit_find_merge"/>
	</Menu>
	
  	<Menu name="view"><text>&amp;View</text>
		<Action name="treeitem_up"/>
		<Action name="treeitem_back"/>
		<Action name="treeitem_forward"/>
		<Separator/>
		<Action name="edit_deselect"/>
		<Separator />
    	<DefineGroup name="view_operations" />
  	</Menu>
	
	<Merge/>
		  		
	<Menu name="settings"><text>&amp;Settings</text>
		<Action name="settings_show_statusbar" />
		<Separator />
		<Action name="options_configure_keys" />
		<Action name="options_configure_toolbars" />
		<Action name="settings_configure" />
	</Menu>
  
	<Menu name="help" noMerge="1"><text>&amp;Help</text>
		<Action name="help_contents"/>
		<Action name="help_whats_this"/>
		<Separator/>
		<Action name="help_report_bug"/>
		<Separator/>
		<Action name="help_about_app"/>
		<Action name="help_about_kde"/>
  </Menu>
</MenuBar>

<!-- *********** Popup menus ************************ -->


<Menu name="popupFolderOperators">
	<Title>Operators</Title>
	<Action name="refresh"/>
</Menu>

<Menu name="popupFolderOperatorClasses">
	<Title>Operator Classes</Title>
	<Action name="refresh"/>
</Menu>

<Menu name="popupFolderAggregates">
	<Title>Aggregates</Title>
	<Action name="refresh"/>
</Menu>

<Menu name="popupFolderCasts">
	<Title>Casts</Title>
	<Action name="refresh"/>
</Menu>

<Menu name="popupFolderConversions">
	<Title>Conversions</Title>
	<Action name="refresh"/>
</Menu>

<!-- ************************************************************************ -->

<Menu name="popupServer">
	<Title>Server</Title>
	<Action name="server_reload_config"/>
	<Action name="server_rotate_log_file"/>
	<Separator/>
	<Action name="create_database"/>
    <Action name="load_database"/>
    <Separator/>
	<Action name="refresh"/>
</Menu>

<Menu name="popupFolderTablespaces">
  <Title>Tablespaces</Title>
  <Action name="create_tablespace"/>
  <Action name="refresh"/>
</Menu>

<Menu name="popupTablespace">
  <Title>Tablespace</Title>
  <Action name="drop_tablespace"/>
  <Separator/>
  <Action name="rename_tablespace"/>
  <Separator/>
  <Action name="set_owner_tablespace"/>
  <Action name="grant_privileges_tablespace"/>
  <Action name="revoke_privileges_tablespace"/>
</Menu>

<Menu name="popupFolderGroups">
  <Title>Groups</Title>
  <Action name="create_group"/>
  <Action name="refresh"/>
</Menu>

<Menu name="popupGroup">
  <Title>Group</Title>
  <Action name="drop_group"/>
  <Separator/>
  <Action name="modify_group"/>
</Menu>

<Menu name="popupFolderUsers">
  <Title>Users</Title>
  <Action name="create_user"/>
  <Action name="refresh"/>
</Menu>

<Menu name="popupUser">
  <Title>User</Title>
  <Action name="drop_user"/>
  <Separator/>
  <Action name="modify_user"/>
</Menu>

<Menu name="popupDatabase">
	<Title>Database</Title>
	<Action name="disconnect_database"/>
	<Action name="drop_database"/>
	<Separator/>
	<Action name="analyse_database"/>
	<Action name="reindex_database"/>
	<Separator/>
	<Action name="set_owner_database"/>
	<Action name="grant_privileges_database"/>
	<Action name="revoke_privileges_database"/>
	<Separator/>
	<Action name="dump_database"/>
	<Action name="restore_database"/>
	<Separator/>
	<Action name="create_schema"/>
	<Separator/>
	<Action name="refresh"/>
</Menu>

<Menu name="popupFolderLanguages">
  <Title>Languages</Title>
  <Action name="create_language"/>
  <Action name="refresh"/>
</Menu>

<Menu name="popupLanguage">
  <Title>Language</Title>
  <Action name="drop_language"/>
  <Action name="rename_language"/>
  <Separator/>
  <Action name="grant_privileges_language"/>
  <Action name="revoke_privileges_language"/>
</Menu>

<Menu name="popupSchema">
	<Title>Schema</Title>
	<Action name="drop_schema"/>
  <Separator/>
	<Action name="rename_schema"/>
	<Action name="set_description"/>
  <Separator/>
  <Action name="set_owner_schema"/>
	<Action name="grant_privileges_schema"/>
  <Action name="revoke_privileges_schema"/>
  <Separator/>
  <Action name="refresh"/>
</Menu>

<Menu name="popupFolderDomains">
  <Title>Domains</Title>
  <Action name="create_domain"/>
  <Action name="refresh"/>
</Menu>

<Menu name="popupDomain">
  <Title>Domain</Title>
  <Action name="drop_domain"/>
  <Separator/>
  <Action name="set_domain_null"/>
  <Action name="set_domain_default"/>
  <Action name="drop_domain_default"/>
  <Separator/>
  <Action name="set_owner_domain"/>
</Menu>

<Menu name="popupFolderDomainConstraints">
  <Title>Domain constraints</Title>
  <Action name="create_domain_constraint"/>
  <Action name="refresh"/>
</Menu>

<Menu name="popupDomainConstraint">
  <Title>Domain constraint</Title>
  <Action name="drop_domain_constraint"/>
</Menu>

<Menu name="popupFolderFunctions">
  <Title>Functions</Title>
  <Action name="create_function"/>
  <Action name="refresh"/>
</Menu>

<Menu name="popupFunction">
	<Title>Function</Title>
	<Action name="drop_function"/>
	<Separator/>
	<Action name="rename_function"/>
	<Action name="set_description"/>
	<Action name="modify_function"/>
	<Separator/>
	<Action name="grant_privileges_function"/>
	<Action name="revoke_privileges_function"/>
	<Separator/>
	<Action name="execute_function"/>
    <Action name="debug_function"/>
	<Action name="debug_function_attach"/>
	<Separator/>
	<Action name="refresh"/>
</Menu>

<Menu name="popupFolderTables">
  <Title>Tables</Title>
  <Action name="create_table"/>
  <Action name="refresh"/>
</Menu>

<Menu name="popupTable">
  <Title>Table</Title>
  <Action name="drop_table"/>
  <Separator/>
  <Action name="rename_table"/>
  <Action name="set_description"/>
  <Action name="analyse_table"/>
  <Action name="vacuum_table"/>
  <Action name="reindex_table"/>
  <Separator/>
  <Action name="set_cluster_on_table"/>
  <Action name="set_wo_cluster_table"/>
  <Action name="cluster_table"/>
  <Separator/>
  <Action name="copy_from_table"/>
  <Action name="copy_to_table"/>
  <Separator/>
  <Action name="set_owner_table"/>
  <Action name="grant_privileges_table"/>
  <Action name="revoke_privileges_table"/>
  <Separator/>
  <Action name="set_tblspace_table"/>
  <Action name="set_wo_oids_table"/>
  <Separator/>
  <Action name="edit_table_content"/>
  <Action name="query_table"/>
  <Separator/>
  <Action name="refresh"/>
</Menu>

<Menu name="popupFolderTableColumns">
  <Title>Columns</Title>
  <Action name="create_columns"/>
  <Action name="refresh"/>
</Menu>

<Menu name="popupTableColumn">
  <Title>Column</Title>
  <Action name="drop_column"/>
  <Separator/>
  <Action name="rename_column"/>
  <Action name="set_description"/>
  <Separator/>
  <Action name="set_column_null"/>
  <Action name="set_column_default"/>
  <Action name="drop_column_default"/>
  <Action name="change_column_type"/>
  <Action name="set_column_storage"/>
  <Action name="set_column_stat"/>
  <Separator/>
  <Action name="refresh"/>
</Menu>

<Menu name="popupFolderTableConstraints">
  <Title>Constraints</Title>
  <Action name="create_constraints"/>
  <Action name="refresh"/>
</Menu>

<Menu name="popupTableConstraint">
  <Title>Constraints</Title>
  <Action name="drop_constraint"/>
  <Action name="set_description"/>
  <Separator/>
  <Action name="refresh"/>
</Menu>

<Menu name="popupFolderTableIndexes">
	<Title>Indexes</Title>
	<Action name="create_indexes"/>
	<Action name="refresh"/>
</Menu>

<Menu name="popupTableIndex">
  <Title>Index</Title>
  <Action name="drop_index"/>
  <Separator/>
  <Action name="rename_index"/>
  <Action name="set_description"/>
  <Action name="reindex_index"/>
  <Separator/>
  <Action name="set_owner_index"/>
  <Action name="set_tblspace_index"/>
  <Separator/>
  <Action name="refresh"/>
</Menu>

<Menu name="popupFolderRules">
  <Title>Rules</Title>
  <Action name="create_rule"/>
  <Action name="refresh"/>
</Menu>

<Menu name="popupRule">
  <Title>Rule</Title>
  <Action name="drop_rule"/>
  <Separator/>
  <Action name="set_description"/>
  <Separator/>
  <Action name="refresh"/>
</Menu>

<Menu name="popupFolderTriggers">
  <Title>Triggers</Title>
  <Action name="create_trigger"/>
  <Action name="refresh"/>
</Menu>

<Menu name="popupTrigger">
  <Title>Trigger</Title>
  <Action name="drop_trigger"/>
  <Separator/>
  <Action name="enable_trigger"/>
  <Action name="rename_trigger"/>
  <Action name="set_description"/>
  <Separator/>
  <Action name="refresh"/>
</Menu>

<Menu name="popupFolderViews">
  <Title>Views</Title>
  <Action name="create_view"/>
  <Action name="refresh"/>
</Menu>

<Menu name="popupView">
  <Title>View</Title>
  <Action name="drop_view"/>
  <Separator/>
  <Action name="modify_view"/>
  <Action name="set_description"/>
  <Separator/>
  <Action name="grant_privileges_view"/>
  <Action name="revoke_privileges_view"/>
  <Separator/>
  <Action name="query_view"/>
</Menu>

<Menu name="popupFolderSequences">
  <Title>Sequences</Title>
  <Action name="create_sequence"/>
  <Action name="refresh"/>
</Menu>

<Menu name="popupSequence">
  <Title>Sequence</Title>
  <Action name="drop_sequence"/>
  <Separator/>
  <Action name="modify_sequence"/>
  <Action name="set_description"/>
  <Separator/>
  <Action name="grant_privileges_sequence"/>
  <Action name="revoke_privileges_sequence"/>
</Menu>

<Menu name="popupFolderTypes">
  <Title>Types</Title>
  <Action name="refresh"/>
  <Action name="create_base_type"/>
  <Action name="create_composite_type"/>
</Menu>

<Menu name="popupType">
  <Title>Type</Title>
  <Action name="drop_type"/>
  <Separator/>
  <Action name="set_description"/>
  <Action name="set_owner_type"/>
</Menu>

<!-- *** Popup menu for Kate *** -->

<Menu name="ktexteditor_popup" noMerge="1">
	<DefineGroup name="popup_operations" />
</Menu>

<!-- ************************************************************************ -->

<ToolBar fullWidth="false" name="mainToolBar" newline="true" position="top" noMerge="1"><text>Main Toolbar</text>
	<DefineGroup name="file_open" />
	<Action name="file_new" group="file_open" />
	<Action name="file_open" group="file_open" />
		
	<!-- Merge name="mainToolBar_kate_actions"/> zbytecne, cpe si to tam jakchce -->
	<Merge />
	<Separator />
	
	<Action name="treeitem_up"/>
	<Action name="treeitem_back"/>
	<Action name="treeitem_forward"/>
	
</ToolBar>

<ToolBar fullWidth="false" name="queryResultToolBar" position="top"><text>Query - Result Toolbar</text>
	<Merge />
</ToolBar>

<ToolBar fullWidth="false" name="dataTableToolBar" position="top"><text>Datatable Toolbar</text>
	<Merge />
</ToolBar>

<ToolBar fullWidth="false" name="executorToolBar" position="top"><text>Executor Toolbar</text>
	<Merge />
</ToolBar>

<ToolBar fullWidth="false" name="debuggerToolBar" position="top"><text>Debugger Toolbar</text>
	<Merge />
</ToolBar>

<ToolBar fullWidth="true" name="pathToolBar" newline="true" position="top"><text>Path Toolbar</text>
	<Action name="path_clear"/>
	<Action name="path_label"/>
	<Action name="path_combo"/>
</ToolBar>

<ToolBar fullWidth="false" name="dbToolBar" position="left"><text>Database Toolbar</text>
	<Action name="connect"/>
	<Action name="disconnect"/>
	<Separator lineSeparator="true"/>
	<Action name="wizard"/>
	<Separator lineSeparator="true"/>
</ToolBar>

</kpartgui>
