homescreenapp/stateplugins/hsmenuworkerstateplugin/resource/hsdetailsdialog.docml
changeset 77 4b195f3bea29
parent 61 2b1b11a301d2
child 92 6727c5d0afc7
--- a/homescreenapp/stateplugins/hsmenuworkerstateplugin/resource/hsdetailsdialog.docml	Tue Jul 06 14:06:53 2010 +0300
+++ b/homescreenapp/stateplugins/hsmenuworkerstateplugin/resource/hsdetailsdialog.docml	Wed Aug 18 09:40:07 2010 +0300
@@ -5,9 +5,8 @@
         <string locid="txt_common_button_ok" name="text" value="Ok"/>
     </object>
     <widget name="details_dialog" type="HbDialog">
-        <enums name="dismissPolicy" value="HbPopup::NoDismiss"/>
-    	
         <contentsmargins bottom="var(hb-param-margin-view-bottom)" left="var(hb-param-margin-view-left)" right="var(hb-param-margin-view-right)" top="var(hb-param-margin-view-top)"/>
+        <enums name="dismissPolicy" value="NoDismiss"/>
         <widget name="qtl_dialog_pri_heading" role="HbDialog:headingWidget" type="HbLabel">
             <enums name="alignment" value="AlignLeft|AlignLeading"/>
             <contentsmargins bottom="var(hb-param-margin-gene-popup)" left="var(hb-param-margin-gene-popup)" right="var(hb-param-margin-gene-popup)" top="var(hb-param-margin-gene-popup)"/>
@@ -17,63 +16,62 @@
         <widget name="scrollArea" role="HbDialog:contentWidget" type="HbScrollArea">
             <widget name="scrollAreaContents" role="HbScrollArea:contents" type="HbWidget">
                 <widget name="_name" type="HbLabel">
-                    <sizehint height="expr(var(hb-param-text-height-secondary))" type="PREFERRED"/>
                     <string locid="txt_applib_dialog_name" name="plainText" value="Name:"/>
                     <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
+                    <enums name="textWrapping" value="TextWordWrap"/>
                 </widget>
                 <widget name="name" type="HbLabel">
-                    <sizehint height="expr(var(hb-param-text-height-secondary))" type="PREFERRED"/>
                     <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
+                    <enums name="textWrapping" value="TextWordWrap"/>
                 </widget>
                 <widget name="_version" type="HbLabel">
-                    <sizehint height="expr(var(hb-param-text-height-secondary))" type="PREFERRED"/>
                     <string locid="txt_applib_dialog_version" name="plainText" value="Version:"/>
                     <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
+                    <enums name="textWrapping" value="TextWordWrap"/>
                 </widget>
                 <widget name="version" type="HbLabel">
-                    <sizehint height="expr(var(hb-param-text-height-secondary))" type="PREFERRED"/>
                     <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
+                    <enums name="textWrapping" value="TextWordWrap"/>
                 </widget>
                 <widget name="_vendor" type="HbLabel">
-                    <sizehint height="expr(var(hb-param-text-height-secondary))" type="PREFERRED"/>
                     <string locid="txt_applib_dialog_supplier" name="plainText" value="Supplier:"/>
                     <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
+                    <enums name="textWrapping" value="TextWordWrap"/>
                 </widget>
                 <widget name="vendor" type="HbLabel">
-                    <sizehint height="expr(var(hb-param-text-height-secondary))" type="PREFERRED"/>
                     <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
+                    <enums name="textWrapping" value="TextWordWrap"/>
                 </widget>
                 <widget name="_driveInfo" type="HbLabel">
-                    <sizehint height="expr(var(hb-param-text-height-secondary))" type="PREFERRED"/>
                     <string locid="txt_applib_dialog_memory_in_use" name="plainText" value="Memory in use:"/>
                     <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
+                    <enums name="textWrapping" value="TextWordWrap"/>
                 </widget>
                 <widget name="driveInfo" type="HbLabel">
-                    <sizehint height="expr(var(hb-param-text-height-secondary))" type="PREFERRED"/>
+                    <string locid="txt_applib_dialog_1_device_memory" name="plainText" value="%1 Device memory"/>
                     <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
-                    <string locid="txt_applib_dialog_1_device_memory" name="plainText" value="%1 Device memory"/>
+                    <enums name="textWrapping" value="TextWordWrap"/>
                 </widget>
                 <widget name="_size" type="HbLabel">
