camerauis/cameraapp/generic/common/data/CamSettings.ra
branchRCL_3
changeset 7 dbec5787fa68
parent 2 e8773a61782d
child 10 8c55c525d5d7
equal deleted inserted replaced
3:8b2d6d0384b0 7:dbec5787fa68
  1038 RESOURCE AVKON_SETTING_PAGE_EXTENSION r_setting_page_extension
  1038 RESOURCE AVKON_SETTING_PAGE_EXTENSION r_setting_page_extension
  1039     {
  1039     {
  1040     flags = KAknSettingPageNoEmbeddedSoftKeys;
  1040     flags = KAknSettingPageNoEmbeddedSoftKeys;
  1041     }
  1041     }
  1042 
  1042 
       
  1043 //----------------------------------------------------
       
  1044 //
       
  1045 //    r_cam_gssettings_quality_settings_page
       
  1046 //	  setting page resource for the quality slider
       
  1047 //
       
  1048 //----------------------------------------------------
       
  1049 //
       
  1050 RESOURCE AVKON_SETTING_PAGE r_cam_gssettings_quality_settings_page
       
  1051 	{
       
  1052 	// the type and editor resource are included so that the
       
  1053 	// settings page can be constructed without crashing but are not used
       
  1054 	// The custom quality control is used instead
       
  1055 	type = EAknCtPopupSettingList;
       
  1056 	editor_resource_id = r_cam_setting_listbox;
       
  1057 	softkey_resource = R_AVKON_SOFTKEYS_SELECT_CANCEL__SELECT;
       
  1058 	}
  1043 
  1059 
  1044 //----------------------------------------------------
  1060 //----------------------------------------------------
  1045 //
  1061 //
  1046 //    r_cam_settings_quality_settings_page
  1062 //    r_cam_settings_quality_settings_page
  1047 //	  setting page resource for the quality slider
  1063 //	  setting page resource for the quality slider
  1059 	extension = r_setting_page_extension;
  1075 	extension = r_setting_page_extension;
  1060 	}
  1076 	}
  1061 
  1077 
  1062 //----------------------------------------------------
  1078 //----------------------------------------------------
  1063 //
  1079 //
       
  1080 //    r_cam_gssettings_location_settings_page 
       
  1081 //   
       
  1082 //
       
  1083 //----------------------------------------------------
       
  1084 //
       
  1085 RESOURCE AVKON_SETTING_PAGE r_cam_gssettings_location_settings_page
       
  1086     {
       
  1087     // the type and editor resource are included so that the
       
  1088     // settings page can be constructed without crashing but are not used
       
  1089     // The custom quality control is used instead
       
  1090     type = EAknCtPopupSettingList;
       
  1091     editor_resource_id = r_cam_setting_listbox;  
       
  1092     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;            
       
  1093     }
       
  1094 
       
  1095 //----------------------------------------------------
       
  1096 //
  1064 //    r_cam_settings_location_settings_page   
  1097 //    r_cam_settings_location_settings_page   
  1065 //   
  1098 //   
  1066 //
  1099 //
  1067 //----------------------------------------------------
  1100 //----------------------------------------------------
  1068 //
  1101 //
  1079 
  1112 
  1080 // VIDEO SETTINGS RESOURCES
  1113 // VIDEO SETTINGS RESOURCES
  1081 
  1114 
  1082 //----------------------------------------------------
  1115 //----------------------------------------------------
  1083 //
  1116 //
  1084 //    r_cam_video_settings_item_list_camcorder
  1117 //    r_cam_video_gssettings_item_list_camcorder   
  1085 //
  1118 //
  1086 //----------------------------------------------------
  1119 //----------------------------------------------------
  1087 //
  1120 //
  1088 RESOURCE AVKON_SETTING_ITEM_LIST r_cam_video_settings_item_list_camcorder
  1121 RESOURCE AVKON_SETTING_ITEM_LIST r_cam_video_gssettings_item_list_camcorder
  1089 	{
  1122 	{
  1090 	items =
  1123 	items =
  1091 		{
  1124 		{
  1092     AVKON_SETTING_ITEM
  1125     AVKON_SETTING_ITEM
  1093 			{
  1126 			{
  1094 			identifier = ECamSettingItemVideoQuality;
  1127 			identifier = ECamSettingItemVideoQuality;
  1095 			setting_page_resource = r_cam_settings_quality_settings_page;
  1128 			setting_page_resource = r_cam_gssettings_quality_settings_page;
  1096 			associated_resource = r_cam_video_quality_texts;
  1129 			associated_resource = r_cam_video_quality_texts;
  1097 			name = qtn_lcam_sett_attr_vi_type;
  1130 			name = qtn_lcam_sett_attr_vi_type;
  1098 			},
  1131 			},
  1099     AVKON_SETTING_ITEM
  1132     AVKON_SETTING_ITEM
  1100 			{
  1133 			{
  1147 			}
  1180 			}
  1148 		};
  1181 		};
  1149 
  1182 
  1150 	}
  1183 	}
  1151 
  1184 
  1152 //----------------------------------------------------
  1185 
  1153 //
  1186 //----------------------------------------------------
  1154 //    r_cam_video_settings_with_location_item_list_camcorder
  1187 //
  1155 //
  1188 //    r_cam_video_settings_item_list_camcorder
  1156 //----------------------------------------------------
  1189 //
  1157 //
  1190 //----------------------------------------------------
  1158 RESOURCE AVKON_SETTING_ITEM_LIST r_cam_video_settings_with_location_item_list_camcorder
  1191 //
       
  1192 RESOURCE AVKON_SETTING_ITEM_LIST r_cam_video_settings_item_list_camcorder
       
  1193 	{
       
  1194 	items =
       
  1195 		{
       
  1196     AVKON_SETTING_ITEM
       
  1197 			{
       
  1198 			identifier = ECamSettingItemVideoQuality;
       
  1199 			setting_page_resource = r_cam_settings_quality_settings_page;
       
  1200 			associated_resource = r_cam_video_quality_texts;
       
  1201 			name = qtn_lcam_sett_attr_vi_type;
       
  1202 			},
       
  1203     AVKON_SETTING_ITEM
       
  1204 			{
       
  1205 			identifier = ECamSettingItemVideoStab;
       
  1206 			setting_page_resource = r_cam_settings_list_settings_page;
       
  1207 			associated_resource = r_cam_on_off_texts_vid_stable;
       
  1208 			name = qtn_lcam_sett_attr_vid_stable;
       
  1209 			},
       
  1210     AVKON_SETTING_ITEM
       
  1211           {
       
  1212           identifier            = ECamSettingItemVideoAudioRec;
       
  1213           setting_page_resource = r_cam_settings_list_settings_page;
       
  1214           associated_resource   = r_cam_texts_vid_audiomute_land;
       
  1215           name                  = qtn_lcam_sett_attr_audio_rec;
       
  1216           },
       
  1217 
       
  1218      AVKON_SETTING_ITEM
       
  1219 		 {
       
  1220           identifier            = ECamSettingItemContinuousAutofocus;  
       
  1221           setting_page_resource = r_cam_settings_list_settings_page;
       
  1222           associated_resource   = r_cam_texts_vid_continuous_af;
       
  1223           name                  = qtn_lcam_sett_attr_cont_af;
       
  1224           },
       
  1225      AVKON_SETTING_ITEM
       
  1226 			{
       
  1227 			identifier            = ECamSettingItemVideoShowCapturedVideo;
       
  1228 			setting_page_resource = r_cam_settings_list_settings_page;
       
  1229 			associated_resource   = r_cam_on_off_texts_vid_showcap_land;
       
  1230 			name                  = qtn_lcam_sett_attr_post_vi;
       
  1231 			},
       
  1232 
       
  1233 		AVKON_SETTING_ITEM
       
  1234 	    {
       
  1235       identifier = ECamSettingItemVideoNameBaseType;
       
  1236       setting_page_resource = r_cam_settings_list_settings_page;
       
  1237       associated_resource = r_cam_date_or_text_texts;
       
  1238       name = qtn_lcam_sett_attr_video_name;
       
  1239       },
       
  1240 		AVKON_SETTING_ITEM
       
  1241 			{
       
  1242 			identifier = ECamSettingItemVideoMediaStorage;
       
  1243 			setting_page_resource = r_cam_image_memory_selection_dialog;
       
  1244 			name = qtn_lcam_sett_attr_store;
       
  1245 			},
       
  1246 		AVKON_SETTING_ITEM
       
  1247 			{
       
  1248 			identifier = ECamSettingItemRestoreCameraSettings;
       
  1249 			setting_page_resource = r_cam_settings_list_settings_page;
       
  1250 			name = qtn_lcam_sett_attr_reset;
       
  1251 			}
       
  1252 		};
       
  1253 
       
  1254 	}
       
  1255 
       
  1256 //----------------------------------------------------
       
  1257 //
       
  1258 //    r_cam_video_gssettings_with_location_item_list_camcorder 
       
  1259 //
       
  1260 //----------------------------------------------------
       
  1261 //
       
  1262 RESOURCE AVKON_SETTING_ITEM_LIST r_cam_video_gssettings_with_location_item_list_camcorder
  1159     {
  1263     {
  1160     items =
  1264     items =
  1161         {
  1265         {
  1162     AVKON_SETTING_ITEM
  1266     AVKON_SETTING_ITEM
  1163             {
  1267             {
  1164             identifier = ECamSettingItemVideoQuality;
  1268             identifier = ECamSettingItemVideoQuality;
  1165             setting_page_resource = r_cam_settings_quality_settings_page;
  1269             setting_page_resource = r_cam_gssettings_quality_settings_page;
  1166             associated_resource = r_cam_video_quality_texts;
  1270             associated_resource = r_cam_video_quality_texts;
  1167             name = qtn_lcam_sett_attr_vi_type;
  1271             name = qtn_lcam_sett_attr_vi_type;
  1168             },
  1272             },
  1169     AVKON_SETTING_ITEM
  1273     AVKON_SETTING_ITEM
  1170             {
  1274             {
  1171             identifier = ECamSettingItemRecLocation;
  1275             identifier = ECamSettingItemRecLocation;
  1172             // The quality page resource is used to prevent crashing in the construction phase
  1276             // The quality page resource is used to prevent crashing in the construction phase
  1173             // The type and editor resource are included but are not used
  1277             // The type and editor resource are included but are not used
  1174             // The custom quality control is used instead
  1278             // The custom quality control is used instead
  1175             setting_page_resource = r_cam_settings_location_settings_page;
  1279             setting_page_resource = r_cam_gssettings_location_settings_page;
  1176             associated_resource = r_cam_photo_location_texts;
  1280             associated_resource = r_cam_photo_location_texts;
  1177             name = qtn_lcam_sett_attr_rec_location;
  1281             name = qtn_lcam_sett_attr_rec_location;
  1178             },
  1282             },
  1179     AVKON_SETTING_ITEM
  1283     AVKON_SETTING_ITEM
  1180             {
  1284             {
  1229 
  1333 
  1230     }
  1334     }
  1231 
  1335 
  1232 //----------------------------------------------------
  1336 //----------------------------------------------------
  1233 //
  1337 //
       
  1338 //    r_cam_video_settings_with_location_item_list_camcorder
       
  1339 //
       
  1340 //----------------------------------------------------
       
  1341 //
       
  1342 RESOURCE AVKON_SETTING_ITEM_LIST r_cam_video_settings_with_location_item_list_camcorder
       
  1343     {
       
  1344     items =
       
  1345         {
       
  1346     AVKON_SETTING_ITEM
       
  1347             {
       
  1348             identifier = ECamSettingItemVideoQuality;
       
  1349             setting_page_resource = r_cam_settings_quality_settings_page;
       
  1350             associated_resource = r_cam_video_quality_texts;
       
  1351             name = qtn_lcam_sett_attr_vi_type;
       
  1352             },
       
  1353     AVKON_SETTING_ITEM
       
  1354             {
       
  1355             identifier = ECamSettingItemRecLocation;
       
  1356             // The quality page resource is used to prevent crashing in the construction phase
       
  1357             // The type and editor resource are included but are not used
       
  1358             // The custom quality control is used instead
       
  1359             setting_page_resource = r_cam_settings_location_settings_page;
       
  1360             associated_resource = r_cam_photo_location_texts;
       
  1361             name = qtn_lcam_sett_attr_rec_location;
       
  1362             },
       
  1363     AVKON_SETTING_ITEM
       
  1364             {
       
  1365             identifier = ECamSettingItemVideoStab;
       
  1366             setting_page_resource = r_cam_settings_list_settings_page;
       
  1367             associated_resource = r_cam_on_off_texts_vid_stable;
       
  1368             name = qtn_lcam_sett_attr_vid_stable;
       
  1369             },
       
  1370     AVKON_SETTING_ITEM
       
  1371       {
       
  1372       identifier            = ECamSettingItemVideoAudioRec;
       
  1373       setting_page_resource = r_cam_settings_list_settings_page;
       
  1374       associated_resource   = r_cam_texts_vid_audiomute_land;
       
  1375       name                  = qtn_lcam_sett_attr_audio_rec;
       
  1376       },
       
  1377     AVKON_SETTING_ITEM   
       
  1378           {
       
  1379           identifier            = ECamSettingItemContinuousAutofocus;  
       
  1380           setting_page_resource = r_cam_settings_list_settings_page;
       
  1381           associated_resource   = r_cam_texts_vid_continuous_af;
       
  1382           name                  = qtn_lcam_sett_attr_cont_af;
       
  1383           },
       
  1384  
       
  1385     AVKON_SETTING_ITEM
       
  1386             {
       
  1387             identifier            = ECamSettingItemVideoShowCapturedVideo;
       
  1388             setting_page_resource = r_cam_settings_list_settings_page;
       
  1389             associated_resource   = r_cam_on_off_texts_vid_showcap_land;
       
  1390             name                  = qtn_lcam_sett_attr_post_vi;
       
  1391             },
       
  1392 
       
  1393         AVKON_SETTING_ITEM
       
  1394         {
       
  1395       identifier = ECamSettingItemVideoNameBaseType;
       
  1396       setting_page_resource = r_cam_settings_list_settings_page;
       
  1397       associated_resource = r_cam_date_or_text_texts;
       
  1398       name = qtn_lcam_sett_attr_video_name;
       
  1399       },
       
  1400         AVKON_SETTING_ITEM
       
  1401             {
       
  1402             identifier = ECamSettingItemVideoMediaStorage;
       
  1403             setting_page_resource = r_cam_image_memory_selection_dialog;
       
  1404             name = qtn_lcam_sett_attr_store;
       
  1405             },
       
  1406         AVKON_SETTING_ITEM
       
  1407             {
       
  1408             identifier = ECamSettingItemRestoreCameraSettings;
       
  1409             setting_page_resource = r_cam_settings_list_settings_page;
       
  1410             name = qtn_lcam_sett_attr_reset;
       
  1411             }
       
  1412         };
       
  1413 
       
  1414     }
       
  1415 
       
  1416 //----------------------------------------------------
       
  1417 //
  1234 //    r_cam_video_settings_item_list_portrait
  1418 //    r_cam_video_settings_item_list_portrait
  1235 //
  1419 //
  1236 //----------------------------------------------------
  1420 //----------------------------------------------------
  1237 //
  1421 //
  1238 RESOURCE AVKON_SETTING_ITEM_LIST r_cam_video_settings_item_list_portrait
  1422 RESOURCE AVKON_SETTING_ITEM_LIST r_cam_video_settings_item_list_portrait
  1435     flags = 0;
  1619     flags = 0;
  1436     }
  1620     }
  1437 
  1621 
  1438 //----------------------------------------------------
  1622 //----------------------------------------------------
  1439 //
  1623 //
       
  1624 //    r_cam_photo_gssettings_item_list_camcorder 
       
  1625 //
       
  1626 //----------------------------------------------------
       
  1627 //
       
  1628 
       
  1629 RESOURCE AVKON_SETTING_ITEM_LIST
       
  1630 r_cam_photo_gssettings_item_list_camcorder
       
  1631 	{
       
  1632 	items =
       
  1633 		{
       
  1634 		AVKON_SETTING_ITEM
       
  1635 			{
       
  1636 			identifier = ECamSettingItemPhotoQuality;
       
  1637 			setting_page_resource = r_cam_gssettings_quality_settings_page;
       
  1638 			associated_resource = r_cam_photo_quality_texts;
       
  1639 			name = qtn_lcam_sett_attr_quality;
       
  1640 			},
       
  1641 
       
  1642     AVKON_SETTING_ITEM
       
  1643 			{
       
  1644 			identifier            = ECamSettingItemShowCapturedPhoto;
       
  1645 			setting_page_resource = r_cam_settings_list_settings_page;
       
  1646 			associated_resource   = r_cam_on_off_texts_img_showcap_land;
       
  1647 			name                  = qtn_lcam_sett_attr_post_ph;
       
  1648 			},
       
  1649 
       
  1650 		AVKON_SETTING_ITEM
       
  1651 			{
       
  1652       identifier = ECamSettingItemPhotoNameBaseType;
       
  1653       setting_page_resource = r_cam_settings_list_settings_page;
       
  1654       associated_resource = r_cam_date_or_text_texts;
       
  1655       name = qtn_lcam_sett_attr_name_base;
       
  1656       },
       
  1657 
       
  1658       // If optical zoom is supported, could use setting for digital zoom only.
       
  1659       // If optical zoom not supported, this setting is needed for extended zoom only.
       
  1660 
       
  1661 	AVKON_SETTING_ITEM
       
  1662 			{
       
  1663 			identifier            = ECamSettingItemPhotoDigitalZoom;
       
  1664 			setting_page_resource = r_cam_settings_list_settings_page;
       
  1665 			associated_resource   = r_cam_ext_zoom_texts;
       
  1666 			name                  = qtn_lcam_sett_attr_zoom;         // "Extended digital zoom"
       
  1667 			},
       
  1668     AVKON_SETTING_ITEM
       
  1669 			{
       
  1670 			identifier = ECamSettingItemPhotoCaptureTone;
       
  1671 			setting_page_resource = r_cam_settings_list_settings_page;
       
  1672 			associated_resource = r_cam_capture_tone_list_texts;
       
  1673 			name = qtn_lcam_sett_attr_tone;
       
  1674 			},
       
  1675 		AVKON_SETTING_ITEM
       
  1676 			{
       
  1677 			identifier            = ECamSettingItemImageRotation;
       
  1678 			setting_page_resource = r_cam_settings_list_settings_page;
       
  1679 			associated_resource   = r_cam_on_off_texts_img_rotate;
       
  1680 			name                  = qtn_lcam_sett_attr_tsensor;
       
  1681 			},
       
  1682 		AVKON_SETTING_ITEM
       
  1683 			{
       
  1684 			identifier = ECamSettingItemPhotoMediaStorage;
       
  1685 			setting_page_resource = r_cam_image_memory_selection_dialog;
       
  1686 			name = qtn_lcam_sett_attr_store;
       
  1687 			},
       
  1688 		AVKON_SETTING_ITEM
       
  1689 			{
       
  1690 			identifier = ECamSettingItemRestoreCameraSettings;
       
  1691 			setting_page_resource = r_cam_settings_list_settings_page;
       
  1692 			name = qtn_lcam_sett_attr_reset;
       
  1693 			}
       
  1694 		};
       
  1695 	} 
       
  1696 
       
  1697 //----------------------------------------------------
       
  1698 //
  1440 //    r_cam_photo_settings_item_list_camcorder
  1699 //    r_cam_photo_settings_item_list_camcorder
  1441 //
  1700 //
  1442 //----------------------------------------------------
  1701 //----------------------------------------------------
  1443 //
  1702 //
  1444 
  1703 
  1507 			setting_page_resource = r_cam_settings_list_settings_page;
  1766 			setting_page_resource = r_cam_settings_list_settings_page;
  1508 			name = qtn_lcam_sett_attr_reset;
  1767 			name = qtn_lcam_sett_attr_reset;
  1509 			}
  1768 			}
  1510 		};
  1769 		};
  1511 	}
  1770 	}
       
  1771 
       
  1772 
       
  1773 //----------------------------------------------------
       
  1774 //
       
  1775 //    r_cam_photo_gssettings_with_location_item_list_camcorder
       
  1776 //
       
  1777 //----------------------------------------------------
       
  1778 //
       
  1779 RESOURCE AVKON_SETTING_ITEM_LIST
       
  1780 r_cam_photo_gssettings_with_location_item_list_camcorder
       
  1781     {
       
  1782     items =
       
  1783         {
       
  1784         AVKON_SETTING_ITEM
       
  1785             {
       
  1786             identifier = ECamSettingItemPhotoQuality;
       
  1787             setting_page_resource = r_cam_gssettings_quality_settings_page;
       
  1788             associated_resource = r_cam_photo_quality_texts;
       
  1789             name = qtn_lcam_sett_attr_quality;
       
  1790             },
       
  1791         AVKON_SETTING_ITEM
       
  1792             {
       
  1793             identifier = ECamSettingItemRecLocation;
       
  1794             // The quality page resource is used to prevent crashing in the construction phase
       
  1795             // The type and editor resource are included but are not used
       
  1796             // The custom quality control is used instead
       
  1797             setting_page_resource = r_cam_gssettings_location_settings_page;
       
  1798             associated_resource = r_cam_photo_location_texts;
       
  1799             name = qtn_lcam_sett_attr_rec_location;
       
  1800             },
       
  1801     AVKON_SETTING_ITEM
       
  1802             {
       
  1803             identifier            = ECamSettingItemShowCapturedPhoto;
       
  1804             setting_page_resource = r_cam_settings_list_settings_page;
       
  1805             associated_resource   = r_cam_on_off_texts_img_showcap_land;
       
  1806             name                  = qtn_lcam_sett_attr_post_ph;
       
  1807             },
       
  1808         AVKON_SETTING_ITEM
       
  1809             {
       
  1810             identifier = ECamSettingItemPhotoNameBaseType;
       
  1811             setting_page_resource = r_cam_settings_list_settings_page;
       
  1812             associated_resource = r_cam_date_or_text_texts;
       
  1813             name = qtn_lcam_sett_attr_name_base;
       
  1814             },
       
  1815 
       
  1816       // If optical zoom is supported, could use setting for digital zoom only.
       
  1817       // If optical zoom not supported, this setting is needed for extended zoom only.
       
  1818 
       
  1819     AVKON_SETTING_ITEM
       
  1820             {
       
  1821             identifier            = ECamSettingItemPhotoDigitalZoom;
       
  1822             setting_page_resource = r_cam_settings_list_settings_page;
       
  1823             associated_resource   = r_cam_ext_zoom_texts;
       
  1824             name                  = qtn_lcam_sett_attr_zoom;         // "Extended digital zoom"
       
  1825             },
       
  1826     AVKON_SETTING_ITEM
       
  1827             {
       
  1828             identifier = ECamSettingItemPhotoCaptureTone;
       
  1829             setting_page_resource = r_cam_settings_list_settings_page;
       
  1830             associated_resource = r_cam_capture_tone_list_texts;
       
  1831             name = qtn_lcam_sett_attr_tone;
       
  1832             },
       
  1833         AVKON_SETTING_ITEM
       
  1834             {
       
  1835             identifier            = ECamSettingItemImageRotation;
       
  1836             setting_page_resource = r_cam_settings_list_settings_page;
       
  1837             associated_resource   = r_cam_on_off_texts_img_rotate;
       
  1838             name                  = qtn_lcam_sett_attr_tsensor;
       
  1839             },
       
  1840         AVKON_SETTING_ITEM
       
  1841             {
       
  1842             identifier = ECamSettingItemPhotoMediaStorage;
       
  1843             setting_page_resource = r_cam_image_memory_selection_dialog;
       
  1844             name = qtn_lcam_sett_attr_store;
       
  1845             },
       
  1846         AVKON_SETTING_ITEM
       
  1847             {
       
  1848             identifier = ECamSettingItemRestoreCameraSettings;
       
  1849             setting_page_resource = r_cam_settings_list_settings_page;
       
  1850             name = qtn_lcam_sett_attr_reset;
       
  1851             }
       
  1852         };
       
  1853     }
  1512 
  1854 
  1513 
  1855 
  1514 //----------------------------------------------------
  1856 //----------------------------------------------------
  1515 //
  1857 //
  1516 //    r_cam_photo_settings_with_location_item_list_camcorder
  1858 //    r_cam_photo_settings_with_location_item_list_camcorder