videoplayback/hbvideoplaybackview/resources/hbvideoplaybackview.docml
changeset 36 8aed59de29f9
parent 35 3738fe97f027
child 37 4eb2df7f7cbe
--- a/videoplayback/hbvideoplaybackview/resources/hbvideoplaybackview.docml	Thu Apr 01 23:32:44 2010 +0300
+++ b/videoplayback/hbvideoplaybackview/resources/hbvideoplaybackview.docml	Fri Apr 16 18:13:14 2010 +0300
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<hbdocument version="0.9">
+<hbdocument version="1.0">
     <widget name="content" type="HbWidget">
         <widget name="bufferingIcon" type="HbLabel">
             <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
@@ -9,11 +9,6 @@
             <bool name="visible" value="FALSE"/>
         </widget>
         <widget name="fileDetailsLayout" type="HbWidget">
-            <widget name="fileDetailsRatingSlider" type="HbRatingSlider">
-                <integer name="currentRating" value="3"/>
-                <sizehint height="30" type="PREFERRED" width="200"/>
-                <contentsmargins bottom="3" left="0" right="3" top="3"/>
-            </widget>
             <widget name="fileDetails" type="HbListWidget"/>
             <real name="z" value="2"/>
             <sizehint height="193" type="PREFERRED" width="320"/>
@@ -21,14 +16,8 @@
             <layout orientation="Vertical" type="linear">
                 <contentsmargins bottom="9px" left="9px" right="9px" top="9px"/>
                 <linearitem itemname="fileDetails"/>
-                <linearitem itemname="fileDetailsRatingSlider"/>
             </layout>
         </widget>
-        <widget name="volumeSlider" type="HbLabel">
-            <real name="z" value="3"/>
-            <sizehint height="179" type="PREFERRED" width="79"/>
-            <bool name="visible" value="FALSE"/>
-        </widget>
         <widget name="bitmapLayout" type="HbWidget">
             <widget name="audioOnlyBitmap" type="HbLabel">
                 <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
@@ -79,10 +68,26 @@
                     <anchoritem dst="detailsViewPlayButton" dstEdge="CENTERV" spacing="0" src="" srcEdge="CENTERV"/>
                 </layout>
             </widget>
-            <widget name="starRatingSlider" type="HbRatingSlider">
-                <integer name="currentRating" value="3"/>
-                <real name="z" value="1"/>
+            <widget name="attachShareButton" type="HbWidget">
+                <widget name="detailsAttachButton" type="HbPushButton">
+                    <icon iconName="qtg_mono_attach" name="icon"/>
+                    <sizehint height="40" type="PREFERRED" width="320"/>
+                    <bool name="visible" value="FALSE"/>
+                    <string name="state" value="normal"/>
+                </widget>
+                <widget name="detailsShareButton" type="HbPushButton">
+                    <icon iconName="qtg_mono_share" name="icon"/>
+                    <real name="z" value="1"/>
+                    <sizehint height="40" type="PREFERRED" width="320"/>
+                    <bool name="visible" value="TRUE"/>
+                    <string name="state" value="normal"/>
+                </widget>
+                <real name="z" value="0"/>
                 <sizehint height="40" type="PREFERRED" width="320"/>
+                <layout type="stacked">
+                    <stackitem itemname="detailsAttachButton"/>
+                    <stackitem itemname="detailsShareButton"/>
+                </layout>
             </widget>
             <real name="z" value="4"/>
             <sizehint height="160" type="PREFERRED" width="80"/>
@@ -90,7 +95,7 @@
             <layout orientation="Vertical" type="linear">
                 <contentsmargins bottom="0px" left="0px" right="0px" top="0px"/>
                 <linearitem itemname="small_transparentWindow"/>
-                <linearitem itemname="starRatingSlider"/>
+                <linearitem itemname="attachShareButton"/>
             </layout>
         </widget>
         <widget name="title" type="HbLabel">
@@ -106,62 +111,72 @@
         </widget>
         <widget name="controlBarLayout" type="HbWidget">
             <widget name="progressBarLayout" type="HbWidget">
-                <widget name="positionLabel" type="HbLabel">
-                    <enums name="alignment" value="AlignRight|AlignVCenter|AlignHCenter|AlignTrailing"/>
-                    <real name="z" value="1"/>
-                    <sizehint height="30" type="PREFERRED" width="30"/>
-                </widget>
-                <widget name="progressSlider" type="HbProgressBar">
-                    <integer name="progressValue" value="0"/>
-                    <real name="z" value="1"/>
-                    <sizehint height="30" type="PREFERRED" width="200"/>
-                </widget>
-                <widget name="durationLabel" type="HbLabel">
-                    <enums name="alignment" value="AlignRight|AlignVCenter|AlignHCenter|AlignTrailing"/>
-                    <real name="z" value="1"/>
-                    <sizehint height="30" type="PREFERRED" width="30"/>
+                <widget name="progressSlider" type="HbProgressSlider">
+                    <integer name="progressValue" value="70"/>
+                    <bool name="minMaxTextVisible" value="TRUE"/>
+                    <bool name="textVisible" value="FALSE"/>
+                    <enums name="minMaxTextAlignment" value="AlignVCenter|AlignHCenter"/>
+                    <string name="minText" value=""/>
+                    <enums name="orientation" value="Horizontal"/>
+                    <integer name="sliderValue" value="30"/>
+                    <enums name="textAlignment" value="AlignBottom"/>
+                    <string name="maxText" value=""/>
                 </widget>
                 <real name="z" value="3"/>
