29 #ifndef __TERRALIB_LAYOUT_INTERNAL_PROPERTY_BROWSER_H  
   30 #define __TERRALIB_LAYOUT_INTERNAL_PROPERTY_BROWSER_H 
   33 #include "../../../core/property/Property.h" 
   34 #include "../../../core/Config.h" 
   40 #include <QtPropertyBrowser/QtTreePropertyBrowser> 
   41 #include <QtPropertyBrowser/QtStringPropertyManager> 
   42 #include <QtPropertyBrowser/QtProperty> 
   43 #include <QtPropertyBrowser/QtVariantPropertyManager> 
   44 #include <QtPropertyBrowser/QtBrowserItem> 
   55     class VariantPropertiesBrowser;
 
   56     class DialogPropertiesBrowser;
 
   74         QtTreePropertyBrowser* getPropertyEditor();
 
   80         virtual void clearAll();
 
   82         virtual void closeAllWindows();
 
   84         virtual QtProperty* addProperty(
Property property);
 
   86         virtual bool removeProperty(
Property property);
 
   88         virtual bool updateProperty(
Property property);
 
   90         virtual void updateProperties(
Properties* props);
 
   94         virtual void setHasWindows(
bool hasWindows = 
false);
 
   96         virtual void selectProperty(std::string name);
 
   98         virtual QtProperty* findProperty(std::string name);
 
  100         virtual bool addSubProperty(QtProperty* prop, QtProperty* subProp);
 
  106         void propertyEditorValueChanged(QtProperty *property, 
const QVariant &value);
 
  108         void onChangeFilter(
const QString& filter);
 
  110         virtual void onChangeDlgProperty(
Property property);
 
  114         void changePropertyValue(QtProperty *property, QList<QtBrowserItem*> items);
 
  116         void changePropertyValue(
Property property);
 
  120         virtual void addPropertyItem(QtProperty *property, 
const QString &
id);
 
  122         virtual void updateExpandState();
 
  124         virtual void createManager();
 
  126         virtual void changeVisibility( QList<QtBrowserItem*> items, 
bool visible );
 
  128         virtual void blockOpenWindows(
bool block);
 
bool m_changeQtPropertyVariantValue
 
Manage properties variants values. 
 
#define TELAYOUTEXPORT
You can use this macro in order to export/import classes and functions from this module. 
 
The Properties class represents a persistent set of properties. The Properties can be saved to a file...
 
QMap< QString, QtProperty * > m_idToProperty
 
QMap< QtProperty *, QString > m_propertyToId
 
Manage properties variants values. Maps the QProperty properties (Qt) and Property (Layout) and add t...
 
VariantPropertiesBrowser * m_variantPropertiesBrowser
 
QtTreePropertyBrowser * m_propertyEditor
 
QMap< QString, bool > m_idToExpanded
 
DialogPropertiesBrowser * m_dialogPropertiesBrowser
 
Manage properties dialogs 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.