homescreenapp/stateplugins/hsapplibrarystateplugin/resource/applibrary.docml
changeset 46 23b5d6a29cce
child 48 11a8fa9275d5
child 55 03646e8da489
equal deleted inserted replaced
39:4e8ebe173323 46:23b5d6a29cce
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <hbdocument version="0.9">
       
     3 
       
     4     <section name="commonDefinitions">
       
     5         <object name="allAppsAction" type="HbAction">
       
     6         <bool name="checkable" value="TRUE"/>
       
     7         <icon iconName="qtg_mono_applications_all" name="icon"/>
       
     8         </object>
       
     9         <object name="allCollectionsAction" type="HbAction">
       
    10             <bool name="checkable" value="TRUE"/>
       
    11             <icon iconName="qtg_mono_applications_collections" name="icon"/>
       
    12         </object>
       
    13         <object name="searchAction" type="HbAction">
       
    14             <icon iconName="qtg_mono_search" name="icon"/>
       
    15         </object>
       
    16         <object name="oviStoreAction" type="HbAction">
       
    17             <icon iconName="qtg_mono_ovistore" name="icon"/>
       
    18         </object>
       
    19         <object name="operatorAction" type="HbAction"/>
       
    20 
       
    21         <widget name="view" type="HbView">
       
    22             <widget name="container" role="HbView:widget" type="HbWidget">
       
    23                 <widget name="collectionLabel" type="HbGroupBox">
       
    24                     <sizehint height="6un" type="MAXIMUM" width="100un"/>
       
    25                     <string name="heading" value="."/>
       
    26                     <enums name="groupBoxType" value="GroupBoxSimpleLabel"/>
       
    27                     <bool name="marqueeHeading" value="TRUE"/>
       
    28                     <fontspec name="fontSpec" role="Title" textheight="0"/>
       
    29                     <bool name="visible" value="FALSE"/>
       
    30                 </widget>
       
    31                 <widget name="searchPanel" type="HbSearchPanel">
       
    32                     <bool name="progressive" value="TRUE"/>
       
    33                     <sizehint height="0un" type="MAXIMUM" width="0un"/>
       
    34                     <bool name="visible" value="FALSE"/>
       
    35                 </widget>
       
    36             </widget>
       
    37             <!--  no support for toolbar extensions, not defined in docml for now -->
       
    38             <!--widget name="toolBar" role="HbView:toolBar" type="HbToolBar">
       
    39                 <enums name="orientation" value="Horizontal"/>
       
    40                 <ref object="allAppsAction" role="HbToolBar:addAction"/>
       
    41                 <ref object="allCollectionsAction" role="HbToolBar:addAction"/>
       
    42                 <ref object="searchAction" role="HbToolBar:addAction"/>
       
    43                 <ref object="oviStoreAction" role="HbToolBar:addAction"/>
       
    44                 <ref object="operatorAction" role="HbToolBar:addAction"/>
       
    45                 <bool name="visible" value="FALSE"/>
       
    46             </widget-->
       
    47             <bool name="contentFullScreen" value="FALSE"/>
       
    48             <bool name="visible" value="FALSE"/>
       
    49         </widget>
       
    50     </section>
       
    51     <section name="allAppsViewDefinition">
       
    52         <widget name="allAppsView" type="HbView">
       
    53             <widget name="allAppsContainer" role="HbView:widget" type="HbWidget">
       
    54                 <widget name="allAppsListView" type="HbListView">
       
    55                     <widget name="listViewItemPrototype" role="HbListView:prototype" type="HbListViewItem">
       
    56                         <enums name="graphicsSize" value="Thumbnail"/>
       
    57                     </widget>
       
    58                     <bool name="itemRecycling" value="TRUE"/>
       
    59                     <enums name="horizontalScrollBarPolicy" value="ScrollBarAutoHide"/>
       
    60                     <sizehint height="100un" type="MAXIMUM" width="100un"/>
       
    61                     <bool name="frictionEnabled" value="TRUE"/>
       
    62                     <bool name="visible" value="TRUE"/>
       
    63 	        </widget>
       
    64                 <widget name="searchPanel" type="HbSearchPanel">
       
    65                     <sizehint height="0un" type="MAXIMUM" width="0un"/>
       
    66                     <bool name="visible" value="FALSE"/>
       
    67                 </widget>
       
    68 
       
    69                 <widget name="allAppsSearchListView" type="HbListView">
       
    70                     <bool name="visible" value="FALSE"/>
       
    71                 </widget>
       
    72                 <layout orientation="Vertical" type="linear">
       
    73                     <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
       
    74                     <linearitem itemname="allAppsListView"/>
       
    75                 </layout>
       
    76             </widget>
       
    77             <string locid="txt_applib_title_applications" name="title"/>
       
    78             <bool name="contentFullScreen" value="FALSE"/>
       
    79         </widget>
       
    80     </section>
       
    81     <section name="allAppsSearchViewDefinition">
       
    82         <widget name="allAppsView" type="HbView">
       
    83             <widget name="allAppsContainer" role="HbView:widget" type="HbWidget">
       
    84                 <widget name="searchPanel" type="HbSearchPanel">
       
    85                     <sizehint height="10un" type="MAXIMUM" width="100un"/>
       
    86                     <bool name="visible" value="TRUE"/>
       
    87                 </widget>
       
    88                 <widget name="allAppsListView" type="HbListView">
       
    89                     <sizehint height="0un" type="MAXIMUM" width="0un"/>
       
    90                     <bool name="visible" value="FALSE"/>
       
    91                 </widget>
       
    92                 <widget name="allAppsSearchListView" type="HbListView">
       
    93                     <widget name="listViewItemPrototype" role="HbListView:prototype" type="HbListViewItem">
       
    94                         <enums name="graphicsSize" value="Thumbnail"/>
       
    95                     </widget>
       
    96                     <bool name="itemRecycling" value="TRUE"/>
       
    97                     <enums name="horizontalScrollBarPolicy" value="ScrollBarAutoHide"/>
       
    98                     <sizehint height="100un" type="MAXIMUM" width="100un"/>
       
    99                     <bool name="frictionEnabled" value="TRUE"/>
       
   100                     <bool name="visible" value="TRUE"/>
       
   101                 </widget>
       
   102                 <layout orientation="Vertical" type="linear">
       
   103                     <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
       
   104                     <linearitem itemname="allAppsSearchListView"/>
       
   105                     <linearitem itemname="searchPanel"/>
       
   106                 </layout>
       
   107             </widget>
       
   108             <string locid="txt_applib_title_applications" name="title"/>
       
   109             <bool name="contentFullScreen" value="TRUE"/>
       
   110         </widget>
       
   111     </section>
       
   112     <section name="allCollectionsViewDefinition">
       
   113         <widget name="allCollectionsView" type="HbView">
       
   114             <widget name="allCollectionsContainer" role="HbView:widget" type="HbWidget">
       
   115                 <widget name="allCollectionsListView" type="HbListView">
       
   116                     <widget name="listViewItemPrototype" role="HbListView:prototype" type="HbListViewItem">
       
   117                         <enums name="graphicsSize" value="Thumbnail"/>
       
   118                     </widget>
       
   119                     <bool name="itemRecycling" value="TRUE"/>
       
   120                     <enums name="horizontalScrollBarPolicy" value="ScrollBarAutoHide"/>
       
   121                     <sizehint height="100un" type="MAXIMUM" width="100un"/>
       
   122                     <bool name="frictionEnabled" value="TRUE"/>
       
   123                     <bool name="visible" value="TRUE"/>
       
   124                 </widget>
       
   125                 <layout orientation="Vertical" type="linear">
       
   126                     <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
       
   127                     <linearitem itemname="allCollectionsListView"/>
       
   128                 </layout>
       
   129             </widget>
       
   130             <widget name="allCollectionsSearchListView" type="HbListView">
       
   131                 <sizehint height="0un" type="MAXIMUM" width="0un"/>
       
   132                 <bool name="visible" value="FALSE"/>
       
   133             </widget>
       
   134             <widget name="searchPanel" type="HbSearchPanel">
       
   135                 <sizehint height="0un" type="MAXIMUM" width="0un"/>
       
   136                 <bool name="visible" value="FALSE"/>
       
   137             </widget>
       
   138             <string locid="txt_applib_title_applications" name="title"/>
       
   139             <bool name="contentFullScreen" value="FALSE"/>
       
   140         </widget>
       
   141     </section>
       
   142     <section name="allCollectionsSearchViewDefinition">
       
   143         <widget name="allCollectionsView" type="HbView">
       
   144             <widget name="allCollectionsContainer" role="HbView:widget" type="HbWidget">
       
   145                 <widget name="searchPanel" type="HbSearchPanel">
       
   146                     <sizehint height="10un" type="MAXIMUM" width="100un"/>
       
   147                     <bool name="visible" value="TRUE"/>
       
   148                 </widget>
       
   149                 <widget name="allCollectionsListView" type="HbListView">
       
   150                     <sizehint height="0un" type="MAXIMUM" width="0un"/>
       
   151                     <bool name="visible" value="FALSE"/>
       
   152                 </widget>
       
   153                 <widget name="allCollectionsSearchListView" type="HbListView">
       
   154                     <widget name="listViewItemPrototype" role="HbListView:prototype" type="HbListViewItem">
       
   155                         <enums name="graphicsSize" value="Thumbnail"/>
       
   156                     </widget>
       
   157                     <bool name="itemRecycling" value="TRUE"/>
       
   158                     <enums name="horizontalScrollBarPolicy" value="ScrollBarAutoHide"/>
       
   159                     <sizehint height="100un" type="MAXIMUM" width="100un"/>
       
   160                     <bool name="frictionEnabled" value="TRUE"/>
       
   161                     <bool name="visible" value="TRUE"/>
       
   162                 </widget>
       
   163                 <layout orientation="Vertical" type="linear">
       
   164                     <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
       
   165                     <linearitem itemname="allCollectionsSearchListView"/>
       
   166                     <linearitem itemname="searchPanel"/>
       
   167                 </layout>
       
   168             </widget>
       
   169             <string locid="txt_applib_title_applications" name="title"/>
       
   170             <bool name="contentFullScreen" value="TRUE"/>
       
   171         </widget>
       
   172     </section>
       
   173     <section name="installedAppsViewDefinition">
       
   174         <widget name="installedAppsView" type="HbView">
       
   175             <widget name="installedAppsContainer" role="HbView:widget" type="HbWidget">
       
   176                 <widget name="installedAppsLabel" type="HbGroupBox">
       
   177                     <sizehint height="6un" type="MAXIMUM" width="100un"/>
       
   178                     <string name="heading" value="."/>
       
   179                     <enums name="groupBoxType" value="GroupBoxSimpleLabel"/>
       
   180                     <bool name="marqueeHeading" value="TRUE"/>
       
   181                     <fontspec name="fontSpec" role="Title" textheight="0"/>
       
   182                 </widget>
       
   183                 <widget name="installedAppsListView" type="HbListView">
       
   184                     <widget name="listViewItemPrototype" role="HbListView:prototype" type="HbListViewItem">
       
   185                         <enums name="graphicsSize" value="Thumbnail"/>
       
   186                     </widget>
       
   187                     <bool name="itemRecycling" value="TRUE"/>
       
   188                     <enums name="horizontalScrollBarPolicy" value="ScrollBarAutoHide"/>
       
   189                     <sizehint height="100un" type="MAXIMUM" width="100un"/>
       
   190                     <bool name="frictionEnabled" value="TRUE"/>
       
   191                     <bool name="visible" value="TRUE"/>
       
   192                 </widget>
       
   193                 <widget name="installedAppsSearchListView" type="HbListView">
       
   194                     <sizehint height="0un" type="MAXIMUM" width="0un"/>
       
   195                     <bool name="visible" value="FALSE"/>
       
   196                 </widget>
       
   197                 <widget name="searchPanel" type="HbSearchPanel">
       
   198                     <sizehint height="0un" type="MAXIMUM" width="0un"/>
       
   199                     <bool name="visible" value="FALSE"/>
       
   200                 </widget>
       
   201                 <layout orientation="Vertical" type="linear">
       
   202                     <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
       
   203                     <linearitem itemname="installedAppsLabel"/>
       
   204                     <linearitem itemname="installedAppsListView"/>
       
   205                 </layout>
       
   206             </widget>
       
   207             <string locid="txt_applib_title_applications" name="title"/>
       
   208             <bool name="contentFullScreen" value="FALSE"/>
       
   209         </widget>
       
   210     </section>
       
   211     <section name="installedAppsSearchViewDefinition">
       
   212         <widget name="installedAppsView" type="HbView">
       
   213             <widget name="installedAppsContainer" role="HbView:widget" type="HbWidget">
       
   214                 <widget name="installedAppsLabel" type="HbGroupBox">
       
   215                     <sizehint height="6un" type="MAXIMUM" width="100un"/>
       
   216                     <string name="heading" value="."/>
       
   217                     <bool name="marqueeHeading" value="TRUE"/>
       
   218                     <fontspec name="fontSpec" role="Title" textheight="0"/>
       
   219                 </widget>
       
   220                 <widget name="searchPanel" type="HbSearchPanel">
       
   221                     <sizehint height="10un" type="MAXIMUM" width="100un"/>
       
   222                     <bool name="visible" value="TRUE"/>
       
   223                 </widget>
       
   224                 <widget name="installedAppsListView" type="HbListView">
       
   225                     <sizehint height="0un" type="MAXIMUM" width="0un"/>
       
   226                     <bool name="visible" value="FALSE"/>
       
   227                 </widget>
       
   228                 <widget name="installedAppsSearchListView" type="HbListView">
       
   229                     <widget name="listViewItemPrototype" role="HbListView:prototype" type="HbListViewItem">
       
   230                         <enums name="graphicsSize" value="Thumbnail"/>
       
   231                     </widget>
       
   232                     <bool name="itemRecycling" value="TRUE"/>
       
   233                     <enums name="horizontalScrollBarPolicy" value="ScrollBarAutoHide"/>
       
   234                     <sizehint height="100un" type="MAXIMUM" width="100un"/>
       
   235                     <bool name="frictionEnabled" value="TRUE"/>
       
   236                     <bool name="visible" value="TRUE"/>
       
   237                 </widget>
       
   238                 <layout orientation="Vertical" type="linear">
       
   239                     <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
       
   240                     <linearitem itemname="installedAppsLabel"/>
       
   241                     <linearitem itemname="installedAppsSearchListView"/>
       
   242                     <linearitem itemname="searchPanel"/>
       
   243                 </layout>
       
   244             </widget>
       
   245             <string locid="txt_applib_title_applications" name="title"/>
       
   246             <bool name="contentFullScreen" value="TRUE"/>
       
   247         </widget>
       
   248     </section>
       
   249     <section name="collectionViewDefinition">
       
   250         <widget name="collectionView" type="HbView">
       
   251             <widget name="collectionContainer" role="HbView:widget" type="HbWidget">
       
   252                 <widget name="collectionLabel" type="HbGroupBox">
       
   253                     <sizehint height="6un" type="MAXIMUM" width="100un"/>
       
   254                     <bool name="visible" value="TRUE"/>
       
   255                 </widget>
       
   256                 <widget name="collectionListView" type="HbListView">
       
   257                     <widget name="listViewItemPrototype" role="HbListView:prototype" type="HbListViewItem">
       
   258                         <enums name="graphicsSize" value="Thumbnail"/>
       
   259                     </widget>
       
   260                     <bool name="itemRecycling" value="TRUE"/>
       
   261                     <enums name="horizontalScrollBarPolicy" value="ScrollBarAutoHide"/>
       
   262                     <sizehint height="100un" type="MAXIMUM" width="100un"/>
       
   263                     <bool name="frictionEnabled" value="TRUE"/>
       
   264                     <bool name="visible" value="TRUE"/>
       
   265                 </widget>
       
   266                 <widget name="collectionSearchListView" type="HbListView">
       
   267                     <sizehint height="0un" type="MAXIMUM" width="0un"/>
       
   268                     <bool name="visible" value="FALSE"/>
       
   269                 </widget>
       
   270                 <widget name="searchPanel" type="HbSearchPanel">
       
   271                     <sizehint height="0un" type="MAXIMUM" width="0un"/>
       
   272                     <bool name="visible" value="FALSE"/>
       
   273                 </widget>
       
   274                 <layout orientation="Vertical" type="linear">
       
   275                     <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
       
   276                     <linearitem itemname="collectionLabel"/>
       
   277                     <linearitem itemname="collectionListView"/>
       
   278                 </layout>
       
   279             </widget>
       
   280             <string locid="txt_applib_title_applications" name="title"/>
       
   281             <bool name="contentFullScreen" value="FALSE"/>
       
   282         </widget>
       
   283     </section>
       
   284     <section name="collectionSearchViewDefinition">
       
   285         <widget name="collectionView" type="HbView">
       
   286             <widget name="collectionContainer" role="HbView:widget" type="HbWidget">
       
   287                 <widget name="collectionLabel" type="HbGroupBox">
       
   288                     <sizehint height="6un" type="MAXIMUM" width="100un"/>
       
   289                     <bool name="visible" value="TRUE"/>
       
   290                 </widget>
       
   291                 <widget name="searchPanel" type="HbSearchPanel">
       
   292                     <bool name="visible" value="TRUE"/>
       
   293                     <sizehint height="10un" type="MAXIMUM" width="100un"/>
       
   294                 </widget>
       
   295                 <widget name="collectionListView" type="HbListView">
       
   296                     <sizehint height="0un" type="MAXIMUM" width="0un"/>
       
   297                     <bool name="visible" value="FALSE"/>
       
   298                 </widget>
       
   299                 <widget name="collectionSearchListView" type="HbListView">
       
   300                     <widget name="listViewItemPrototype" role="HbListView:prototype" type="HbListViewItem">
       
   301                         <enums name="graphicsSize" value="Thumbnail"/>
       
   302                     </widget>
       
   303                     <bool name="itemRecycling" value="TRUE"/>
       
   304                     <enums name="horizontalScrollBarPolicy" value="ScrollBarAutoHide"/>
       
   305                     <sizehint height="100un" type="MAXIMUM" width="100un"/>
       
   306                     <bool name="frictionEnabled" value="TRUE"/>
       
   307                     <bool name="visible" value="TRUE"/>
       
   308                 </widget>
       
   309                 <layout orientation="Vertical" type="linear">
       
   310                     <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
       
   311                     <linearitem itemname="collectionLabel"/>
       
   312                     <linearitem itemname="collectionSearchListView"/>
       
   313                     <linearitem itemname="searchPanel"/>
       
   314                 </layout>
       
   315             </widget>
       
   316             <string locid="txt_applib_title_applications" name="title"/>
       
   317             <bool name="contentFullScreen" value="TRUE"/>
       
   318         </widget>
       
   319     </section>
       
   320     <metadata activeUIState="Common ui state" display="NHD portrait" unit="un">
       
   321         <uistate name="Common ui state" sections="#common commonDefinition"/>
       
   322         <uistate name="all apps view state" sections="#common commonDefinition allAppsViewDefinition"/>
       
   323         <uistate name="all apps search view state" sections="#common commonDefinition allAppsSearchViewDefinition"/>
       
   324         <uistate name="all collections view state" sections="#common commonDefinition allCollectionsViewDefinition"/>
       
   325         <uistate name="all collections search view state" sections="#common commonDefinition allCollectionsSearchViewDefinition"/>
       
   326         <uistate name="installed apps view state" sections="#common commonDefinition installedAppsViewDefinition"/>
       
   327         <uistate name="installed apps search view state" sections="#common commonDefinition installedAppsSearchViewDefinition"/>
       
   328         <uistate name="collection view state" sections="#common commonDefinition collectionViewDefinition"/>
       
   329         <uistate name="collection search view state" sections="#common commonDefinition collectionSearchViewDefinition"/>
       
   330         <dummydata objectName="allAppsSearchListView" section="allAppsSearchViewDefinition" value="app_list_template4"/>
       
   331     </metadata>
       
   332 </hbdocument>