Mercurial > hg > digilib-old
comparison xul/content/alcatraz_ohne_annota.xul @ 203:bf945fcf9105
restarting with version control of xul sidebar/toolbar
author | luginbue |
---|---|
date | Fri, 27 Feb 2004 11:24:53 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
202:7501034e54e1 | 203:bf945fcf9105 |
---|---|
1 <?xml version="1.0" ?> | |
2 <?xml-stylesheet href="chrome://alcatraz/skin/" type="text/css" ?> | |
3 <?xml-stylesheet href="chrome://global/skin/" type="text/css" ?> | |
4 | |
5 <window xmlns:html="http://www.w3.org/1999/xhtml" | |
6 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" | |
7 onload="setTreeDirectory()"> | |
8 | |
9 <script type="application/x-javascript" src="chrome://jslib/content/jslib.js" /> | |
10 <script type="application/x-javascript" src="chrome://alcatraz/content/alcatraz.js" /> | |
11 <script type="application/x-javascript" src="chrome://alcatraz/content/annota.js" /> | |
12 <script type="application/x-javascript" src="chrome://alcatraz/content/rdfds.js" /> | |
13 | |
14 <popupset> | |
15 <popup id="scale_popup" onpopupshowing="markCurrentScale()"> | |
16 <menuitem id="scale_07" label="0.7" type="checkbox" oncommand="window.content.scale(0.7);" /> | |
17 <menuitem id="scale_10" label="1" type="checkbox" oncommand="window.content.scale(1);" /> | |
18 <menuitem id="scale_15" label="1.5" type="checkbox" oncommand="window.content.scale(1.5);" /> | |
19 <menuitem id="scale_20" label="2" type="checkbox" oncommand="window.content.scale(2);" /> | |
20 <menuitem id="scale_25" label="2.5" type="checkbox" oncommand="window.content.scale(2.5);" /> | |
21 <menuitem id="scale_30" label="3" type="checkbox" oncommand="window.content.scale(3);" /> | |
22 <menuitem id="scale_pbp" label="pixel by pixel" type="checkbox" oncommand="window.content.pixelByPixel();" /> | |
23 <menuitem id="scale_os" label="original size" type="checkbox" oncommand="dialog_originalsize();" /> | |
24 </popup> | |
25 </popupset> | |
26 | |
27 <popupset> | |
28 <popup id="mirror_popup" onpopupshowing="markCurrentMirror()"> | |
29 <menuitem id="mirror_h" label="Horizontal" type="checkbox" oncommand="window.content.mirror('h');" /> | |
30 <menuitem id="mirror_v" label="Vertical" type="checkbox" oncommand="window.content.mirror('v');" /> | |
31 </popup> | |
32 </popupset> | |
33 | |
34 <hbox> | |
35 <vbox flex="1" /> | |
36 <vbox> | |
37 <spacer style="height: 10px" /> | |
38 <hbox> | |
39 <button id="button_annotate" label="annotate" onclick="dialog_annotate();" flex="1" /> | |
40 </hbox> | |
41 <spacer style="height: 15px" /> | |
42 </vbox> | |
43 <vbox flex="1" /> | |
44 </hbox> | |
45 <tabbox flex="1"> | |
46 <tabs> | |
47 <tab label="Imago" /> | |
48 <tab label="Annota" /> | |
49 <tab label="Search" /> | |
50 </tabs> | |
51 <tabpanels flex="1"> | |
52 <tabpanel id="imago_tab" selected="true"> | |
53 <vbox flex="1" /> | |
54 <vbox> | |
55 <button id="button_scale" label="scale" popup="scale_popup" /> | |
56 <button id="button_mirror" label="mirror" popup="mirror_popup" /> | |
57 <button id="button_rotate" label="rotate" onclick="dialog_rotate();" /> | |
58 <spacer flex="1" /> | |
59 <button id="button_brightnesscontrast" label="brightness/contrast" onclick="dialog_brightnesscontrast();" /> | |
60 <button id="button_colors" label="colors" onclick="dialog_colors();" /> | |
61 <spacer flex="100" /> | |
62 </vbox> | |
63 <vbox flex="1" /> | |
64 </tabpanel> | |
65 <tabpanel id="annota_tab" orient="vertical"> | |
66 <vbox flex="1"> | |
67 <hbox> | |
68 <toolbarbutton id="annota_file" type="menu" label="File"> | |
69 <menupopup id="file_popup"> | |
70 <menuitem label="Save" onclick="file_save()" /> | |
71 </menupopup> | |
72 </toolbarbutton> | |
73 <toolbarbutton id="annota_options" type="menu" label="Options"> | |
74 <menupopup id="options_popup"> | |
75 <menuitem id="local" label="Local" type="radio" name="location" checked="true" onclick="file_local()" /> | |
76 <menuitem id="annotaDB" label="Annota DB" type="radio" name="location" onclick="file_annotaDB()" /> | |
77 <menuseparator/> | |
78 <menuitem id="tool_path" label="Tool URL" onclick="show_dialog('tool path')" /> | |
79 <menuitem id="annotations_path" label="Path to annotations" onclick="file_open()" /> | |
80 <menuseparator/> | |
81 <menuitem id="save_options" label="Save Options" onclick="setProfile()" /> | |
82 </menupopup> | |
83 </toolbarbutton> | |
84 </hbox> | |
85 | |
86 <tree id="file_tree" flex="100" datasources="rdf:files" ref="file:///" ondblclick="tree_click()"> | |
87 | |
88 <treecols id="cols"> | |
89 <treecol id="name" label="Name" primary="true" flex="1"/> | |
90 <treecol id="url" label="URL" hidden="true" flex="1"/> | |
91 </treecols> | |
92 | |
93 <template> | |
94 | |
95 <rule> | |
96 <treechildren flex="1" > | |
97 <treeitem uri="rdf:*" persist="open"> | |
98 <treerow> | |
99 <treecell label="rdf:http://home.netscape.com/NC-rdf#Name"/> | |
100 <treecell label="rdf:http://home.netscape.com/NC-rdf#URL"/> | |
101 </treerow> | |
102 </treeitem> | |
103 </treechildren> | |
104 </rule> | |
105 | |
106 </template> | |
107 </tree> | |
108 | |
109 </vbox> | |
110 </tabpanel> | |
111 <tabpanel id="search_tab"> | |
112 <tabbox flex="1"> | |
113 | |
114 <tabs> | |
115 <tab id="search_tab" selected="true" label="search" /> | |
116 <tab id="tree_tab" label="tree" /> | |
117 </tabs> | |
118 | |
119 <tabpanels flex="1"> | |
120 <tabpanel orient="vertical"> | |
121 <iframe id="search_frame" src="search.xul" height="180" /> | |
122 <iframe id="result_frame" flex="1" /> | |
123 </tabpanel> | |
124 <tabpanel> | |
125 <iframe id="tree_frame" src="tree.xul" flex="1" /> | |
126 </tabpanel> | |
127 </tabpanels> | |
128 </tabbox> | |
129 </tabpanel> | |
130 </tabpanels> | |
131 </tabbox> | |
132 </window> |