bluetoothengine/btui/btcpplugin/docml/bt-device-view.docml
branchRCL_3
changeset 23 9386f31cc85b
parent 22 613943a21004
child 24 269724087bed
equal deleted inserted replaced
22:613943a21004 23:9386f31cc85b
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <hbdocument version="1.1">
       
     3     <object name="menu_item_home" type="HbAction">
       
     4         <string name="text" value="Add to home screen"/>
       
     5     </object>
       
     6     <widget name="bt_device_view" type="HbView">
       
     7         <widget name="content" role="HbView:widget" type="HbWidget">
       
     8             <widget name="dataForm_deviceView" type="HbDataForm">
       
     9                 <real name="z" value="1"/>
       
    10                 <sizepolicy horizontalPolicy="Expanding" horizontalStretch="0" verticalPolicy="Preferred" verticalStretch="0"/>
       
    11                 <sizehint height="7.8806un" type="PREFERRED" width="53.73134un"/>
       
    12                 <string locid="txt_bt_subhead_bluetooth_device" name="heading" value="Bluetooth device"/>
       
    13             </widget>
       
    14             <widget name="deviceCategory" type="HbLabel">
       
    15                 <real name="z" value="3"/>
       
    16                 <sizepolicy horizontalPolicy="Preferred" horizontalStretch="0" verticalPolicy="Preferred" verticalStretch="0"/>
       
    17                 <sizehint height="var(hb-param-text-height-secondary)" type="PREFERRED" width="39.70149un"/>
       
    18                 <string name="plainText" value="Mobile Phone"/>
       
    19             </widget>
       
    20             <widget name="deviceStatus" type="HbLabel">
       
    21                 <real name="z" value="4"/>
       
    22                 <sizehint height="var(hb-param-text-height-secondary)" type="PREFERRED" width="39.70149un"/>
       
    23                 <string name="plainText" value="Paired Connected"/>
       
    24             </widget>
       
    25             <widget name="deviceName" type="HbLineEdit">
       
    26                 <real name="z" value="2"/>
       
    27                 <sizehint height="expr(var(hb-param-graphic-size-primary-large) )" type="PREFERRED" width="39.70149un"/>
       
    28                 <string name="text" value="Wang's N97"/>
       
    29             </widget>
       
    30             <widget name="deviceIcon" type="HbLabel">
       
    31                 <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
       
    32                 <icon iconName="qtg_large_mobile" name="icon"/>
       
    33                 <real name="z" value="1"/>
       
    34                 <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Preferred" verticalStretch="0"/>
       
    35                 <sizehint height="var(hb-param-graphic-size-primary-large)" type="PREFERRED" width="var(hb-param-graphic-size-primary-large)"/>
       
    36                 <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
       
    37             </widget>
       
    38             <widget name="connectionCombobox" type="HbDataForm">
       
    39                 <enums name="verticalScrollBarPolicy" value="ScrollBarAlwaysOff"/>
       
    40                 <enums name="horizontalScrollBarPolicy" value="ScrollBarAlwaysOff"/>
       
    41                 <enums name="selectionMode" value="NoSelection"/>
       
    42                 <real name="z" value="2"/>
       
    43                 <sizehint height="16.41791un" type="PREFERRED" width="53.73134un"/>
       
    44                 <string name="description"/>
       
    45                 <string name="heading"/>
       
    46             </widget>
       
    47             <widget name="pushButton_0" type="HbPushButton">
       
    48                 <icon iconName="qtg_mono_bt_unpair" name="icon"/>
       
    49                 <real name="z" value="5"/>
       
    50                 <sizehint height="9un" type="PREFERRED"/>
       
    51                 <enums name="orientation" value="Horizontal"/>
       
    52                 <string name="text" value="Unpair"/>
       
    53             </widget>
       
    54             <widget name="pushButton_1" type="HbPushButton">
       
    55                 <icon iconName="qtg_mono_disconnect" name="icon"/>
       
    56                 <real name="z" value="6"/>
       
    57                 <sizehint height="9un" type="PREFERRED"/>
       
    58                 <enums name="orientation" value="Horizontal"/>
       
    59                 <string name="text" value="Disconnect"/>
       
    60             </widget>
       
    61             <widget name="pushButton_2" type="HbPushButton">
       
    62                 <icon iconName="qtg_mono_settings" name="icon"/>
       
    63                 <real name="z" value="7"/>
       
    64                 <sizehint height="9un" type="PREFERRED"/>
       
    65                 <enums name="orientation" value="Horizontal"/>
       
    66                 <string name="text" value="Settings"/>
       
    67             </widget>
       
    68             <layout type="anchor">
       
    69                 <anchoritem dst="dataForm_deviceView" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
       
    70                 <anchoritem dst="dataForm_deviceView" dstEdge="TOP" spacing="0un" src="" srcEdge="TOP"/>
       
    71                 <anchoritem dst="dataForm_deviceView" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/>
       
    72                 <anchoritem dst="deviceIcon" dstEdge="LEFT" spacing="var(hb-param-margin-gene-left)" src="" srcEdge="LEFT"/>
       
    73                 <anchoritem dst="deviceIcon" dstEdge="TOP" spacing="var(hb-param-margin-gene-top)" src="dataForm_deviceView" srcEdge="BOTTOM"/>
       
    74                 <anchoritem dst="deviceName" dstEdge="LEFT" spacing="2un" src="deviceIcon" srcEdge="RIGHT"/>
       
    75                 <anchoritem dst="deviceName" dstEdge="TOP" spacing="var(hb-param-margin-gene-top)" src="dataForm_deviceView" srcEdge="BOTTOM"/>
       
    76                 <anchoritem dst="deviceName" dstEdge="RIGHT" spacing="-var(hb-param-margin-gene-right)" src="" srcEdge="RIGHT"/>
       
    77                 <anchoritem dst="deviceStatus" dstEdge="LEFT" spacing="12un" src="" srcEdge="LEFT"/>
       
    78                 <anchoritem dst="deviceStatus" dstEdge="TOP" spacing="var(hb-param-margin-gene-bottom)" src="deviceCategory" srcEdge="BOTTOM"/>
       
    79                 <anchoritem dst="deviceStatus" dstEdge="RIGHT" spacing="-var(hb-param-margin-gene-right)" src="" srcEdge="RIGHT"/>
       
    80                 <anchoritem dst="deviceCategory" dstEdge="LEFT" spacing="2un" src="deviceIcon" srcEdge="RIGHT"/>
       
    81                 <anchoritem dst="deviceCategory" dstEdge="TOP" spacing="var(hb-param-margin-gene-middle-vertical)" src="deviceName" srcEdge="BOTTOM"/>
       
    82                 <anchoritem dst="deviceCategory" dstEdge="RIGHT" spacing="-var(hb-param-margin-gene-right)" src="" srcEdge="RIGHT"/>
       
    83                 <anchoritem dst="pushButton_2" dstEdge="LEFT" spacing="expr(var(hb-param-margin-gene-left) )" src="" srcEdge="LEFT"/>
       
    84                 <anchoritem dst="pushButton_2" dstEdge="TOP" spacing="expr(var(hb-param-margin-gene-bottom) )" src="pushButton_1" srcEdge="BOTTOM"/>
       
    85                 <anchoritem dst="pushButton_2" dstEdge="RIGHT" spacing="-expr(var(hb-param-margin-gene-right) )" src="" srcEdge="RIGHT"/>
       
    86                 <anchoritem dst="connectionCombobox" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
       
    87                 <anchoritem dst="connectionCombobox" dstEdge="TOP" spacing="expr(var(hb-param-margin-gene-top) )" src="deviceStatus" srcEdge="BOTTOM"/>
       
    88                 <anchoritem dst="connectionCombobox" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/>
       
    89                 <anchoritem dst="pushButton_1" dstEdge="LEFT" spacing="expr(var(hb-param-margin-gene-left) )" src="" srcEdge="LEFT"/>
       
    90                 <anchoritem dst="pushButton_1" dstEdge="TOP" spacing="expr(var(hb-param-margin-gene-middle-vertical) )" src="pushButton_0" srcEdge="BOTTOM"/>
       
    91                 <anchoritem dst="pushButton_1" dstEdge="RIGHT" spacing="-expr(var(hb-param-margin-gene-right) )" src="" srcEdge="RIGHT"/>
       
    92                 <anchoritem dst="pushButton_0" dstEdge="LEFT" spacing="expr(var(hb-param-margin-gene-left) )" src="" srcEdge="LEFT"/>
       
    93                 <anchoritem dst="pushButton_0" dstEdge="TOP" spacing="expr(var(hb-param-margin-gene-top) )" src="connectionCombobox" srcEdge="BOTTOM"/>
       
    94                 <anchoritem dst="pushButton_0" dstEdge="RIGHT" spacing="-expr(var(hb-param-margin-gene-right) )" src="" srcEdge="RIGHT"/>
       
    95             </layout>
       
    96         </widget>
       
    97         <widget name="viewMenu" role="HbView:menu" type="HbMenu">
       
    98             <ref object="menu_item_home" role="HbWidget:addAction"/>
       
    99         </widget>
       
   100         <string locid="txt_cp_title_control_panel" name="title" value="Control Panel"/>
       
   101     </widget>
       
   102     <section name="landscape">
       
   103         <widget name="content" role="HbView:widget" type="HbWidget">
       
   104             <layout type="anchor">
       
   105                 <anchoritem dst="dataForm_deviceView" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
       
   106                 <anchoritem dst="dataForm_deviceView" dstEdge="TOP" spacing="0un" src="" srcEdge="TOP"/>
       
   107                 <anchoritem dst="dataForm_deviceView" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/>
       
   108                 <anchoritem dst="deviceIcon" dstEdge="LEFT" spacing="var(hb-param-margin-gene-left)" src="" srcEdge="LEFT"/>
       
   109                 <anchoritem dst="deviceIcon" dstEdge="TOP" spacing="var(hb-param-margin-gene-top)" src="dataForm_deviceView" srcEdge="BOTTOM"/>
       
   110                 <anchoritem dst="deviceName" dstEdge="LEFT" spacing="2un" src="deviceIcon" srcEdge="RIGHT"/>
       
   111                 <anchoritem dst="deviceName" dstEdge="TOP" spacing="var(hb-param-margin-gene-top)" src="dataForm_deviceView" srcEdge="BOTTOM"/>
       
   112                 <anchoritem dst="deviceName" dstEdge="RIGHT" spacing="-var(hb-param-margin-gene-right)" src="" srcEdge="RIGHT"/>
       
   113                 <anchoritem dst="deviceCategory" dstEdge="LEFT" spacing="2un" src="deviceIcon" srcEdge="RIGHT"/>
       
   114                 <anchoritem dst="deviceCategory" dstEdge="TOP" spacing="var(hb-param-margin-gene-middle-vertical)" src="deviceName" srcEdge="BOTTOM"/>
       
   115                 <anchoritem dst="deviceStatus" dstEdge="LEFT" spacing="expr(var(hb-param-margin-gene-middle-horizontal) )" src="deviceCategory" srcEdge="RIGHT"/>
       
   116                 <anchoritem dst="deviceStatus" dstEdge="TOP" spacing="expr(var(hb-param-margin-gene-middle-vertical) )" src="deviceName" srcEdge="BOTTOM"/>
       
   117                 <anchoritem dst="deviceStatus" dstEdge="RIGHT" spacing="-var(hb-param-margin-gene-right)" src="" srcEdge="RIGHT"/>
       
   118                 <anchoritem dst="connectionCombobox" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
       
   119                 <anchoritem dst="connectionCombobox" dstEdge="TOP" spacing="expr(var(hb-param-margin-gene-bottom)  )" src="deviceStatus" srcEdge="BOTTOM"/>
       
   120                 <anchoritem dst="connectionCombobox" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/>
       
   121                 <anchoritem dst="pushButton_0" dstEdge="LEFT" spacing="expr(var(hb-param-margin-gene-left) )" src="" srcEdge="LEFT"/>
       
   122                 <anchoritem dst="pushButton_0" dstEdge="TOP" spacing="expr(var(hb-param-margin-gene-top) )" src="connectionCombobox" srcEdge="BOTTOM"/>
       
   123                 <anchoritem dst="pushButton_0" dstEdge="RIGHT" spacing="-var(hb-param-margin-gene-right)" src="" srcEdge="CENTERH"/>
       
   124                 <anchoritem dst="pushButton_1" dstEdge="LEFT" spacing="var(hb-param-margin-gene-middle-horizontal)" src="pushButton_0" srcEdge="RIGHT"/>
       
   125                 <anchoritem dst="pushButton_1" dstEdge="TOP" spacing="expr(var(hb-param-margin-gene-top) )" src="connectionCombobox" srcEdge="BOTTOM"/>
       
   126                 <anchoritem dst="pushButton_1" dstEdge="RIGHT" spacing="-expr(var(hb-param-margin-gene-right) )" src="" srcEdge="RIGHT"/>
       
   127                 <anchoritem dst="pushButton_2" dstEdge="LEFT" spacing="expr(var(hb-param-margin-gene-left) )" src="" srcEdge="LEFT"/>
       
   128                 <anchoritem dst="pushButton_2" dstEdge="TOP" spacing="var(hb-param-margin-gene-middle-vertical)" src="pushButton_1" srcEdge="BOTTOM"/>
       
   129                 <anchoritem dst="pushButton_2" dstEdge="RIGHT" spacing="-expr(var(hb-param-margin-gene-right) )" src="" srcEdge="RIGHT"/>
       
   130             </layout>
       
   131         </widget>
       
   132     </section>
       
   133     <section name="portrait">
       
   134         <widget name="content" role="HbView:widget" type="HbWidget">
       
   135             <layout type="anchor">
       
   136                 <anchoritem dst="dataForm_deviceView" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
       
   137                 <anchoritem dst="dataForm_deviceView" dstEdge="TOP" spacing="0un" src="" srcEdge="TOP"/>
       
   138                 <anchoritem dst="dataForm_deviceView" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/>
       
   139                 <anchoritem dst="deviceIcon" dstEdge="LEFT" spacing="var(hb-param-margin-gene-left)" src="" srcEdge="LEFT"/>
       
   140                 <anchoritem dst="deviceIcon" dstEdge="TOP" spacing="var(hb-param-margin-gene-top)" src="dataForm_deviceView" srcEdge="BOTTOM"/>
       
   141                 <anchoritem dst="deviceName" dstEdge="LEFT" spacing="2un" src="deviceIcon" srcEdge="RIGHT"/>
       
   142                 <anchoritem dst="deviceName" dstEdge="TOP" spacing="var(hb-param-margin-gene-top)" src="dataForm_deviceView" srcEdge="BOTTOM"/>
       
   143                 <anchoritem dst="deviceName" dstEdge="RIGHT" spacing="-var(hb-param-margin-gene-right)" src="" srcEdge="RIGHT"/>
       
   144                 <anchoritem dst="deviceStatus" dstEdge="LEFT" spacing="12un" src="" srcEdge="LEFT"/>
       
   145                 <anchoritem dst="deviceStatus" dstEdge="TOP" spacing="var(hb-param-margin-gene-bottom)" src="deviceCategory" srcEdge="BOTTOM"/>
       
   146                 <anchoritem dst="deviceStatus" dstEdge="RIGHT" spacing="-var(hb-param-margin-gene-right)" src="" srcEdge="RIGHT"/>
       
   147                 <anchoritem dst="deviceCategory" dstEdge="LEFT" spacing="2un" src="deviceIcon" srcEdge="RIGHT"/>
       
   148                 <anchoritem dst="deviceCategory" dstEdge="TOP" spacing="var(hb-param-margin-gene-middle-vertical)" src="deviceName" srcEdge="BOTTOM"/>
       
   149                 <anchoritem dst="deviceCategory" dstEdge="RIGHT" spacing="-var(hb-param-margin-gene-right)" src="" srcEdge="RIGHT"/>
       
   150                 <anchoritem dst="pushButton_2" dstEdge="LEFT" spacing="expr(var(hb-param-margin-gene-left) )" src="" srcEdge="LEFT"/>
       
   151                 <anchoritem dst="pushButton_2" dstEdge="TOP" spacing="expr(var(hb-param-margin-gene-bottom) )" src="pushButton_1" srcEdge="BOTTOM"/>
       
   152                 <anchoritem dst="pushButton_2" dstEdge="RIGHT" spacing="-expr(var(hb-param-margin-gene-right) )" src="" srcEdge="RIGHT"/>
       
   153                 <anchoritem dst="connectionCombobox" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
       
   154                 <anchoritem dst="connectionCombobox" dstEdge="TOP" spacing="expr(var(hb-param-margin-gene-top) )" src="deviceStatus" srcEdge="BOTTOM"/>
       
   155                 <anchoritem dst="connectionCombobox" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/>
       
   156                 <anchoritem dst="pushButton_1" dstEdge="LEFT" spacing="expr(var(hb-param-margin-gene-left) )" src="" srcEdge="LEFT"/>
       
   157                 <anchoritem dst="pushButton_1" dstEdge="TOP" spacing="expr(var(hb-param-margin-gene-middle-vertical) )" src="pushButton_0" srcEdge="BOTTOM"/>
       
   158                 <anchoritem dst="pushButton_1" dstEdge="RIGHT" spacing="-expr(var(hb-param-margin-gene-right) )" src="" srcEdge="RIGHT"/>
       
   159                 <anchoritem dst="pushButton_0" dstEdge="LEFT" spacing="expr(var(hb-param-margin-gene-left) )" src="" srcEdge="LEFT"/>
       
   160                 <anchoritem dst="pushButton_0" dstEdge="TOP" spacing="expr(var(hb-param-margin-gene-top) )" src="connectionCombobox" srcEdge="BOTTOM"/>
       
   161                 <anchoritem dst="pushButton_0" dstEdge="RIGHT" spacing="-expr(var(hb-param-margin-gene-right) )" src="" srcEdge="RIGHT"/>
       
   162             </layout>
       
   163         </widget>
       
   164     </section>
       
   165     <metadata activeUIState="Common ui state" display="NHD-3.2-inch_portrait" unit="un">
       
   166         <uistate name="Common ui state" sections="#common"/>
       
   167         <uistate name="landscape" sections="#common landscape"/>
       
   168         <uistate name="portrait" sections="#common portrait"/>
       
   169     </metadata>
       
   170 </hbdocument>