-                <sizehint height="50" type="PREFERRED" width="640"/>
-                <contentsmargins bottom="6" left="30" right="30" top="6"/>
                 <bool name="visible" value="TRUE"/>
-                <layout orientation="Horizontal" type="linear">
-                    <linearitem itemname="positionLabel"/>
-                    <linearitem itemname="progressSlider"/>
-                    <linearitem itemname="durationLabel"/>
+                <layout type="anchor">
+                    <anchoritem dst="progressSlider" dstEdge="LEFT" spacing="0" src="" srcEdge="LEFT"/>
+                    <anchoritem dst="progressSlider" dstEdge="CENTERV" spacing="0" src="" srcEdge="CENTERV"/>
+                    <anchoritem dst="progressSlider" dstEdge="RIGHT" spacing="0" src="" srcEdge="RIGHT"/>
                 </layout>
             </widget>
             <widget name="buttonBarLayout" type="HbWidget">
-                <widget name="aspectRatioButtons" type="HbWidget">
-                    <widget name="naturalButton" type="HbPushButton">
-                        <icon iconName="qtg_mono_aspect_ratio_natural" name="icon"/>
+                <widget name="aspectRatioAndAttachButtonLayout" type="HbWidget">
+                    <widget name="attachButton" type="HbPushButton">
+                        <icon iconName="qtg_mono_attach" name="icon"/>
                         <sizehint height="50" type="PREFERRED" width="150"/>
                         <sizehint height="50" type="MINIMUM" width="120"/>
                         <bool name="visible" value="FALSE"/>
                         <string name="state" value="normal"/>
                     </widget>
-                    <widget name="stretchButton" type="HbPushButton">
-                        <icon iconName="qtg_mono_aspect_ratio_stretched" name="icon"/>
-                        <real name="z" value="1"/>
+                    <widget name="aspectRatioButtons" type="HbWidget">
+                        <widget name="naturalButton" type="HbPushButton">
+                            <icon iconName="qtg_mono_aspect_ratio_natural" name="icon"/>
+                            <sizehint height="50" type="PREFERRED" width="150"/>
+                            <sizehint height="50" type="MINIMUM" width="120"/>
+                            <bool name="visible" value="FALSE"/>
+                            <string name="state" value="normal"/>
+                        </widget>
+                        <widget name="stretchButton" type="HbPushButton">
+                            <icon iconName="qtg_mono_aspect_ratio_stretched" name="icon"/>
+                            <real name="z" value="1"/>
+                            <sizehint height="50" type="PREFERRED" width="150"/>
+                            <sizehint height="50" type="MINIMUM" width="120"/>
+                            <bool name="visible" value="FALSE"/>
+                            <string name="state" value="normal"/>
+                        </widget>
+                        <widget name="zoomButton" type="HbPushButton">
+                            <icon iconName="qtg_mono_aspect_ratio_zoom" name="icon"/>
+                            <real name="z" value="2"/>
+                            <sizehint height="50" type="PREFERRED" width="150"/>
+                            <sizehint height="50" type="MINIMUM" width="120"/>
+                            <string name="state" value="normal"/>
+                        </widget>
+                        <real name="z" value="0"/>
                         <sizehint height="50" type="PREFERRED" width="150"/>
                         <sizehint height="50" type="MINIMUM" width="120"/>
-                        <bool name="visible" value="FALSE"/>
-                        <string name="state" value="normal"/>
-                    </widget>
-                    <widget name="zoomButton" type="HbPushButton">
-                        <icon iconName="qtg_mono_aspect_ratio_zoom" name="icon"/>
-                        <real name="z" value="2"/>
-                        <sizehint height="50" type="PREFERRED" width="150"/>
-                        <sizehint height="50" type="MINIMUM" width="120"/>
-                        <string name="state" value="normal"/>
+                        <layout type="stacked">
+                            <stackitem itemname="naturalButton"/>
+                            <stackitem itemname="stretchButton"/>
+                            <stackitem itemname="zoomButton"/>
+                        </layout>
                     </widget>
                     <real name="z" value="0"/>
