28 #ifndef __TERRALIB_LAYOUT_INTERNAL_VARIANT_PROPERTIES_BROWSER_H  
   29 #define __TERRALIB_LAYOUT_INTERNAL_VARIANT_PROPERTIES_BROWSER_H 
   33 #include "../../../core/property/Property.h" 
   34 #include "../../../core/Config.h" 
   40 #include <QtPropertyBrowser/QtProperty> 
   41 #include <QtPropertyBrowser/QtVariantPropertyManager> 
   42 #include <QtPropertyBrowser/QtVariantEditorFactory> 
   43 #include <QtPropertyBrowser/QtVariantProperty> 
   67         virtual QtVariantProperty* addProperty(
Property property);
 
   69         virtual bool updateProperty(
Property property);
 
   71         virtual Property getProperty(std::string name);
 
   73         virtual EnumType* getLayoutType(QVariant::Type type, std::string name = 
"");
 
   75         virtual int getVariantType(
EnumType* dataType);
 
   77         virtual bool changeQtVariantPropertyValue(QtVariantProperty* vproperty, 
Property property);
 
   79         QtVariantPropertyManager* getVariantPropertyManager();
 
   81         QtVariantEditorFactory* getVariantEditorFactory();
 
   85         virtual void createManager();
 
   87         virtual void addAttribute(QtVariantProperty* vproperty, 
Property property);
 
Manage properties variants values. 
 
#define TELAYOUTEXPORT
You can use this macro in order to export/import classes and functions from this module. 
 
Class that represents the value of an enumeration. An enumeration is made of "1..n" objects EnumType...
 
QtVariantEditorFactory * m_variantPropertyEditorFactory
 
QtVariantPropertyManager * m_variantPropertyEditorManager
 
Manage properties variants values. 
 
A property acts like a attribute member of a object and stores the state of this attribute. A set of properties stores the state of an object. Any data type, not included in the convertValue method in the class te::layout::Variant, it will be by default "std::string" value.