bluetoothengine/btui/btcpplugin/docml/bt-search-view.docml
changeset 47 9e2a905b887f
parent 42 b72428996822
child 51 625f43ae9362
equal deleted inserted replaced
45:b0aebde9b1fb 47:9e2a905b887f
    23         <string name="text" value="Disconnect"/>
    23         <string name="text" value="Disconnect"/>
    24     </object>
    24     </object>
    25     <widget name="bt_search_view" type="HbView">
    25     <widget name="bt_search_view" type="HbView">
    26         <widget name="search_view_content" role="HbView:widget" type="HbWidget">
    26         <widget name="search_view_content" role="HbView:widget" type="HbWidget">
    27             <widget name="search_container" type="HbWidget">
    27             <widget name="search_container" type="HbWidget">
    28                 <widget name="label_found_devices" type="HbLabel">
       
    29                     <real name="z" value="3"/>
       
    30                     <sizehint height="var(hb-param-graphic-size-primary-large)" type="PREFERRED" width="38.20896un"/>
       
    31                     <bool name="visible" value="TRUE"/>
       
    32                     <string locid="txt_bt_subhead_bluetooth_found_devices" name="plainText" value="Bluetooth - Found devices"/>
       
    33                 </widget>
       
    34                 <widget name="icon" type="HbLabel">
    28                 <widget name="icon" type="HbLabel">
    35                     <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
    29                     <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
    36                     <icon iconName="note_warning" name="icon"/>
    30                     <icon iconName="qtg_anim_small_loading.axml" name="icon"/>
    37                     <real name="z" value="2"/>
    31                     <real name="z" value="2"/>
    38                     <sizehint height="var(hb-param-graphic-size-primary-large)" type="PREFERRED" width="var(hb-param-graphic-size-primary-large)"/>
    32                     <sizehint height="var(hb-param-graphic-size-primary-large)" type="PREFERRED" width="var(hb-param-graphic-size-primary-large)"/>
    39                     <sizehint height="var(hb-param-graphic-size-primary-large)" type="MAXIMUM" width="var(hb-param-graphic-size-primary-large)"/>
    33                     <sizehint height="var(hb-param-graphic-size-primary-large)" type="MAXIMUM" width="var(hb-param-graphic-size-primary-large)"/>
    40                     <bool name="visible" value="TRUE"/>
    34                     <bool name="visible" value="TRUE"/>
    41                 </widget>
    35                 </widget>
    43                     <real name="z" value="3"/>
    37                     <real name="z" value="3"/>
    44                     <sizehint height="var(hb-param-graphic-size-primary-large)" type="PREFERRED" width="38.20896un"/>
    38                     <sizehint height="var(hb-param-graphic-size-primary-large)" type="PREFERRED" width="38.20896un"/>
    45                     <bool name="visible" value="TRUE"/>
    39                     <bool name="visible" value="TRUE"/>
    46                     <string locid="txt_bt_subhead_searching" name="plainText" value="Searching..."/>
    40                     <string locid="txt_bt_subhead_searching" name="plainText" value="Searching..."/>
    47                 </widget>
    41                 </widget>
       
    42                 <widget name="dataForm" type="HbDataForm">
       
    43                     <widget name="dataformviewItemPrototype" role="HbAbstractView:prototype" type="HbDataFormViewItem"/>
       
    44                     <real name="z" value="4"/>
       
    45                     <sizepolicy horizontalPolicy="Expanding" horizontalStretch="0" verticalPolicy="Expanding" verticalStretch="0"/>
       
    46                     <sizehint type="PREFERRED" width="25un"/>
       
    47                     <string locid="txt_bt_subhead_bluetooth_found_devices" name="heading" value="Found devices"/>
       
    48                 </widget>
    48                 <real name="z" value="0"/>
    49                 <real name="z" value="0"/>
    49                 <sizehint height="21un" type="PREFERRED" width="51.19403un"/>
    50                 <sizepolicy horizontalPolicy="Preferred" horizontalStretch="0" verticalPolicy="Expanding" verticalStretch="0"/>
       
    51                 <sizehint height="12.784un" type="PREFERRED" width="51.19403un"/>
       
    52                 <sizehint height="14.784un" type="MAXIMUM"/>
    50                 <bool name="visible" value="TRUE"/>
    53                 <bool name="visible" value="TRUE"/>
    51                 <layout type="anchor">
    54                 <layout type="anchor">
    52                     <anchoritem dst="label_found_devices" dstEdge="TOP" spacing="var(hb-param-margin-gene-top)" src="" srcEdge="TOP"/>
    55                     <anchoritem dst="dataForm" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
    53                     <anchoritem dst="label_found_devices" dstEdge="LEFT" spacing="var(hb-param-margin-gene-left)" src="" srcEdge="LEFT"/>
    56                     <anchoritem dst="dataForm" dstEdge="TOP" spacing="0un" src="" srcEdge="TOP"/>
    54                     <anchoritem dst="label_found_devices" dstEdge="RIGHT" spacing="-var(hb-param-margin-gene-right)" src="" srcEdge="RIGHT"/>
    57                     <anchoritem dst="dataForm" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/>
    55                     <anchoritem dst="icon" dstEdge="TOP" spacing="var(hb-param-margin-gene-top)" src="label_found_devices" srcEdge="BOTTOM"/>
    58                     <anchoritem dst="label_searching" dstEdge="LEFT" spacing="var(hb-param-margin-gene-left)" src="icon" srcEdge="RIGHT"/>
       
    59                     <anchoritem dst="label_searching" dstEdge="TOP" spacing="expr(var(hb-param-margin-gene-middle-vertical) )" src="dataForm" srcEdge="BOTTOM"/>
       
    60                     <anchoritem dst="label_searching" dstEdge="RIGHT" spacing="-var(hb-param-margin-gene-right)" src="" srcEdge="RIGHT"/>
       
    61                     <anchoritem dst="label_searching" dstEdge="BOTTOM" spacing="0un" src="" srcEdge="BOTTOM"/>
    56                     <anchoritem dst="icon" dstEdge="LEFT" spacing="var(hb-param-margin-gene-left)" src="" srcEdge="LEFT"/>
    62                     <anchoritem dst="icon" dstEdge="LEFT" spacing="var(hb-param-margin-gene-left)" src="" srcEdge="LEFT"/>
    57                     <anchoritem dst="icon" dstEdge="BOTTOM" spacing="-var(hb-param-margin-gene-bottom)" src="" srcEdge="BOTTOM"/>
    63                     <anchoritem dst="icon" dstEdge="TOP" spacing="expr(var(hb-param-margin-gene-top) )" src="dataForm" srcEdge="BOTTOM"/>
    58                     <anchoritem dst="label_searching" dstEdge="TOP" spacing="var(hb-param-margin-gene-top)" src="label_found_devices" srcEdge="BOTTOM"/>
    64                     <anchoritem dst="icon" dstEdge="BOTTOM" spacing="0un" src="" srcEdge="BOTTOM"/>
    59                     <anchoritem dst="label_searching" dstEdge="LEFT" spacing="var(hb-param-margin-gene-left)" src="icon" srcEdge="RIGHT"/>
       
    60                     <anchoritem dst="label_searching" dstEdge="BOTTOM" spacing="-var(hb-param-margin-gene-bottom)" src="" srcEdge="BOTTOM"/>
       
    61                     <anchoritem dst="label_searching" dstEdge="RIGHT" spacing="-var(hb-param-margin-gene-right)" src="" srcEdge="RIGHT"/>
       
    62                 </layout>
    65                 </layout>
    63             </widget>
    66             </widget>
    64             <widget name="toolBar" type="HbToolBar">
    67             <widget name="toolBar" type="HbToolBar">
    65                 <sizehint height="7.46269un" type="PREFERRED" width="22.38806un"/>
    68                 <sizehint height="7.46269un" type="PREFERRED" width="22.38806un"/>
    66                 <ref object="viewByAction" role="HbWidget:addAction"/>
    69                 <ref object="viewByAction" role="HbWidget:addAction"/>
    70             <widget name="deviceList" type="HbListView">
    73             <widget name="deviceList" type="HbListView">
    71                 <enums name="verticalScrollBarPolicy" value="ScrollBarAsNeeded"/>
    74                 <enums name="verticalScrollBarPolicy" value="ScrollBarAsNeeded"/>
    72                 <enums name="horizontalScrollBarPolicy" value="ScrollBarAsNeeded"/>
    75                 <enums name="horizontalScrollBarPolicy" value="ScrollBarAsNeeded"/>
    73             </widget>
    76             </widget>
    74             <real name="z" value="0"/>
    77             <real name="z" value="0"/>
    75             <layout orientation="Vertical" type="linear">
    78             <layout orientation="Vertical" spacing="0un" type="linear">
       
    79                 <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
    76                 <linearitem itemname="search_container"/>
    80                 <linearitem itemname="search_container"/>
    77                 <linearitem itemname="deviceList"/>
    81                 <linearitem itemname="deviceList"/>
    78                 <linearitem itemname="toolBar"/>
    82                 <linearitem itemname="toolBar"/>
    79             </layout>
    83             </layout>
    80         </widget>
    84         </widget>
    84         </widget>
    88         </widget>
    85         <string locid="txt_cp_title_control_panel" name="title" value="Control Panel"/>
    89         <string locid="txt_cp_title_control_panel" name="title" value="Control Panel"/>
    86         <real name="z" value="1"/>
    90         <real name="z" value="1"/>
    87     </widget>
    91     </widget>
    88     <section name="landscape">
    92     <section name="landscape">
       
    93         <widget name="label_searching" type="HbLabel">
       
    94             <sizepolicy horizontalPolicy="Expanding" horizontalStretch="0" verticalPolicy="Preferred" verticalStretch="0"/>
       
    95         </widget>
       
    96         <widget name="icon" type="HbLabel">
       
    97             <sizepolicy horizontalPolicy="Expanding" horizontalStretch="0" verticalPolicy="Preferred" verticalStretch="0"/>
       
    98         </widget>
       
    99         <widget name="dataForm" type="HbDataForm">
       
   100             <sizepolicy horizontalPolicy="Expanding" horizontalStretch="0" verticalPolicy="Expanding" verticalStretch="0"/>
       
   101             <sizehint type="PREFERRED" width="51.19403un"/>
       
   102         </widget>
    89         <widget name="search_container" type="HbWidget">
   103         <widget name="search_container" type="HbWidget">
    90             <sizehint height="10un" type="PREFERRED" width="51.19403un"/>
   104             <sizepolicy horizontalPolicy="Preferred" horizontalStretch="0" verticalPolicy="Ignored" verticalStretch="0"/>
       
   105             <sizehint height="12un" type="PREFERRED" width="51.19403un"/>
       
   106             <sizehint height="12.75un" type="MAXIMUM"/>
    91             <layout type="anchor">
   107             <layout type="anchor">
    92                 <anchoritem dst="label_found_devices" dstEdge="TOP" spacing="var(hb-param-margin-gene-top)" src="" srcEdge="TOP"/>
   108                 <anchoritem dst="icon" dstEdge="TOP" spacing="0un" src="" srcEdge="TOP"/>
    93                 <anchoritem dst="label_found_devices" dstEdge="LEFT" spacing="var(hb-param-margin-gene-left)" src="" srcEdge="LEFT"/>
   109                 <anchoritem dst="icon" dstEdge="BOTTOM" spacing="0un" src="" srcEdge="BOTTOM"/>
    94                 <anchoritem dst="label_found_devices" dstEdge="BOTTOM" spacing="-var(hb-param-margin-gene-bottom)" src="" srcEdge="BOTTOM"/>
   110                 <anchoritem dst="label_searching" dstEdge="BOTTOM" spacing="-var(hb-param-margin-gene-bottom)" src="" srcEdge="BOTTOM"/>
    95                 <anchoritem dst="icon" dstEdge="TOP" spacing="var(hb-param-margin-gene-top)" src="" srcEdge="TOP"/>
   111                 <anchoritem dst="label_searching" dstEdge="RIGHT" spacing="-var(hb-param-margin-gene-right)" src="" srcEdge="RIGHT"/>
    96                 <anchoritem dst="icon" dstEdge="LEFT" spacing="var(hb-param-margin-gene-left)" src="label_found_devices" srcEdge="RIGHT"/>
       
    97                 <anchoritem dst="icon" dstEdge="BOTTOM" spacing="-var(hb-param-margin-gene-bottom)" src="" srcEdge="BOTTOM"/>
       
    98                 <anchoritem dst="label_searching" dstEdge="TOP" spacing="var(hb-param-margin-gene-top)" src="" srcEdge="TOP"/>
   112                 <anchoritem dst="label_searching" dstEdge="TOP" spacing="var(hb-param-margin-gene-top)" src="" srcEdge="TOP"/>
    99                 <anchoritem dst="label_searching" dstEdge="LEFT" spacing="var(hb-param-margin-gene-left)" src="icon" srcEdge="RIGHT"/>
   113                 <anchoritem dst="label_searching" dstEdge="LEFT" spacing="var(hb-param-margin-gene-left)" src="icon" srcEdge="RIGHT"/>
   100                 <anchoritem dst="label_searching" dstEdge="BOTTOM" spacing="-var(hb-param-margin-gene-bottom)" src="" srcEdge="BOTTOM"/>
   114                 <anchoritem dst="icon" dstEdge="LEFT" spacing="0un" src="dataForm" srcEdge="RIGHT"/>
   101                 <anchoritem dst="label_searching" dstEdge="RIGHT" spacing="-var(hb-param-margin-gene-right)" src="" srcEdge="RIGHT"/>
   115                 <anchoritem dst="icon" dstEdge="RIGHT" spacing="0un" src="label_searching" srcEdge="LEFT"/>
       
   116                 <anchoritem dst="dataForm" dstEdge="RIGHT" spacing="0un" src="icon" srcEdge="LEFT"/>
       
   117                 <anchoritem dst="dataForm" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
       
   118                 <anchoritem dst="dataForm" dstEdge="TOP" spacing="0un" src="" srcEdge="TOP"/>
       
   119                 <anchoritem dst="dataForm" dstEdge="BOTTOM" spacing="0un" src="" srcEdge="BOTTOM"/>
   102             </layout>
   120             </layout>
   103         </widget>
   121         </widget>
   104     </section>
   122     </section>
   105     <metadata activeUIState="portrait_ui" display="NHD-3.2-inch_portrait" unit="un">
   123     <metadata activeUIState="landscape_ui" display="NHD-3.2-inch_landscape" unit="un">
   106         <uistate name="Common ui state" sections="#common"/>
   124         <uistate name="Common ui state" sections="#common"/>
   107         <uistate name="landscape_ui" sections="#common landscape"/>
   125         <uistate name="landscape_ui" sections="#common landscape"/>
   108         <uistate name="portrait_ui" sections="#common"/>
   126         <uistate name="portrait_ui" sections="#common"/>
   109         <uistate name="landscape" sections="#common landscape"/>
   127         <uistate name="landscape" sections="#common landscape"/>
   110         <dummydata objectName="deviceList" section="#common" value="0"/>
   128         <dummydata objectName="deviceList" section="#common" value="0"/>