This is the namespace for the Layout module. More...
Typedefs | |
typedef enum te::layout::AlignmentFlags | LayoutAlignmentType |
typedef enum te::layout::_TdkOrientation | LayoutOrientationType |
This is the namespace for the Layout module.
Enumerator | |
---|---|
Portrait |
portrait orientation |
Landscape |
landScape orientation |
Definition at line 83 of file AbstractType.h.
Definition at line 89 of file AbstractType.h.
Enum TdkAbstractComponentType. This is the enumeration of the components types.
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.
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.
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.
TELAYOUTEXPORT bool te::layout::changeMapVisitable | ( | QList< QGraphicsItem * > | graphicsItems, |
Visitable * | visitable | ||
) |
Definition at line 42 of file VisitorUtils.cpp.
References te::layout::Visitable::acceptVisitor(), te::layout::ItemObserver::getModel(), te::layout::ItemModelObservable::getType(), TPLegendItem, and TPScaleItem.
Referenced by te::layout::PropertiesOutside::changeMapVisitable(), and te::layout::PropertiesOutside::onChangePropertyValue().
TELAYOUTEXPORT int te::layout::countType | ( | QList< QGraphicsItem * > | graphicsItems, |
te::layout::LayoutAbstractObjectType | type | ||
) |
Definition at line 111 of file ItemUtils.cpp.
References te::layout::ItemObserver::getModel(), and te::layout::Observable::getType().
std::string te::layout::getLayoutAbstractObjectType | ( | int | enumVal | ) |
Definition at line 203 of file EnumUtils.cpp.
References TPDisplayWindow, TPGrid, TPGridGeodesic, TPGridPlanar, TPGridSettings, TPHorizontalRuler, TPItemGroup, TPLegendItem, TPMapGridItem, TPMapItem, TPObjectInspectorWindow, TPPaperItem, TPPropertiesWindow, TPRetangleItem, TPScaleItem, TPText, TPToolbar, and TPVerticalRuler.
Referenced by te::layout::JSON::loadFromProperties(), and te::layout::JSON::retrieve().
te::layout::LayoutAbstractObjectType te::layout::getLayoutAbstractObjectType | ( | std::string | val | ) |
Definition at line 270 of file EnumUtils.cpp.
References TPDisplayWindow, TPGrid, TPGridGeodesic, TPGridPlanar, TPGridSettings, TPHorizontalRuler, TPItemGroup, TPLegendItem, TPMapGridItem, TPMapItem, TPObjectInspectorWindow, TPObjectUnknown, TPPaperItem, TPPropertiesWindow, TPRetangleItem, TPScaleItem, TPText, TPToolbar, and TPVerticalRuler.
std::string te::layout::getLayoutDashStyle | ( | int | enumVal | ) |
Definition at line 81 of file EnumUtils.cpp.
References EnumLayoutDashStyle.
Referenced by te::layout::GridGeodesicModel::getProperty(), and te::layout::GridPlanarModel::getProperty().
te::map::LineDashStyle te::layout::getLayoutEnumDashStyle | ( | std::string | val | ) |
Definition at line 86 of file EnumUtils.cpp.
References EnumLayoutDashStyle.
Referenced by te::layout::GridGeodesicModel::updateProperty(), and te::layout::GridPlanarModel::updateProperty().
te::map::LineDashStyle te::layout::getLayoutEnumDashStyle | ( | int | enumVal | ) |
Definition at line 93 of file EnumUtils.cpp.
References te::map::DashDotDotLine, te::map::DashDotLine, te::map::DashLine, te::map::DotLine, te::map::NoLine, and te::map::SolidLine.
te::layout::LayoutGridStyle te::layout::getLayoutEnumGridStyle | ( | std::string | val | ) |
Definition at line 56 of file EnumUtils.cpp.
References EnumLayoutGridStyle.
Referenced by te::layout::GridGeodesicModel::updateProperty(), and te::layout::GridPlanarModel::updateProperty().
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 | ) |
Definition at line 51 of file EnumUtils.cpp.
References EnumLayoutGridStyle.
Referenced by te::layout::GridGeodesicModel::getProperty(), and te::layout::GridPlanarModel::getProperty().
std::string te::layout::getLayoutPropertyDataType | ( | int | enumVal | ) |
Definition at line 119 of file EnumUtils.cpp.
References DataTypeBool, DataTypeColor, DataTypeDouble, DataTypeFloat, DataTypeGridSettings, DataTypeInt, DataTypeLong, DataTypeString, and DataTypeStringList.
Referenced by te::layout::Variant::convertValue(), te::layout::JSON::loadFromProperties(), te::layout::JSON::retrieve(), te::layout::JSON::retrieveSubPTree(), and te::layout::JSON::searchProperty().
te::layout::LayoutPropertyDataType te::layout::getLayoutPropertyDataType | ( | std::string | val | ) |
Definition at line 159 of file EnumUtils.cpp.
References DataTypeBool, DataTypeColor, DataTypeDouble, DataTypeFloat, DataTypeGridSettings, DataTypeInt, DataTypeLong, DataTypeNone, DataTypeString, and DataTypeStringList.
TELAYOUTEXPORT te::layout::MapItem * te::layout::getMapItem | ( | QList< QGraphicsItem * > | graphicsItems, |
std::string | name | ||
) |
Definition at line 61 of file ItemUtils.cpp.
References te::layout::ItemObserver::getName().
Referenced by te::layout::PropertiesOutside::changeMapVisitable(), and te::layout::PropertiesOutside::getMapModel().
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 bool te::layout::isCurrentMapTools | ( | ) |
Definition at line 169 of file ItemUtils.cpp.
References te::layout::Context::getInstance(), te::layout::Context::getMode(), TypeMapPan, TypeMapZoomIn, and TypeMapZoomOut.
Referenced by te::layout::MapItem::mouseMoveEvent(), te::layout::MapItem::mousePressEvent(), te::layout::MapItem::mouseReleaseEvent(), and te::layout::Scene::setCurrentToolInSelectedMapItems().
TELAYOUTEXPORT std::vector< std::string > te::layout::mapNameList | ( | QList< QGraphicsItem * > | graphicsItems | ) |
Definition at line 87 of file ItemUtils.cpp.
References te::layout::ItemObserver::getName().
Referenced by te::layout::PropertiesOutside::mapNameDynamicProperty().
TELAYOUTEXPORT int te::layout::maxTypeId | ( | QList< QGraphicsItem * > | graphicsItems, |
te::layout::LayoutAbstractObjectType | type | ||
) |
Definition at line 133 of file ItemUtils.cpp.
References te::layout::ItemModelObservable::getId(), te::layout::ItemObserver::getModel(), and te::layout::Observable::getType().
Referenced by te::layout::BuildGraphicsItem::nameItem().