-                    <sizehint height="150" type="PREFERRED" width="150"/>
-                    <sizehint height="52" type="MINIMUM" width="120"/>
+                    <sizehint height="50" type="PREFERRED" width="150"/>
+                    <sizehint height="50" type="MINIMUM" width="120"/>
                     <layout type="stacked">
-                        <stackitem itemname="naturalButton"/>
-                        <stackitem itemname="stretchButton"/>
-                        <stackitem itemname="zoomButton"/>
+                        <stackitem itemname="aspectRatioButtons"/>
+                        <stackitem itemname="attachButton"/>
                     </layout>
                 </widget>
                 <widget name="rwButton" type="HbPushButton">
@@ -212,7 +227,7 @@
                 <bool name="visible" value="TRUE"/>
                 <layout orientation="Horizontal" spacing="0px" type="linear">
                     <contentsmargins bottom="0px" left="0px" right="0px" top="0px"/>
-                    <linearitem itemname="aspectRatioButtons"/>
+                    <linearitem itemname="aspectRatioAndAttachButtonLayout"/>
                     <linearitem itemname="rwButton"/>
                     <linearitem itemname="playPauseButtons"/>
                     <linearitem itemname="ffButton"/>
@@ -254,21 +269,14 @@
             <anchoritem dst="transparentWindow" dstEdge="RIGHT" spacing="0" src="" srcEdge="RIGHT"/>
             <anchoritem dst="transparentWindow" dstEdge="BOTTOM" spacing="0" src="" srcEdge="BOTTOM"/>
             <anchoritem dst="title" dstEdge="BOTTOM" spacing="100" src="" srcEdge="TOP"/>
-            <anchoritem dst="volumeSlider" dstEdge="LEFT" spacing="0" src="" srcEdge="LEFT"/>
-            <anchoritem dst="volumeSlider" dstEdge="TOP" spacing="0" src="title" srcEdge="BOTTOM"/>
             <anchoritem dst="controlBarLayout" dstEdge="LEFT" spacing="0" src="" srcEdge="LEFT"/>
             <anchoritem dst="controlBarLayout" dstEdge="RIGHT" spacing="0" src="" srcEdge="RIGHT"/>
             <anchoritem dst="controlBarLayout" dstEdge="BOTTOM" spacing="0" src="" srcEdge="BOTTOM"/>
             <anchoritem dst="bitmapLayout" dstEdge="BOTTOM" spacing="-100" src="" srcEdge="BOTTOM"/>
-            <anchoritem dst="volumeSlider" dstEdge="BOTTOM" spacing="-100" src="" srcEdge="BOTTOM"/>
             <anchoritem dst="controlBarLayout" dstEdge="TOP" spacing="-100" src="" srcEdge="BOTTOM"/>
         </layout>
     </widget>
     <section name="detailsView">
-        <widget name="fileDetailsRatingSlider" type="HbRatingSlider">
-            <sizehint height="0" type="PREFERRED" width="200"/>
-            <bool name="visible" value="FALSE"/>
-        </widget>
         <widget name="content" type="HbWidget">
             <layout type="anchor">
                 <anchoritem dst="fileDetailsLayout" dstEdge="TOP" spacing="0" src="title" srcEdge="BOTTOM"/>
@@ -282,10 +290,6 @@
         </widget>
     </section>
     <section name="audioOnlyViewWithLocalPlayback">
-        <widget name="fileDetailsRatingSlider" type="HbRatingSlider">
-            <sizehint height="30" type="PREFERRED" width="200"/>
-            <bool name="visible" value="TRUE"/>
-        </widget>
         <widget name="content" type="HbWidget">
             <layout type="anchor">
                 <anchoritem dst="fileDetailsLayout" dstEdge="TOP" spacing="62" src="" srcEdge="TOP"/>
@@ -299,10 +303,6 @@
         </widget>
     </section>
     <section name="audioOnlyViewWithNonLocalPlayback">
-        <widget name="fileDetailsRatingSlider" type="HbRatingSlider">
-            <sizehint height="0" type="PREFERRED" width="200"/>
-            <bool name="visible" value="FALSE"/>
-        </widget>
         <widget name="content" type="HbWidget">
             <layout type="anchor">
                 <anchoritem dst="fileDetailsLayout" dstEdge="TOP" spacing="62" src="" srcEdge="TOP"/>
@@ -315,12 +315,6 @@
             <sizehint height="198" type="PREFERRED" width="320"/>
         </widget>
     </section>
-    <section name="nonLocalPlayback">
-        <widget name="starRatingSlider" type="HbRatingSlider">
-            <sizehint height="0" type="PREFERRED" width="320"/>
-            <bool name="visible" value="FALSE"/>
-        </widget>
-    </section>
     <metadata activeUIState="Common ui state" display="NHD landscape" unit="px">
         <resource location="hbvideoplaybackview.qrc"/>
         <uistate name="Common ui state" sections="#common"/>