# -*- text -*-

# file stdtoolbars.ui
# This file is part of LyX, the document processor.
# Licence details can be found in the file COPYING.

# author Jean-Marc Lasgouttes
# author John Levon

# Full author contact details are available in file CREDITS.

# The interface is designed (partially) following the KDE Human Interface
# Guidelines (http://usability.kde.org/hig/)

# A Toolbar starts like :
#
# Toolbar "name" "GUI Name"
#
# Only four commands are allowed inside the begin_toolbar and end_toolbar
# directives:
#   Item "The tooltip" "<action> [<parameter>]" adds an icon to the toolbar performing
#          "<action> <parameter>"
#      Examples:
#      Item "Small font" "font-size small"
#      Item Emphasized set-emph
#
#   Layouts adds the layouts combo-box to the toolbar
#
#   Separator adds some spacing to the toolbar
#
#   Minibuffer adds the command buffer (Qt only, only one may exist)
#
# The icons are found in the lib/image direcory under the name
# action.xpm or action_parameter.xpm, except for math-insert, which
# is e.g. lib/image/math/sum.xpm. Note that some characters are
# replaced (e.g. ')' -> rbracket).
#
#  All other lyx commands will get a "unknown" icon.
#
# This is the default toolbar:

Toolbar "standard" "Standard"
	Layouts
	Item "New document" "buffer-new"
	Item "Open document" "file-open"
	Item "Save document" "buffer-write"
	Item "Print document" "dialog-show print"
	Separator
	Item "Undo" "undo"
	Item "Redo" "redo"
	Item "Cut" "cut"
	Item "Copy" "copy"
	Item "Paste" "paste"
	Item "Find and replace" "dialog-show findreplace"
	Separator
	Item "Toggle emphasis" "font-emph"
	Item "Toggle noun" "font-noun"
	Item "Apply last" "font-free-apply"
	Separator
	Item "Insert math" "math-mode"
	Item "Insert graphics" "dialog-show-new-inset graphics"
	Item "Insert table" "tabular-insert"
End

Toolbar "extra" "Extra"
	Item "Numbered list" "layout Enumerate"
	Item "Itemized list" "layout Itemize"
	Item "List" "layout List"
	Item "Description" "layout Description"
	Item "Increase depth" "depth-increment"
	Item "Decrease depth" "depth-decrement"
	Separator
	Item "Insert figure float" "float-insert figure"
	Item "Insert table float" "float-insert table"
	Item "Insert label" "label-insert"
	Item "Insert cross-reference" "dialog-show-new-inset ref"
	Item "Insert citation" "dialog-show-new-inset citation"
	Item "Insert index entry" "index-insert"
	Separator
	Item "Insert footnote" "footnote-insert"
	Item "Insert margin note" "marginalnote-insert"
	Item "Insert note" "note-insert"
	Item "Insert URL" "url-insert"
	Item "Insert TeX Code" "ert-insert"
	Item "Include file" "dialog-show-new-inset include"
	Separator
	Item "Text style" "dialog-show character"
	Item "Paragraph settings" "layout-paragraph"
	Item "Table of contents" "toc-view"
	Item "Check spelling" "dialog-show spellchecker"
	Item "Thesaurus" "thesaurus-entry"
End

Toolbar "table" "Table"
	Item "Add row" "tabular-feature append-row"
	Item "Add column" "tabular-feature append-column"
	Item "Delete row" "tabular-feature delete-row"
	Item "Delete column" "tabular-feature delete-column"
	Separator
	Item "Set top line" "tabular-feature toggle-line-top"
	Item "Set bottom line" "tabular-feature toggle-line-bottom"
	Item "Set left line" "tabular-feature toggle-line-left"
	Item "Set right line" "tabular-feature toggle-line-right"
	Item "Set all lines" "tabular-feature set-all-lines"
	Item "Unset all lines" "tabular-feature unset-all-lines"
	Separator
	Item "Align left" "tabular-feature align-left"
	Item "Align center" "tabular-feature align-center"
	Item "Align right" "tabular-feature align-right"
	Separator
	Item "Align top" "tabular-feature valign-top"
	Item "Align middle" "tabular-feature valign-middle"
	Item "Align bottom" "tabular-feature valign-bottom"
	Separator
	Item "Rotate cell" "tabular-feature set-rotate-cell"
	Item "Rotate table" "tabular-feature set-rotate-tabular"
	Item "Set multi-column" "tabular-feature multicolumn"
End

Toolbar "math" "Math"
	Item "Show math panel" "dialog-show mathpanel"
	Item "Set display mode" "math-display"
	Item "Subscript" "math-subscript"
	Item "Superscript" "math-superscript"
	Item "Insert root" "math-insert \root"
	Item "Insert square root" "math-insert \sqrt"
	Item "Insert sum" "math-insert \sum"
	Item "Insert integral" "math-insert \int"
	Item "Insert product" "math-insert \prod"
	Separator
	Item "Insert fraction" "math-insert \frac"
	Item "Insert ( )" "math-delim ( )"
	Item "Insert [ ]" "math-delim [ ]"
	Item "Insert { }" "math-delim { }"
	Separator
	Item "Insert matrix" "math-matrix 2 2"
	Item "Insert cases environment" "math-insert \cases"
	Item "Add row" "tabular-feature append-row"
	Item "Add column" "tabular-feature append-column"
	Item "Delete row" "tabular-feature delete-row"
	Item "Delete column" "tabular-feature delete-column"
End

Toolbar "minibuffer" "Command Buffer"
	Minibuffer
End
