]> git.lyx.org Git - lyx.git/blob - lib/ui/stdtoolbars.inc
8c5056d53626e90251d7005ef389a2d76198edcd
[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 Toolbar and End
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/images/ 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         Separator
126         Item "Subscript" "math-subscript"
127         Item "Superscript" "math-superscript"
128         Item "Insert square root" "math-insert \sqrt"
129         Item "Insert root" "math-insert \root"
130         Item "Insert sum" "math-insert \sum"
131         Item "Insert integral" "math-insert \int"
132         Item "Insert product" "math-insert \prod"
133         Separator
134         Item "Insert standard fraction" "math-insert \frac"
135         Item "Insert ( )" "math-delim ( )"
136         Item "Insert [ ]" "math-delim [ ]"
137         Item "Insert { }" "math-delim { }"
138         Item "Insert math delimiters" "dialog-show mathdelimiter"
139         Separator
140         Item "Insert matrix" "dialog-show mathmatrix"
141         Item "Insert cases environment" "math-insert \cases"
142         Item "Add row" "tabular-feature append-row"
143         Item "Add column" "tabular-feature append-column"
144         Item "Delete row" "tabular-feature delete-row"
145         Item "Delete column" "tabular-feature delete-column"
146 End
147
148 Toolbar "minibuffer" "Command Buffer"
149         Minibuffer
150 End
151
152 Toolbar "review" "Review"
153         Item "Track changes" "changes-track"
154         Item "Show changes in output" "changes-output"
155         Separator
156         Item "Next change" "change-next"
157         Item "Accept change" "change-accept"
158         Item "Reject change" "change-reject"
159         Separator
160         Item "Merge changes" "changes-merge"
161         Item "Accept all changes" "all-changes-accept"
162         Item "Reject all changes" "all-changes-reject"
163         Separator
164         Item "Insert note" "note-insert"
165         Item "Next note" "note-next"
166 End
167
168 Toolbar "view/update" "View/Update"
169         Item "View DVI" "buffer-view dvi"
170         Item "Update DVI" "buffer-update dvi"
171         Item "View PDF (pdflatex)" "buffer-view pdf2"
172         Item "Update PDF (pdflatex)" "buffer-update pdf2"
173         Item "View PostScript" "buffer-view ps"
174         Item "Update PostScript" "buffer-update ps"
175 End