deviceupdatesui/deviceupdates/resources/UpdateDialog.docml
changeset 24 408f75ba5bc2
equal deleted inserted replaced
21:c707676bf59f 24:408f75ba5bc2
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <hbdocument version="0.9">
       
     3     <object name="qtl_dialog_softkey_2_left" type="HbAction">
       
     4         <string name="role" value="HbDialog:primaryAction"/>
       
     5         <string name="role" value="HbDialog:primaryAction"/>
       
     6         <string name="text" value="OK"/>
       
     7     </object>
       
     8     <object name="qtl_dialog_softkey_2_right" type="HbAction">
       
     9         <string name="role" value="HbDialog:secondaryAction"/>
       
    10         <string name="role" value="HbDialog:secondaryAction"/>
       
    11         <string name="text" value="Cancel"/>
       
    12     </object>
       
    13     <widget name="UpdateDialog" type="HbDialog">
       
    14         <widget name="qtl_dialog_pri5_large_graphic" role="HbDialog:contentWidget" type="HbWidget">
       
    15             <widget name="icon" type="HbLabel">
       
    16                 <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
       
    17                 <icon iconName="note_warning" name="icon"/>
       
    18                 <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
       
    19                 <sizehint height="var(hb-param-graphic-size-primary-large)" type="FIXED" width="var(hb-param-graphic-size-primary-large)"/>
       
    20                 <bool name="visible" value="TRUE"/>
       
    21             </widget>
       
    22             <widget name="DialogText" type="HbLabel">
       
    23                 <enums name="textWrapping" value="TextWordWrap"/>
       
    24                 <bool name="visible" value="TRUE"/>
       
    25                 <string name="plainText" value="No server configured to get the updates. Please call customer care."/>
       
    26                 <fontspec name="fontSpec" role="Primary" textheight="var(hb-param-text-height-primary)"/>
       
    27             </widget>
       
    28             <real name="z" value="0"/>
       
    29             <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
       
    30             <layout orientation="Horizontal" spacing="var(hb-param-margin-gene-popup)" type="linear">
       
    31                 <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)"/>
       
    32                 <linearitem itemname="icon"/>
       
    33                 <linearitem itemname="DialogText"/>
       
    34             </layout>
       
    35         </widget>
       
    36         <sizehint height="17.46269un" type="PREFERRED" width="50.5un"/>
       
    37         <sizehint height="15un" type="MINIMUM"/>
       
    38         <sizehint height="25un" type="MAXIMUM"/>
       
    39     </widget>
       
    40     <metadata activeUIState="Common ui state" display="NHD portrait" unit="un">
       
    41         <uistate name="Common ui state" sections="#common"/>
       
    42     </metadata>
       
    43 </hbdocument>