]> git.lyx.org Git - lyx.git/blob - lib/ui/stdtoolbars.ui
Michael's UI patch v2
[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" "dialog-show 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" "dialog-show findreplace"
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" "dialog-show character"
74         Item "Paragraph settings" "layout-paragraph"
75         Item "Table of contents" "toc-view"
76         Item "Check spelling" "dialog-show 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 "Align left" "tabular-feature align-left"
94         Item "Align center" "tabular-feature align-center"
95         Item "Align right" "tabular-feature align-right"
96         Separator
97         Item "Align top" "tabular-feature valign-top"
98         Item "Align middle" "tabular-feature valign-middle"
99         Item "Align bottom" "tabular-feature valign-bottom"
100         Separator
101         Item "Rotate cell" "tabular-feature set-rotate-cell"
102         Item "Rotate table" "tabular-feature set-rotate-tabular"
103         Item "Set multi-column" "tabular-feature multicolumn"
104 End
105
106 Toolbar "Math"
107         Item "Show math panel" "dialog-show mathpanel"
108         Item "Set display mode" "math-display"
109         Item "Subscript" "math-subscript"
110         Item "Superscript" "math-superscript"
111         Item "Insert root" "math-insert \sqrt"
112         Item "Insert square root" "math-insert \root"
113         Item "Insert sum" "math-insert \sum"
114         Item "Insert integral" "math-insert \int"
115         Item "Insert product" "math-insert \prod"
116         Separator
117         Item "Insert fraction" "math-insert \frac"
118         Item "Insert ( )" "math-delim ( )"
119         Item "Insert [ ]" "math-delim [ ]"
120         Item "Insert { }" "math-delim { }"
121         Separator
122         Item "Insert matrix" "math-matrix 2 2"
123         Item "Insert cases" "math-insert \cases"
124         Item "Add row" "tabular-feature append-row"
125         Item "Add column" "tabular-feature append-column"
126         Item "Delete row" "tabular-feature delete-row"
127         Item "Delete column" "tabular-feature delete-column"
128 End
129
130 Toolbar "Command Buffer"
131         Minibuffer
132 End