]> git.lyx.org Git - lyx.git/blob - lib/ui/stdtoolbars.inc
* lib/ui/stdttoolbars.inc: for the perfectionists: use a shorter
[lyx.git] / lib / ui / stdtoolbars.inc
1 # -*- text -*-
2
3 # file stdtoolbars.inc
4 # This file is part of LyX, the document processor.
5 # Licence details can be found in the file COPYING.
6
7 # author Jean-Marc Lasgouttes
8 # author John Levon
9
10 # Full author contact details are available in file CREDITS.
11
12 # The interface is designed (partially) following the KDE Human Interface
13 # Guidelines (http://usability.kde.org/hig/)
14
15 # A Toolbar starts like :
16 #
17 # Toolbar "name" "GUI Name"
18 #
19 # Only four commands are allowed inside the begin_toolbar and end_toolbar
20 # directives:
21 #   Item "The tooltip" "<action> [<parameter>]" adds an icon to the toolbar performing
22 #          "<action> <parameter>"
23 #      Examples:
24 #      Item "Small font" "font-size small"
25 #      Item Emphasized set-emph
26 #
27 #   Layouts adds the layouts combo-box to the toolbar
28 #
29 #   Separator adds some spacing to the toolbar
30 #
31 #   Minibuffer adds the command buffer (Qt only, only one may exist)
32 #
33 # The icons are found in the lib/image direcory under the name
34 # action.xpm or action_parameter.xpm, except for math-insert, which
35 # is e.g. lib/image/math/sum.xpm. Note that some characters are
36 # replaced (e.g. ')' -> rbracket).
37 #
38 #  All other lyx commands will get a "unknown" icon.
39 #
40 # This is the default toolbar:
41
42 Toolbar "standard" "Standard"
43         Layouts
44         Item "New document" "buffer-new"
45         Item "Open document" "file-open"
46         Item "Save document" "buffer-write"
47         Item "Print document" "dialog-show print"
48         Separator
49         Item "Undo" "undo"
50         Item "Redo" "redo"
51         Item "Cut" "cut"
52         Item "Copy" "copy"
53         Item "Paste" "paste"
54         Item "Find and replace" "dialog-show findreplace"
55         Separator
56         Item "Toggle emphasis" "font-emph"
57         Item "Toggle noun" "font-noun"
58         Item "Apply last" "font-free-apply"
59         Separator
60         Item "Insert math" "math-mode"
61         Item "Insert graphics" "dialog-show-new-inset graphics"
62         Item "Insert table" "tabular-insert"
63 End
64
65 Toolbar "extra" "Extra"
66         Item "Default" "layout"
67         Item "Numbered list" "layout Enumerate"
68         Item "Itemized list" "layout Itemize"
69         Item "List" "layout List"
70         Item "Description" "layout Description"
71         Item "Increase depth" "depth-increment"
72         Item "Decrease depth" "depth-decrement"
73         Separator
74         Item "Insert figure float" "float-insert figure"
75         Item "Insert table float" "float-insert table"
76         Item "Insert label" "label-insert"
77         Item "Insert cross-reference" "dialog-show-new-inset ref"
78         Item "Insert citation" "dialog-show-new-inset citation"
79         Item "Insert index entry" "index-insert"
80         Item "Insert glossary entry" "nomencl-insert"
81         Separator
82         Item "Insert footnote" "footnote-insert"
83         Item "Insert margin note" "marginalnote-insert"
84         Item "Insert note" "note-insert"
85         Item "Insert URL" "url-insert"
86         Item "Insert TeX code" "ert-insert"
87         Item "Include file" "dialog-show-new-inset include"
88         Separator
89         Item "Text style" "dialog-show character"
90         Item "Paragraph settings" "layout-paragraph"
91         Item "Table of contents" "toc-view"
92         Item "Check spelling" "dialog-show spellchecker"
93         Item "Thesaurus" "thesaurus-entry"
94 End
95
96 Toolbar "table" "Table"
97         Item "Add row" "tabular-feature append-row"
98         Item "Add column" "tabular-feature append-column"
99         Item "Delete row" "tabular-feature delete-row"
100         Item "Delete column" "tabular-feature delete-column"
101         Separator
102         Item "Set top line" "tabular-feature toggle-line-top"
103         Item "Set bottom line" "tabular-feature toggle-line-bottom"
104         Item "Set left line" "tabular-feature toggle-line-left"
105         Item "Set right line" "tabular-feature toggle-line-right"
106         Item "Set all lines" "tabular-feature set-all-lines"
107         Item "Unset all lines" "tabular-feature unset-all-lines"
108         Separator
109         Item "Align left" "tabular-feature align-left"
110         Item "Align center" "tabular-feature align-center"
111         Item "Align right" "tabular-feature align-right"
112         Separator
113         Item "Align top" "tabular-feature valign-top"
114         Item "Align middle" "tabular-feature valign-middle"
115         Item "Align bottom" "tabular-feature valign-bottom"
116         Separator
117         Item "Rotate cell" "tabular-feature set-rotate-cell"
118         Item "Rotate table" "tabular-feature set-rotate-tabular"
119         Item "Set multi-column" "tabular-feature multicolumn"
120 End
121
122 Toolbar "math" "Math"
123         Item "Show math panel" "dialog-show mathpanel"
124         Item "Set display mode" "math-display"
125         Item "Subscript" "math-subscript"
126         Item "Superscript" "math-superscript"
127         Item "Insert root" "math-insert \root"
128         Item "Insert square root" "math-insert \sqrt"
129         Item "Insert sum" "math-insert \sum"
130         Item "Insert integral" "math-insert \int"
131         Item "Insert product" "math-insert \prod"
132         Separator
133         Item "Insert fraction" "math-insert \frac"
134         Item "Insert ( )" "math-delim ( )"
135         Item "Insert [ ]" "math-delim [ ]"
136         Item "Insert { }" "math-delim { }"
137         Separator
138         Item "Insert matrix" "math-matrix 2 2"
139         Item "Insert cases environment" "math-insert \cases"
140         Item "Add row" "tabular-feature append-row"
141         Item "Add column" "tabular-feature append-column"
142         Item "Delete row" "tabular-feature delete-row"
143         Item "Delete column" "tabular-feature delete-column"
144 End
145
146 Toolbar "minibuffer" "Command Buffer"
147         Minibuffer
148 End
149
150 Toolbar "review" "Review"
151         Item "Track changes" "changes-track"
152         Item "Show changes in output" "changes-output"
153         Separator
154         Item "Next change" "change-next"
155         Item "Accept change" "change-accept"
156         Item "Reject change" "change-reject"
157         Separator
158         Item "Merge changes" "changes-merge"
159         Item "Accept all changes" "all-changes-accept"
160         Item "Reject all changes" "all-changes-reject"
161         Separator
162         Item "Insert note" "note-insert"
163         Item "Next note" "note-next"
164 End
165
166 Toolbar "view/update" "View/Update"
167         Item "View DVI" "buffer-view dvi"
168         Item "Update DVI" "buffer-update dvi"
169         Item "View PDF (pdflatex)" "buffer-view pdf2"
170         Item "Update PDF (pdflatex)" "buffer-update pdf2"
171         Item "View PostScript" "buffer-view ps"
172         Item "Update PostScript" "buffer-update ps"
173 End