some more examples for xul-files

This commit is contained in:
Ralf Becker 2002-09-24 22:45:02 +00:00
parent 161ff221e3
commit b6e2ef8143
2 changed files with 113 additions and 5 deletions

View File

@ -142,19 +142,19 @@
</row>
</rows>
</grid>
<grid id="etemplate.editor.edit" template="" lang="" group="" version="0.9.13.002" border="1" class="editorEdit">
<grid id="etemplate.editor.edit" template="" lang="" group="0" version="0.9.13.002" border="1" class="editorEdit">
<columns>
<column/>
<column/>
</columns>
<rows>
<row class="nmh">
<image align="center" src="navbar.gif"/>
<grid id="etemplate.editor.col_header" content="Col$col,"/>
<image src="navbar.gif" align="center"/>
<grid content="Col$col," id="etemplate.editor.col_header"/>
</row>
<row>
<grid id="etemplate.editor.row_header" content="Row$row," class="nmh"/>
<grid id="etemplate.editor.cell" content="$col$row"/>
<grid content="Row$row," class="nmh" id="etemplate.editor.row_header"/>
<grid content="$col$row" id="etemplate.editor.cell"/>
</row>
</rows>
<styles>

View File

@ -0,0 +1,108 @@
<?xml version="1.0"?>
<overlay>
<grid id="etemplate.tab_widget.test.privat" template="" lang="" group="0" version="" width="100%">
<columns>
<column width="100"/>
<column/>
</columns>
<rows>
<row class="nmr">
<description value="Street"/>
<textbox size="40" id="p_str" statustext="Street"/>
</row>
<row class="nmr">
<textbox size="8" label="city" id="p_zip" statustext="ZIP Code"/>
<textbox size="40" id="p_city" statustext="City"/>
</row>
<row class="nmr">
<description value="Telefon"/>
<textbox id="p_telefon" statustext="Telefonnumber"/>
</row>
<row class="nmr">
<description value="Fax"/>
<textbox id="p_fax" statustext="Faxnumber"/>
</row>
<row class="nmr">
<description value="Birthday"/>
<datefield options="Y-m-d" id="geb_date" statustext="Birtday"/>
</row>
</rows>
</grid>
<grid id="etemplate.tab_widget.test.work" template="" lang="" group="0" version="" width="100%">
<columns>
<column width="100"/>
<column/>
</columns>
<rows>
<row class="nmr">
<description value="Companyname"/>
<textbox size="40" id="company"/>
</row>
<row class="nmr">
<description value="Street"/>
<textbox size="40" id="w_str" statustext="Street"/>
</row>
<row class="nmr">
<textbox size="8" label="city" id="w_zip" statustext="ZIP Code"/>
<textbox size="40" id="w_city" statustext="City"/>
</row>
<row class="nmr">
<description value="Telefon"/>
<textbox id="w_telefon" statustext="Telefonnumber"/>
</row>
<row class="nmr">
<description value="Fax"/>
<textbox id="w_fax" statustext="Faxnumber"/>
</row>
<row class="nmr">
<description value="Founded"/>
<datefield options="Y-m-d" id="founded" statustext="when was the company founded"/>
</row>
</rows>
</grid>
<grid id="etemplate.tab_widget.test.note" template="" lang="" group="0" version="" width="100%">
<columns>
<column width="100"/>
<column/>
</columns>
<rows>
<row class="nmr" valign="top">
<description value="Note"/>
<textbox multiline="true" rows="10" cols="80" id="note" statustext="You can enter some free text here."/>
</row>
</rows>
</grid>
<grid id="etemplate.tab_widget.test" template="" lang="" group="" version="">
<columns>
<column width="250"/>
<column/>
</columns>
<rows>
<row>
<textbox label="Surname" id="surname" statustext="Surname"/>
<textbox label="Familyname" id="familyname" statustext="Familyname"/>
</row>
<row>
<tabbox span="all">
<tabs>
<tab label="Privat" statustext="privat address"/>
<tab label="Work" statustext="work address"/>
<tab label="Note" statustext="free note-text"/>
</tabs>
<tabpanels>
<grid id="etemplate.tab_widget.test.privat"/>
<grid id="etemplate.tab_widget.test.work"/>
<grid id="etemplate.tab_widget.test.note"/>
</tabpanels>
</tabbox>
</row>
<row>
<description span="all"/>
</row>
<row>
<button label="Save" id="save" statustext="Save changes"/>
<button label="Cancel" id="cancel" statustext="Cancel, discarding changes"/>
</row>
</rows>
</grid>
</overlay>