]> git.lyx.org Git - lyx.git/blob - lib/ui/stdtoolbars.inc
f8cb737a97d7ea729b72b6776c38a5c17c3e7a31
[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 ToolbarSet
43
44         Toolbar "standard" "Standard"
45                 Layouts
46                 Item "New document" "buffer-new"
47                 Item "Open document" "file-open"
48                 Item "Save document" "buffer-write"
49                 Item "Print document" "dialog-show print"
50                 Separator
51                 Item "Undo" "undo"
52                 Item "Redo" "redo"
53                 Item "Cut" "cut"
54                 Item "Copy" "copy"
55                 Item "Paste" "paste"
56                 Item "Find and replace" "dialog-show findreplace"
57                 Separator
58                 Item "Toggle emphasis" "font-emph"
59                 Item "Toggle noun" "font-noun"
60                 Item "Apply last" "font-free-apply"
61                 Separator
62                 Item "Insert math" "math-mode"
63                 Item "Insert graphics" "dialog-show-new-inset graphics"
64                 TableInsert
65         End
66         
67         Toolbar "extra" "Extra"
68                 Item "Default" "layout"
69                 Item "Numbered list" "layout Enumerate"
70                 Item "Itemized list" "layout Itemize"
71                 Item "List" "layout List"
72                 Item "Description" "layout Description"
73                 Item "Increase depth" "depth-increment"
74                 Item "Decrease depth" "depth-decrement"
75                 Separator
76                 Item "Insert figure float" "float-insert figure"
77                 Item "Insert table float" "float-insert table"
78                 Item "Insert label" "label-insert"
79                 Item "Insert cross-reference" "dialog-show-new-inset ref"
80                 Item "Insert citation" "dialog-show-new-inset citation"
81                 Item "Insert index entry" "index-insert"
82                 Item "Insert glossary entry" "nomencl-insert"
83                 Separator
84                 Item "Insert footnote" "footnote-insert"
85                 Item "Insert margin note" "marginalnote-insert"
86                 Item "Insert note" "note-insert"
87                 Item "Insert URL" "url-insert"
88                 Item "Insert TeX code" "ert-insert"
89                 Item "Include file" "dialog-show-new-inset include"
90                 Separator
91                 Item "Text style" "dialog-show character"
92                 Item "Paragraph settings" "layout-paragraph"
93                 Item "Table of contents" "toc-view"
94                 Item "Check spelling" "dialog-show spellchecker"
95                 Item "Thesaurus" "thesaurus-entry"
96         End
97         
98         Toolbar "table" "Table"
99                 Item "Add row" "tabular-feature append-row"
100                 Item "Add column" "tabular-feature append-column"
101                 Item "Delete row" "tabular-feature delete-row"
102                 Item "Delete column" "tabular-feature delete-column"
103                 Separator
104                 Item "Set top line" "tabular-feature toggle-line-top"
105                 Item "Set bottom line" "tabular-feature toggle-line-bottom"
106                 Item "Set left line" "tabular-feature toggle-line-left"
107                 Item "Set right line" "tabular-feature toggle-line-right"
108                 Item "Set all lines" "tabular-feature set-all-lines"
109                 Item "Unset all lines" "tabular-feature unset-all-lines"
110                 Separator
111                 Item "Align left" "tabular-feature align-left"
112                 Item "Align center" "tabular-feature align-center"
113                 Item "Align right" "tabular-feature align-right"
114                 Separator
115                 Item "Align top" "tabular-feature valign-top"
116                 Item "Align middle" "tabular-feature valign-middle"
117                 Item "Align bottom" "tabular-feature valign-bottom"
118                 Separator
119                 Item "Rotate cell" "tabular-feature set-rotate-cell"
120                 Item "Rotate table" "tabular-feature set-rotate-tabular"
121                 Item "Set multi-column" "tabular-feature multicolumn"
122         End
123         
124         Toolbar "math" "Math"
125                 Item "Show math panel" "dialog-show mathpanel"
126                 Item "Set display mode" "math-display"
127                 Separator
128                 Item "Subscript" "math-subscript"
129                 Item "Superscript" "math-superscript"
130                 Item "Insert square root" "math-insert \sqrt"
131                 Item "Insert root" "math-insert \root"
132                 Item "Insert standard fraction" "math-insert \frac"
133                 Item "Insert sum" "math-insert \sum"
134                 Item "Insert integral" "math-insert \int"
135                 Item "Insert product" "math-insert \prod"
136                 Separator
137                 Item "Insert ( )" "math-delim ( )"
138                 Item "Insert [ ]" "math-delim [ ]"
139                 Item "Insert { }" "math-delim { }"
140                 Item "Insert delimiters" "dialog-show mathdelimiter"
141                 Separator
142                 Item "Insert matrix" "dialog-show mathmatrix"
143                 Item "Insert cases environment" "math-insert \cases"
144                 Item "Add row" "tabular-feature append-row"
145                 Item "Add column" "tabular-feature append-column"
146                 Item "Delete row" "tabular-feature delete-row"
147                 Item "Delete column" "tabular-feature delete-column"
148         End
149         
150         Toolbar "minibuffer" "Command Buffer"
151                 Minibuffer
152         End
153         
154         Toolbar "review" "Review"
155                 Item "Track changes" "changes-track"
156                 Item "Show changes in output" "changes-output"
157                 Separator
158                 Item "Next change" "change-next"
159                 Item "Accept change" "change-accept"
160                 Item "Reject change" "change-reject"
161                 Separator
162                 Item "Merge changes" "changes-merge"
163                 Item "Accept all changes" "all-changes-accept"
164                 Item "Reject all changes" "all-changes-reject"
165                 Separator
166                 Item "Insert note" "note-insert"
167                 Item "Next note" "note-next"
168         End
169         
170         Toolbar "view/update" "View/Update"
171                 Item "View DVI" "buffer-view dvi"
172                 Item "Update DVI" "buffer-update dvi"
173                 Item "View PDF (pdflatex)" "buffer-view pdf2"
174                 Item "Update PDF (pdflatex)" "buffer-update pdf2"
175                 Item "View PostScript" "buffer-view ps"
176                 Item "Update PostScript" "buffer-update ps"
177         End
178
179 End