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