bluetoothengine/btui/btcpplugin/docml/bt-device-view.docml
changeset 41 0b2439c3e397
parent 40 997690c3397a
child 52 4545c04e61e1
equal deleted inserted replaced
40:997690c3397a 41:0b2439c3e397
     1 <?xml version="1.0" encoding="UTF-8"?>
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <hbdocument version="1.1">
     2 <hbdocument version="1.1">
     3     <object name="Menu_item_exit" type="HbAction">
     3     <object name="Menu_item_exit" type="HbAction">
     4         <string name="text" value="Exit"/>
     4         <string locid="txt_common_opt_exit" name="text" value="Exit"/>
     5     </object>
     5     </object>
     6     <widget name="bt_device_view" type="HbView">
     6     <widget name="bt_device_view" type="HbView">
     7         <widget name="content" role="HbView:widget" type="HbWidget">
     7         <widget name="content" role="HbView:widget" type="HbWidget">
     8             <widget name="groupBox_deviceView" type="HbGroupBox">
     8             <widget name="groupBox_deviceView" type="HbGroupBox">
     9                 <real name="z" value="1"/>
     9                 <real name="z" value="1"/>
    95             </layout>
    95             </layout>
    96         </widget>
    96         </widget>
    97         <widget name="viewMenu" role="HbView:menu" type="HbMenu">
    97         <widget name="viewMenu" role="HbView:menu" type="HbMenu">
    98             <ref object="Menu_item_exit" role="HbWidget:addAction"/>
    98             <ref object="Menu_item_exit" role="HbWidget:addAction"/>
    99         </widget>
    99         </widget>
   100         <string name="title" value="Control Panel"/>
   100         <string locid="txt_cp_title_control_panel" name="title" value="Control Panel"/>
   101     </widget>
   101     </widget>
   102     <section name="landscape">
   102     <section name="landscape">
   103         <widget name="content" role="HbView:widget" type="HbWidget">
   103         <widget name="content" role="HbView:widget" type="HbWidget">
   104             <layout type="anchor">
   104             <layout type="anchor">
   105                 <anchoritem dst="groupBox_deviceView" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
   105                 <anchoritem dst="groupBox_deviceView" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
   129                 <anchoritem dst="pushButton_2" dstEdge="RIGHT" spacing="expr(-var(hb-param-margin-gene-right) )" src="" srcEdge="RIGHT"/>
   129                 <anchoritem dst="pushButton_2" dstEdge="RIGHT" spacing="expr(-var(hb-param-margin-gene-right) )" src="" srcEdge="RIGHT"/>
   130             </layout>
   130             </layout>
   131         </widget>
   131         </widget>
   132     </section>
   132     </section>
   133     <section name="portrait">
   133     <section name="portrait">
   134         <widget name="connectionCombobox" type="HbDataForm">
   134     	<widget name="content" role="HbView:widget" type="HbWidget">
   135             <enums name="selectionMode" value="NoSelection"/>
   135     		<layout type="anchor">
   136         </widget>
   136                 <anchoritem dst="groupBox_deviceView" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
       
   137                 <anchoritem dst="groupBox_deviceView" dstEdge="TOP" spacing="0un" src="" srcEdge="TOP"/>
       
   138                 <anchoritem dst="groupBox_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="groupBox_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="groupBox_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>
   137     </section>
   164     </section>
   138     <metadata activeUIState="Common ui state" display="NHD-3.2-inch_portrait" unit="un">
   165     <metadata activeUIState="Common ui state" display="NHD-3.2-inch_portrait" unit="un">
   139         <uistate name="Common ui state" sections="#common"/>
   166         <uistate name="Common ui state" sections="#common"/>
   140         <uistate name="landscape" sections="#common landscape"/>
   167         <uistate name="landscape" sections="#common landscape"/>
   141         <uistate name="portrait" sections="#common portrait"/>
   168         <uistate name="portrait" sections="#common portrait"/>