28 #ifndef __TERRALIB_LAYOUT_INTERNAL_MENU_BUILDER_H
29 #define __TERRALIB_LAYOUT_INTERNAL_MENU_BUILDER_H
35 #include "../../../core/Config.h"
50 class PropertiesUtils;
67 virtual void createMenu(QList<QGraphicsItem*> items);
69 virtual void menuExec(
int x = 0,
int y = 0);
73 virtual void onMenuTriggered(QAction* action);
75 virtual void onChangeDlgProperty(
Property property);
77 virtual void onShowFontDlg();
79 virtual void onShowColorDlg();
83 virtual QAction* createAction(std::string text, std::string objName, std::string icon, std::string tooltip =
"");
85 virtual void changePropertyValue(
Property property);
89 virtual Property findMnuProperty(std::string name);
91 virtual void checkedBool(
bool checked);
#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...
Manage properties dialogs values.
Manage properties dialogs values.
Utility class with functions to facilitate handling of qt properties and properties layout module...
Class that represents the value of an enumeration. An enumeration is made of "1..n" objects EnumType...
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.