All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
te::layout Namespace Reference

This is the namespace for the Layout module. More...

Classes

class  AbstractItemFactory
 
class  AbstractOutsideFactory
 
class  AbstractRulerModel
 
class  AbstractScene
 
class  AbstractTemplate
 
class  AbstractTemplateFactory
 
class  AbstractView
 
class  AbstractVisitor
 
class  BuildContext
 
class  BuildGraphicsItem
 
class  Context
 
class  ContextItem
 
class  DisplayController
 
class  DisplayModel
 
class  DisplayOutside
 
class  GeodesicGridSettingsConfigProperties
 
class  GridGeodesicModel
 
class  GridModel
 
class  GridPlanarModel
 
class  GridSettingsConfigProperties
 
class  GridSettingsController
 
class  GridSettingsModel
 
class  GridSettingsOutside
 
class  HorizontalRulerController
 
class  HorizontalRulerItem
 
class  HorizontalRulerModel
 
class  ItemController
 
class  ItemFactory
 
class  ItemGroup
 
class  ItemGroupController
 
class  ItemGroupModel
 
class  ItemModelObservable
 
class  ItemObserver
 
class  ItemParamsCreate
 
class  JSON
 
class  JSONTemplate
 
class  LegendController
 
class  LegendItem
 
class  LegendModel
 
class  MainLayout
 
class  MapController
 
class  MapGridController
 
class  MapGridItem
 
class  MapGridModel
 
class  MapItem
 
class  MapModel
 
class  Module
 This singleton defines the TerraLib Qt Widgets module entry. More...
 
class  ObjectInspectorController
 
class  ObjectInspectorModel
 
class  ObjectInspectorOutside
 
class  ObjectInspectorPropertyBrowser
 
class  ObjectItem
 
class  Observable
 
class  Observer
 
class  OutsideArea
 
class  OutsideController
 
class  OutsideFactory
 
class  OutsideModelObservable
 
class  OutsideObserver
 
class  OutsideParamsCreate
 
class  PageSetupController
 
class  PageSetupModel
 
class  PageSetupOutside
 
class  PaperConfig
 
class  PaperController
 
class  PaperItem
 
class  PaperModel
 
class  ParamsCreate
 
class  PlanarGridSettingsConfigProperties
 
class  Properties
 
class  PropertiesController
 
class  PropertiesItemPropertyBrowser
 
class  PropertiesModel
 
class  PropertiesOutside
 
class  Property
 
class  PropertyBrowser
 
class  RectangleController
 
class  RectangleItem
 
class  RectangleModel
 
class  ScaleController
 
class  ScaleItem
 
class  ScaleModel
 
class  Scene
 
class  Serialization
 
class  SharedProperties
 
class  TemplateEditor
 
class  TemplateFactory
 
class  TemplateParamsCreate
 
class  ToolbarController
 
class  ToolbarModel
 
class  ToolbarOutside
 
class  Utils
 
class  Variant
 
class  VerticalRulerController
 
class  VerticalRulerItem
 
class  VerticalRulerModel
 
class  View
 
class  Visitable
 
class  VisualizationArea
 

Typedefs

typedef enum
te::layout::AlignmentFlags 
LayoutAlignmentType
 
typedef enum
te::layout::_TdkOrientation 
LayoutOrientationType
 

Enumerations

enum  _TdkOrientation { Portrait, Landscape }
 
enum  AlignmentFlags {
  AlignFlagsAuto = 0x0000, AlignFlagsLeft = 0x0001, AlignFlagsRight = 0x0002, AlignFlagsHCenter = 0x0004,
  AlignFlagsJustify = 0x0008, AlignFlagsHorizontal_Mask = AlignFlagsLeft | AlignFlagsRight | AlignFlagsHCenter | AlignFlagsJustify, AlignFlagsTop = 0x0010, AlignFlagsBottom = 0x0020,
  AlignFlagsVCenter = 0x0040, AlignFlagsVertical_Mask = AlignFlagsTop | AlignFlagsBottom | AlignFlagsVCenter, AlignFlagsCenter = AlignFlagsVCenter | AlignFlagsHCenter
}
 
enum  LayoutAbstractObjectType {
  TPRetangleItem = 1, TPMapItem = 2, TPMapGridItem = 3, TPPaperItem = 4,
  TPLegendItem = 5, TPPropertiesWindow = 6, TPDisplayWindow = 7, TPObjectInspectorWindow = 8,
  TPToolbar = 9, TPGridSettings = 10, TPGrid = 11, TPGridPlanar = 12,
  TPGridGeodesic = 13, TPHorizontalRuler = 14, TPVerticalRuler = 15, TPText = 16,
  TPItemGroup = 17, TPScaleItem = 18, TPPageSetup = 19, TPObjectUnknown = 0
}
 Enum TdkAbstractComponentType. This is the enumeration of the components types. More...
 
enum  LayoutAbstractPaperType {
  A0, A1, A2, A3,
  A4, A5, A6, A7,
  A8, A9, Letter, Legal,
  Executive, Custom
}
 Enum TdkAbstractComponentType. This is the enumeration of the components types. More...
 