-                    <sizehint height="expr(var(hb-param-text-height-secondary))" type="PREFERRED"/>
                     <string locid="txt_applib_dialog_size" name="plainText" value="Size:"/>
                     <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
+                    <enums name="textWrapping" value="TextWordWrap"/>
                 </widget>
                 <widget name="size" type="HbLabel">
-                    <sizehint height="expr(var(hb-param-text-height-secondary))" type="PREFERRED"/>
+                    <string locid="txt_applib_dialog_l1_kb" name="plainText" value="%L1 KB"/>
                     <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
-                    <string locid="txt_applib_dialog_l1_kb" name="plainText" value="%L1 KB"/>
+                    <enums name="textWrapping" value="TextWordWrap"/>
                 </widget>
                 <widget name="_type" type="HbLabel">
-                    <sizehint height="expr(var(hb-param-text-height-secondary))" type="PREFERRED"/>
                     <string locid="txt_applib_dialog_format" name="plainText" value="Format:"/>
                     <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
+                    <enums name="textWrapping" value="TextWordWrap"/>
                 </widget>
                 <widget name="type" type="HbLabel">
-                    <sizehint height="expr(var(hb-param-text-height-secondary))" type="PREFERRED"/>
                     <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
+                    <enums name="textWrapping" value="TextWordWrap"/>
                 </widget>
-                <sizehint type="PREFERRED" width="expr(var(hb-param-screen-width) )"/>
-                <layout orientation="Vertical" spacing="2px" type="linear">
+                <layout orientation="Vertical" spacing="var(hb-param-margin-gene-middle-vertical)" type="linear">
                     <linearitem itemname="_name"/>
                     <linearitem itemname="name"/>
                     <linearitem itemname="_version"/>
@@ -91,7 +89,123 @@
         </widget>
         <ref object="qtl_dialog_softkey_left" role="HbWidget:addAction"/>
     </widget>
