]> git.lyx.org Git - lyx.git/blob - lib/ui/stdtoolbars.ui
31f8fe677b1d82959693b072f80a0d10941bdcb8
[lyx.git] / lib / ui / stdtoolbars.ui
1 # A Toolbar starts like :
2 #
3 # Toolbar "Name"
4 #
5 # Only four commands are allowed inside the begin_toolbar and end_toolbar
6 # directives: 
7 #   Item "The tooltip" "<action> [<parameter>]" adds an icon to the toolbar performing
8 #          "<action> <parameter>"
9 #      Examples:
10 #      Item "Small font" "font-size small"
11 #      Item Emphasized set-emph
12 #
13 #   Layouts adds the layouts combo-box to the toolbar
14 #
15 #   Separator adds some spacing to the toolbar
16 #
17 #   Minibuffer adds the command buffer (Qt only, only one may exist)
18 #
19 # The icons are found in the lib/image direcory under the name
20 # action.xpm or action_parameter.xpm, except for math-insert, which
21 # is e.g. lib/image/math/sum.xpm. Note that some characters are
22 # replaced (e.g. ')' -> rbracket).
23 #
24 #  All other lyx commands will get a "unknown" icon.
25 #
26 # This is the default toolbar:
27
28 Toolbar "Standard"
29         Layouts
30         Item "New document" "buffer-new"
31         Item "Open document" "file-open"
32         Item "Save document" "buffer-write"
33         Item "Print document" "buffer-print"
34         Separator
35         Item "Undo" "undo"
36         Item "Redo" "redo"
37         Item "Cut" "cut"
38         Item "Copy" "copy"
39         Item "Paste" "paste"
40         Item "Find and replace" "find-replace"
41         Separator
42         Item "Toggle emphasis style" "font-emph"
43         Item "Toggle noun style" "font-noun"
44         Item "Toggle user style" "font-free-apply"
45         Separator
46         Item "Insert math" "math-mode"
47         Item "Insert graphics" "dialog-show-new-inset graphics"
48         Item "Insert table" "tabular-insert 4 4"
49 End
50
51 Toolbar "Extra"
52         Item "Numbered list" "layout Enumerate"
53         Item "Itemized list" "layout Itemize"
54         Item "List" "layout List"
55         Item "Description" "layout Description"
56         Item "Increase depth" "depth-increment"
57         Item "Decrease depth" "depth-decrement"
58         Separator
59         Item "Insert figure float" "float-insert figure"
60         Item "Insert table float" "float-insert table"
61         Item "Insert label" "label-insert"
62         Item "Insert cross-reference" "dialog-show-new-inset ref"
63         Item "Insert citation" "dialog-show-new-inset citation"
64         Item "Insert index entry" "index-insert"
65         Separator
66         Item "Insert footnote" "footnote-insert"
67         Item "Insert margin note" "marginalnote-insert"
68         Item "Insert note" "note-insert"
69         Item "Insert URL" "url-insert"
70         Item "Insert TeX" "ert-insert"
71         Item "Include file" "dialog-show-new-inset include"
72         Separator
73         Item "Text Style" "layout-character"
74         Item "Paragraph Settings" "layout-paragraph"
75         Item "Table of contents" "toc-view"
76         Item "Check spelling" "spellchecker"
77         Item "Thesaurus" "thesaurus-entry"
78 End
79
80 Toolbar "Table"
81         Item "Add row" "tabular-feature append-row"
82         Item "Add column" "tabular-feature append-column"
83         Item "Delete row" "tabular-feature delete-row"
84         Item "Delete column" "tabular-feature delete-column"
85         Separator
86         Item "Set top line" "tabular-feature toggle-line-top"
87         Item "Set bottom line" "tabular-feature toggle-line-bottom"
88         Item "Set left line" "tabular-feature toggle-line-left"
89         Item "Set right line" "tabular-feature toggle-line-right"
90         Item "Set all lines" "tabular-feature set-all-lines"
91         Item "Unset all lines" "tabular-feature unset-all-lines"
92         Separator
93         Item "Left aligned" "tabular-feature align-left"
94         Item "Centered" "tabular-feature align-center"
95         Item "Right aligned" "tabular-feature align-right"
96         Item "Top aligned" "tabular-feature valign-top"
97         Item "Vertically centered" "tabular-feature valign-center"
98         Item "Bottom aligned" "tabular-feature valign-bottom"
99         Separator
100         Item "Rotate cell" "tabular-feature set-rotate-cell"
101         Item "Rotate table" "tabular-feature set-rotate-tabular"
102         Item "Set multi-column" "tabular-feature multicolumn"
103 End
104
105 Toolbar "Math"
106         Item "Show math panel" "math-panel"
107         Item "Set display mode" "math-display"
108         Item "Subscript" "math-subscript"
109         Item "Superscript" "math-superscript"
110         Item "Insert root" "math-insert \sqrt"
111         Item "Insert square root" "math-insert \root"
112         Item "Insert sum" "math-insert \sum"
113         Item "Insert integral" "math-insert \int"
114         Item "Insert product" "math-insert \prod"
115         Separator
116         Item "Insert fraction" "math-insert \frac"
117         Item "Insert ( )" "math-delim ( )"
118         Item "Insert [ ]" "math-delim [ ]"
119         Item "Insert { }" "math-delim { }"
120         Separator
121         Item "Insert matrix" "math-matrix 2 2"
122         Item "Insert cases" "math-insert \cases"
123         Item "Add row" "tabular-feature append-row"
124         Item "Add column" "tabular-feature append-column"
125         Item "Delete row" "tabular-feature delete-row"
126         Item "Delete column" "tabular-feature delete-column"
127 End
128
129 Toolbar "Command Buffer"
130         Minibuffer
131 End