enum  LayoutGridStyle { StyleNone = 1, StyleContinuous = 2, StyleCross = 3 }
 
enum  LayoutGridType { TypePlanar = 0, TypeGeodesic = 1 }
 Enum LayoutGridType. This is the enumeration of the grid types. More...
 
enum  LayoutMode {
  TypeSelectByBox = 1, TypeSelect = 2, TypeArrowCursor = 3, TypePan = 4,
  TypeZoomIn = 5, TypeZoomOut = 6, TypeMapPan = 7, TypeMapZoomIn = 8,
  TypeMapZoomOut = 9, TypeCreate = 10, TypeCreateMap = 11, TypeCreateMapGrid = 12,
  TypeCreateLegend = 13, TypeCreateRectangle = 14, TypeCreateText = 15, TypeCreateItemGroup = 16,
  TypeUnitsMetricsChange = 17, TypeExportPropsJSON = 18, TypeImportJSONProps = 19, TypeNewTemplate = 20,
  TypeCreateScale = 21, TypeGroup = 22, TypeUngroup = 23, TypeActiveLinesIntersectionMouse = 24,
  TypeOffLinesIntersectionMouse = 25, TypePrinter = 26, TypeExit = 27, TypeNone = 0
}
 Enum LayoutMode. This is the enumeration of the components types. More...
 
enum  LayoutPropertyDataType {
  DataTypeInt = 1, DataTypeDouble = 2, DataTypeLong = 3, DataTypeFloat = 4,
  DataTypeString = 5, DataTypeBool = 6, DataTypeColor = 7, DataTypeGridSettings = 8,
  DataTypeStringList = 9, DataTypeNone = 10
}
 Enum LayoutPropertyDataType. More...
 
enum  LayoutRulerOrientation { TypeRulerVertical = 0, TypeRulerHorizontal = 90 }
 Enum LayoutRulerOrientation. This is the enumeration of the ruler orientation types. More...
 
enum  LayoutSides {
  TPTopLeft, TPTopRight, TPLowerLeft, TPLowerRight,
  TPCenter, TPCenterRight, TPCenterLeft, TPNoneSide
}
 Enum TdkAbstractComponentType. This is the enumeration of the components types. More...
 
enum  LayoutTemplateType { TPJSONTemplate = 1 }
 Enum LayoutTemplateType. More...
 
enum  LayoutUnit { StyleMeter =1, StyleKilometer =1000 }
 
enum  LayoutUnitsMetrics { TPMillimeter = 0, TPInch = 1 }
 Enum TdkAbstractComponentType. This is the enumeration of the components types. More...
 

Functions

TELAYOUTEXPORT bool changeMapVisitable (QList< QGraphicsItem * > graphicsItems, Visitable *visitable)
 
TELAYOUTEXPORT int countType (QList< QGraphicsItem * > graphicsItems, te::layout::LayoutAbstractObjectType type)
 
std::string getLayoutAbstractObjectType (int enumVal)
 
te::layout::LayoutAbstractObjectType getLayoutAbstractObjectType (std::string val)
 
std::string getLayoutDashStyle (int enumVal)
 
te::map::LineDashStyle getLayoutEnumDashStyle (std::string val)
 
te::map::LineDashStyle getLayoutEnumDashStyle (int enumVal)
 
te::layout::LayoutGridStyle getLayoutEnumGridStyle (std::string val)
 
te::layout::LayoutGridStyle getLayoutEnumGridStyle (int enumVal)
 
std::string getLayoutGridStyle (int enumVal)
 
std::string getLayoutPropertyDataType (int enumVal)
 
te::layout::LayoutPropertyDataType getLayoutPropertyDataType (std::string val)
 
TELAYOUTEXPORT MapItemgetMapItem (QList< QGraphicsItem * > graphicsItems, std::string name)
 
TELAYOUTEXPORT std::vector
< MapItem * > 
getMapItemList (QList< QGraphicsItem * > graphicsItems)
 
TELAYOUTEXPORT bool isCurrentMapTools ()
 
TELAYOUTEXPORT std::vector
< std::string > 
mapNameList (QList< QGraphicsItem * > graphicsItems)
 
TELAYOUTEXPORT int maxTypeId (QList< QGraphicsItem * > graphicsItems, te::layout::LayoutAbstractObjectType type)
 

Detailed Description

This is the namespace for the Layout module.

Typedef Documentation

Enumeration Type Documentation

Enumerator
Portrait 

portrait orientation

Landscape 

landScape orientation

Definition at line 83 of file AbstractType.h.

Enumerator
AlignFlagsAuto 
AlignFlagsLeft 
AlignFlagsRight 
AlignFlagsHCenter 
AlignFlagsJustify 
AlignFlagsHorizontal_Mask 
AlignFlagsTop 
AlignFlagsBottom 
AlignFlagsVCenter 
AlignFlagsVertical_Mask 
AlignFlagsCenter 

Definition at line 89 of file AbstractType.h.

Enum TdkAbstractComponentType. This is the enumeration of the components types.