-    <metadata activeUIState="Common ui state" display="NHD-3.2-inch_portrait" unit="un">
+    <section name="detailsDialogForJavaApplication">
+        <widget name="details_dialog" type="HbDialog">
+            <widget name="qtl_dialog_pri_heading" role="HbDialog:headingWidget" type="HbLabel">
+                <enums name="alignment" value="AlignLeft|AlignLeading"/>
+                <contentsmargins bottom="var(hb-param-margin-gene-popup)" left="var(hb-param-margin-gene-popup)" right="var(hb-param-margin-gene-popup)" top="var(hb-param-margin-gene-popup)"/>
+                <string locid="txt_applib_title_details" name="plainText" value="Details"/>
+                <fontspec name="fontSpec" role="Primary" textheight="var(hb-param-text-height-primary)"/>
+            </widget>
+            <widget name="scrollArea" role="HbDialog:contentWidget" type="HbScrollArea">
+                <widget name="scrollAreaContents" role="HbScrollArea:contents" type="HbWidget">
+                    <widget name="_name" type="HbLabel">
+                        <string locid="txt_applib_dialog_name" name="plainText" value="Name:"/>
+                        <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
+                        <enums name="textWrapping" value="TextWordWrap"/>
+                    </widget>
+                    <widget name="name" type="HbLabel">
+                        <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
+                        <enums name="textWrapping" value="TextWordWrap"/>
+                    </widget>
+                    <widget name="_version" type="HbLabel">
+                        <string locid="txt_applib_dialog_version" name="plainText" value="Version:"/>
+                        <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
+                        <enums name="textWrapping" value="TextWordWrap"/>
+                    </widget>
+                    <widget name="version" type="HbLabel">
+                        <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
+                        <enums name="textWrapping" value="TextWordWrap"/>
+                    </widget>
+                    <widget name="_vendor" type="HbLabel">
+                        <string locid="txt_applib_dialog_supplier" name="plainText" value="Supplier:"/>
+                        <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
+                        <enums name="textWrapping" value="TextWordWrap"/>
+                    </widget>
+                    <widget name="vendor" type="HbLabel">
+                        <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
+                        <enums name="textWrapping" value="TextWordWrap"/>
+                    </widget>
+                    <widget name="_driveInfo" type="HbLabel">
+                        <string locid="txt_applib_dialog_memory_in_use" name="plainText" value="Memory in use:"/>
+                        <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
+                        <enums name="textWrapping" value="TextWordWrap"/>
+                    </widget>
+                    <widget name="driveInfo" type="HbLabel">
+                        <string locid="txt_applib_dialog_1_device_memory" name="plainText" value="%1 Device memory"/>
+                        <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
+                        <enums name="textWrapping" value="TextWordWrap"/>
+                    </widget>
+                    <widget name="_protectiondomain" type="HbLabel">
+                        <string locid="txt_applib_dialog_protection_domain" name="plainText" value="Protection domain:"/>
+                        <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
+                        <enums name="textWrapping" value="TextWordWrap"/>
+                    </widget>
+                    <widget name="protectiondomain" type="HbLabel">
+                        <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
+                        <enums name="textWrapping" value="TextWordWrap"/>
+                    </widget>
+                    <widget name="_size" type="HbLabel">
+                        <string locid="txt_applib_dialog_size" name="plainText" value="Size:"/>
+                        <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
+                        <enums name="textWrapping" value="TextWordWrap"/>
+                    </widget>
+                    <widget name="size" type="HbLabel">
+                        <string locid="txt_applib_dialog_l1_kb" name="plainText" value="%L1 KB"/>
+                        <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
+                        <enums name="textWrapping" value="TextWordWrap"/>
+                    </widget>
+                    <widget name="_type" type="HbLabel">
+                        <string locid="txt_applib_dialog_format" name="plainText" value="Format:"/>
+                        <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
+                        <enums name="textWrapping" value="TextWordWrap"/>
+                    </widget>
+                    <widget name="type" type="HbLabel">
+                        <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
+                        <enums name="textWrapping" value="TextWordWrap"/>
+                    </widget>
+                    <widget name="_description" type="HbLabel">
+                        <string locid="txt_applib_dialog_description" name="plainText" value="Description:"/>
+                        <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
+                    </widget>
+                    <widget name="description" type="HbLabel">
+                        <enums name="textWrapping" value="TextWordWrap"/>
+                        <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
+                    </widget>
+                    <sizehint type="PREFERRED" width="expr(var(hb-param-screen-width) )"/>
+                    <layout orientation="Vertical" spacing="var(hb-param-margin-gene-middle-vertical)" type="linear">
+                        <linearitem itemname="_name"/>
+                        <linearitem itemname="name"/>
+                        <linearitem itemname="_version"/>
+                        <linearitem itemname="version"/>
+                        <linearitem itemname="_vendor"/>
+                        <linearitem itemname="vendor"/>
+                        <linearitem itemname="_driveInfo"/>
+                        <linearitem itemname="driveInfo"/>
+                        <linearitem itemname="_protectiondomain"/>
+                        <linearitem itemname="protectiondomain"/>
+                        <linearitem itemname="_size"/>
+                        <linearitem itemname="size"/>
+                        <linearitem itemname="_type"/>
+                        <linearitem itemname="type"/>
+                        <linearitem itemname="_description"/>
+                        <linearitem itemname="description"/>
+                    </layout>
+                </widget>
+            </widget>
+            <ref object="qtl_dialog_softkey_left" role="HbWidget:addAction"/>
+            <ref object="qtl_dialog_softkey_left" role="HbWidget:addAction"/>
+            <ref object="qtl_dialog_softkey_left" role="HbWidget:addAction"/>
+            <contentsmargins bottom="var(hb-param-margin-view-bottom)" left="var(hb-param-margin-view-left)" right="var(hb-param-margin-view-right)" top="var(hb-param-margin-view-top)"/>
+            <enums name="dismissPolicy" value="NoDismiss"/>
+            <ref object="qtl_dialog_softkey_left" role="HbWidget:addAction"/>
+            <ref object="qtl_dialog_softkey_left" role="HbWidget:addAction"/>
+            <ref object="qtl_dialog_softkey_left" role="HbWidget:addAction"/>
+            <ref object="qtl_dialog_softkey_left" role="HbWidget:addAction"/>
+        </widget>
+    </section>
+    <metadata activeUIState="Java dialog" display="NHD-3.2-inch_portrait" unit="un">
         <uistate name="Common ui state" sections="#common"/>
+        <uistate name="Java dialog" sections="#common detailsDialogForJavaApplication"/>
     </metadata>
 </hbdocument>