Add progressbar widget and orientation attributes
This commit is contained in:
1 parent
6e3b428c1b
commit
7b05195633
4 files changed
+42
No files matched your search
@@ -90,6 +90,7 @@ attlist.field &=
|
||||
| "binary"
|
||||
| "many2many"
|
||||
| "image"
|
||||
| "progressbar"
|
||||
}?
|
||||
attlist.field &= attribute saves { "0" | "1" }?
|
||||
attlist.field &= attribute expand { "0" | "1" }?
|
||||
@@ -116,6 +117,13 @@ attlist.field &= attribute domain { text }?
|
||||
attlist.field &= attribute color { text }?
|
||||
attlist.field &=
|
||||
[ a:defaultValue = "0" ] attribute select { "0" | "1" | "2" }?
|
||||
attlist.field &=
|
||||
[ a:defaultValue = "left_to_right" ] attribute orientation {
|
||||
"left_to_right"
|
||||
| "right_to_left"
|
||||
| "bottom_to_top"
|
||||
| "top_to_bottom"
|
||||
}
|
||||
image = element image { attlist.image, empty }
|
||||
attlist.image &= attribute name { text }
|
||||
attlist.image &= [ a:defaultValue = "1" ] attribute colspan { text }?
|
||||
|
||||
@@ -274,6 +274,7 @@
|
||||
<value>binary</value>
|
||||
<value>many2many</value>
|
||||
<value>image</value>
|
||||
<value>progressbar</value>
|
||||
</choice>
|
||||
</attribute>
|
||||
</optional>
|
||||
@@ -429,6 +430,18 @@
|
||||
</attribute>
|
||||
</optional>
|
||||
</define>
|
||||
<define name="attlist.field" combine="interleave">
|
||||
<optional>
|
||||
<attribute name="orientation" a:defaultValue="left_to_right">
|
||||
<choice>
|
||||
<value>left_to_right</value>
|
||||
<value>right_to_left</value>
|
||||
<value>bottom_to_top</value>
|
||||
<value>top_to_bottom</value>
|
||||
</choice>
|
||||
</attribute>
|
||||
</optional>
|
||||
</define>
|
||||
<define name="image">
|
||||
<element name="image">
|
||||
<ref name="attlist.image"/>
|
||||
|
||||
@@ -33,6 +33,7 @@ attlist.field &=
|
||||
| "email"
|
||||
| "callto"
|
||||
| "sip"
|
||||
| "progressbar"
|
||||
}?
|
||||
attlist.field &=
|
||||
[ a:defaultValue = "0" ] attribute select { "0" | "1" | "2" }?
|
||||
@@ -41,6 +42,13 @@ attlist.field &=
|
||||
attlist.field &= attribute icon { text }?
|
||||
attlist.field &= attribute sum { text }?
|
||||
attlist.field &= attribute width { text }?
|
||||
attlist.field &=
|
||||
[ a:defaultValue = "left_to_right" ] attribute orientation {
|
||||
"left_to_right"
|
||||
| "right_to_left"
|
||||
| "bottom_to_top"
|
||||
| "top_to_bottom"
|
||||
}
|
||||
data = element data { attlist.data, xpath+ }
|
||||
attlist.data &= empty
|
||||
xpath = element xpath { attlist.xpath, any }
|
||||
|
||||
@@ -97,6 +97,7 @@
|
||||
<value>email</value>
|
||||
<value>callto</value>
|
||||
<value>sip</value>
|
||||
<value>progressbar</value>
|
||||
</choice>
|
||||
</attribute>
|
||||
</optional>
|
||||
@@ -137,6 +138,18 @@
|
||||
<attribute name="width"/>
|
||||
</optional>
|
||||
</define>
|
||||
<define name="attlist.field" combine="interleave">
|
||||
<optional>
|
||||
<attribute name="orientation" a:defaultValue="left_to_right">
|
||||
<choice>
|
||||
<value>left_to_right</value>
|
||||
<value>right_to_left</value>
|
||||
<value>bottom_to_top</value>
|
||||
<value>top_to_bottom</value>
|
||||
</choice>
|
||||
</attribute>
|
||||
</optional>
|
||||
</define>
|
||||
<define name="data">
|
||||
<element name="data">
|
||||
<ref name="attlist.data"/>
|
||||
|
||||
Reference in new issue
Block a user