Enumerator
TPRetangleItem 
TPMapItem 
TPMapGridItem 
TPPaperItem 
TPLegendItem 
TPPropertiesWindow 
TPDisplayWindow 
TPObjectInspectorWindow 
TPToolbar 
TPGridSettings 
TPGrid 
TPGridPlanar 
TPGridGeodesic 
TPHorizontalRuler 
TPVerticalRuler 
TPText 
TPItemGroup 
TPScaleItem 
TPPageSetup 
TPObjectUnknown 

Definition at line 38 of file AbstractType.h.

Enum TdkAbstractComponentType. This is the enumeration of the components types.

Enumerator
A0 
A1 
A2 
A3 
A4 
A5 
A6 
A7 
A8 
A9 
Letter 
Legal 
Executive 
Custom 

Definition at line 65 of file AbstractType.h.

Enumerator
StyleNone 
StyleContinuous 
StyleCross 

continuos line grid

Definition at line 153 of file AbstractType.h.

Enum LayoutGridType. This is the enumeration of the grid types.

Enumerator
TypePlanar 
TypeGeodesic 

Definition at line 82 of file EnumMode.h.

Enum LayoutMode. This is the enumeration of the components types.

Enumerator
TypeSelectByBox 
TypeSelect 
TypeArrowCursor 
TypePan 
TypeZoomIn 
TypeZoomOut 
TypeMapPan 
TypeMapZoomIn 
TypeMapZoomOut 
TypeCreate 
TypeCreateMap 
TypeCreateMapGrid 
TypeCreateLegend 
TypeCreateRectangle 
TypeCreateText 
TypeCreateItemGroup 
TypeUnitsMetricsChange 
TypeExportPropsJSON 
TypeImportJSONProps 
TypeNewTemplate 
TypeCreateScale 
TypeGroup 
TypeUngroup 
TypeActiveLinesIntersectionMouse 
TypeOffLinesIntersectionMouse 
TypePrinter 
TypeExit 
TypeNone 

Definition at line 38 of file EnumMode.h.

Enum LayoutPropertyDataType.

Enumerator
DataTypeInt 
DataTypeDouble 
DataTypeLong 
DataTypeFloat 
DataTypeString 
DataTypeBool 
DataTypeColor 
DataTypeGridSettings 
DataTypeStringList 
DataTypeNone 

Definition at line 131 of file AbstractType.h.

Enum LayoutRulerOrientation. This is the enumeration of the ruler orientation types.

Enumerator
TypeRulerVertical 
TypeRulerHorizontal 

Definition at line 73 of file EnumMode.h.

Enum TdkAbstractComponentType. This is the enumeration of the components types.

Enumerator
TPTopLeft 
TPTopRight 
TPLowerLeft 
TPLowerRight 
TPCenter 
TPCenterRight 
TPCenterLeft 
TPNoneSide 

Definition at line 107 of file AbstractType.h.

Enum LayoutTemplateType.

Enumerator
TPJSONTemplate 

Definition at line 148 of file AbstractType.h.

Enumerator
StyleMeter 
StyleKilometer 

Definition at line 160 of file AbstractType.h.

Enum TdkAbstractComponentType. This is the enumeration of the components types.

Enumerator
TPMillimeter 
TPInch 

Definition at line 122 of file AbstractType.h.

Function Documentation

TELAYOUTEXPORT bool te::layout::changeMapVisitable ( QList< QGraphicsItem * >  graphicsItems,
Visitable *  visitable 
)
TELAYOUTEXPORT int te::layout::countType ( QList< QGraphicsItem * >  graphicsItems,
te::layout::LayoutAbstractObjectType  type 
)
std::string te::layout::getLayoutDashStyle ( int  enumVal)
te::map::LineDashStyle te::layout::getLayoutEnumDashStyle ( std::string  val)
te::map::LineDashStyle te::layout::getLayoutEnumDashStyle ( int  enumVal)
te::layout::LayoutGridStyle te::layout::getLayoutEnumGridStyle ( std::string  val)
te::layout::LayoutGridStyle te::layout::getLayoutEnumGridStyle ( int  enumVal)

Definition at line 64 of file EnumUtils.cpp.

References StyleContinuous, StyleCross, and StyleNone.

std::string te::layout::getLayoutGridStyle ( int  enumVal)
te::layout::LayoutPropertyDataType te::layout::getLayoutPropertyDataType ( std::string  val)
TELAYOUTEXPORT te::layout::MapItem * te::layout::getMapItem ( QList< QGraphicsItem * >  graphicsItems,
std::string  name 
)
TELAYOUTEXPORT std::vector< te::layout::MapItem * > te::layout::getMapItemList ( QList< QGraphicsItem * >  graphicsItems)

Definition at line 39 of file ItemUtils.cpp.

Referenced by te::layout::View::outsideAreaChangeContext().

TELAYOUTEXPORT std::vector< std::string > te::layout::mapNameList ( QList< QGraphicsItem * >  graphicsItems)
TELAYOUTEXPORT int te::layout::maxTypeId ( QList< QGraphicsItem * >  graphicsItems,
te::layout::LayoutAbstractObjectType  type 
)