uidesigner/com.nokia.sdt.test.componentlibrary/components/testing/TestCEikLabel.component
changeset 0 fb279309251b
equal deleted inserted replaced
-1:000000000000 0:fb279309251b
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <!-- Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). -->
       
     3 <!-- All rights reserved.                                              -->
       
     4 <!-- This component and the accompanying materials are made available  -->
       
     5 <!-- under the terms of the License "Eclipse Public License v1.0"      -->
       
     6 <!-- which accompanies this distribution, and is available             -->
       
     7 <!-- at the URL "http://www.eclipse.org/legal/epl-v10.html".           -->
       
     8 
       
     9 <componentDefinition xmlns="http://www.nokia.com/sdt/emf/component" 
       
    10 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
       
    11 	<enumPropertyDeclaration qualifiedName="com.nokia.examples.CEikLabel.HAlignment">
       
    12 		<enumElement value="EEikLabelAlignHLeft" displayValue="left"/>
       
    13 		<enumElement value="EEikLabelAlignHCenter" displayValue="center"/>
       
    14 		<enumElement value="EEikLabelAlignHRight" displayValue="right"/>
       
    15 	</enumPropertyDeclaration>
       
    16 
       
    17 	<enumPropertyDeclaration qualifiedName="com.nokia.examples.CEikLabel.NumericHacks">
       
    18 		<enumElement value="-1" displayValue="NegOne"/>
       
    19 		<enumElement value="0" displayValue="Zero"/>
       
    20 		<enumElement value="1" displayValue="One"/>
       
    21 	</enumPropertyDeclaration>
       
    22 
       
    23 	<enumPropertyDeclaration qualifiedName="com.nokia.examples.CEikLabel.TextEmphasis">
       
    24 		<enumElement value="ENoEmphasis" displayValue="%none"/>
       
    25 		<enumElement value="EPartialEmphasis" displayValue="partial"/>
       
    26 		<enumElement value="EFullEmphasis" displayValue="full"/>
       
    27 	</enumPropertyDeclaration>
       
    28 
       
    29 	<enumPropertyDeclaration qualifiedName="com.nokia.examples.CEikLabel.StandardFont">
       
    30 		<enumElement value="NormalFont" displayValue="normal"/>
       
    31 		<enumElement value="LegendFont" displayValue="legend"/>
       
    32 		<enumElement value="AnnotationFont" displayValue="annotation"/>
       
    33 	</enumPropertyDeclaration>
       
    34 	
       
    35 	<component  
       
    36 		qualifiedName="com.nokia.examples.CEikLabelTest" 
       
    37 		category="Controls"
       
    38 		instanceNameRoot="label"
       
    39 		version="1.0">
       
    40 		<symbian sdkName="com.nokia.series60" minSDKVersion="2.0" 
       
    41 			className="CEikLabel" classHelpTopic=""
       
    42 			resourceType="LABEL" resourceHelpTopic="" />
       
    43 		<attributes>
       
    44 			<attribute key="not-in-toolbox">true</attribute>
       
    45 			<attribute key="cpp-class-name">CEikLabel</attribute>
       
    46 			<attribute key="is-dialog-content">true</attribute>
       
    47 			<attribute key="is-ccoecontrol-content">true</attribute>
       
    48 			<attribute key="rss-control-type-enum">EEikCtLabel</attribute>
       
    49 		</attributes>
       
    50 		<properties>
       
    51 			<property name="name" type="uniqueName" />
       
    52 			<enumProperty category="Appearance" name="alignment" 
       
    53 				type="com.nokia.examples.CEikLabel.HAlignment" 
       
    54 				default="EEikLabelAlignHCenter"
       
    55 				descriptionKey="alignmentDescription" 
       
    56 				extendWithEnum="com.nokia.examples.CEikLabel.NumericHacks"/>
       
    57 			<property category="Label" name="text" type="localizedString" 
       
    58 				default="label"
       
    59 				descriptionKey="textDescription" 
       
    60 				editorClass="com.nokia.sdt.symbian.ui.editors.ScalableTextEditorFactory" 
       
    61 				extendWithEnum="com.nokia.examples.CEikLabel.NumericHacks"
       
    62 				
       
    63 				/>
       
    64 			<enumProperty category="Appearance" name="font" 
       
    65 				type="com.nokia.examples.CEikLabel.StandardFont"
       
    66 				descriptionKey="fontDescription" />
       
    67 			<enumProperty category="Appearance" name="emphasis" 
       
    68 				type="com.nokia.examples.CEikLabel.TextEmphasis"
       
    69 				descriptionKey="emphasisDescription"
       
    70 				extendWithEnum="com.nokia.examples.CEikLabel.NumericHacks"
       
    71 				default="EPartialEmphasis"
       
    72 				 />
       
    73 			<property category="Appearance" name="pixelGapBetweenLines" 
       
    74 				type="integer"
       
    75 				descriptionKey="pixelGapBetweenLinesDescription" 
       
    76 				extendWithEnum="com.nokia.examples.CEikLabel.NumericHacks"
       
    77 				/>
       
    78 			<property category="Appearance" name="underline" type="boolean"
       
    79 				descriptionKey="underlineDescription"
       
    80 				extendWithEnum="com.nokia.examples.CEikLabel.NumericHacks"
       
    81 				
       
    82 				 />
       
    83 			<property category="Appearance" name="strikethrough" type="boolean"
       
    84 				descriptionKey="strikethroughDescription" />
       
    85 		</properties>
       
    86 		
       
    87 	</component>
       
    88 </componentDefinition>