gecko-dev/calendar/modules/ui/res/toolbar.ui

69 строки
3.4 KiB
Plaintext
Исходник Обычный вид История

<?xml version="1.0" standalone="no" encoding="UTF-8"?>
<!DOCTYPE toolbar SYSTEM "http://kirkwood.mcom.com/ui.dtd">
<UI>
<!-- This is the Toolbar XML
Objects
toolbar (type of container, generally a widget subclass)
button (type of widget)
Tags
toolbar (all container properties apply)
name - specifies the id it is known by
layout - specifies the type of layout to use for children in the container
showtext - true/false for displaying text or not
showicons - true/false for displaying icon or not
icons - mini, full for 2 different sizes of icons
(If we want to support icon stretching, these can be twips)
dockable - true/false for supports docking
floatable - true/false supports floating toolbar
tooltips - true/false - draw tooltips
button/editfield/separator (all widget properties apply)
name - specifies the id it is known by
container - An associated container when clicked on, can be drop down list of sorts
align - How is this item aligned (left, right,etc...)
type - The type of widget to use (buttons, separators, text, etc...)
commandkey - The command key equivalent
shortcut - shortcut that applies
miniicon - miniicon to use
fullicon - fullicon to use
rule - rule that gets applied, can modify appearance (or lack thereof)
(widget properties that typically are used)
enable - TRUE is is enabled by default
check - TRUE if checked. Must be a button type for this to apply
(problematic areas)
onaction - What to do on an action event. currently the name of the control is sent.
We need to map this to something simpler.
-->
<!-- This is the MenuBar Definition -->
<toolbar name="ToolBar" layout="xbox" weightmajor="0" weightminor="0" icons="mini" dockable="true" floatable="true" tooltips="true">
<object class="button" weightmajor="0" weightminor="0" label="InTray" miniicon="intray_mini.gif" fullicon="intray_full.gif"/>
<button label="Agenda" weightmajor="0" weightminor="0" miniicon="agenda_mini.gif" fullicon="agenda_full.gif"/>
<object class="button" weightmajor="0" weightminor="0" label="Tasks" miniicon="tasks_mini.gif" fullicon="tasks_full.gif"/>
<object class="separator" weightmajor="0" weightminor="0"/>
<button label="Day" weightmajor="0" weightminor="0" miniicon="day_mini.gif" fullicon="day_full.gif" rule="ViewListRule"/>
<button label="Week" weightmajor="0" weightminor="0" miniicon="week_mini.gif" fullicon="week_full.gif" rule="ViewListRule"/>
<button label="Month" weightmajor="0" weightminor="0" miniicon="month_mini.gif" fullicon="month_full.gif" rule="ViewListRule"/>
<object class="separator" weightmajor="0" weightminor="0"/>
<button label="New Entry" weightmajor="0" weightminor="0" miniicon="newentry_mini.gif" fullicon="newentry_full.gif"/>
<button label="New Task" weightmajor="0" weightminor="0" miniicon="newtask_mini.gif" fullicon="newtask_full.gif"/>
<object class="separator" weightmajor="0" weightminor="0" />
<button label="Print..." weightmajor="0" weightminor="0" miniicon="print_mini.gif" fullicon="print_full.gif"/>
<object class="separator" weightmajor="0" weightminor="0"/>
<object class="editfield" weightmajor="1" weightminor="1" label=""/>
<object class="separator"weightmajor="0" weightminor="0" />
<button label="Throbber" weightmajor="0" weightminor="0" miniicon="throbber_mini##.gif" fullicon="throbber_full##.gif" align="right"/>
</toolbar>
</UI>