Singleton class responsible for keeping active objects while the plugin is loaded in memory and make them available for access anywhere in the plugin or layout module. Ex .: factories objects, canvas, class of utility functions, proxy to access the project, etc. More...
#include <Context.h>
 
  
 | Public Member Functions | |
| AbstractBuildGraphicsItem * | getAbstractBuildGraphicsItem () | 
| Returns pointer for build graphics MVC components.  More... | |
| AbstractBuildGraphicsOutside * | getAbstractBuildGraphicsOutside () | 
| Returns pointer for build graphics MVC components.  More... | |
| te::map::Canvas * | getCanvas () | 
| Returns abstraction of a drawing area.  More... | |
| double | getDefaultZoomFactor () | 
| Default zoom factor. Ex.: 0.5 (50%)  More... | |
| double | getDpiX () | 
| double | getDpiY () | 
| ItemObserver * | getItem () | 
| AbstractItemFactory * | getItemFactory () | 
| Returns Abstract Factory that provide an interface for creating families of related or dependent graphic objects (MVC components).  More... | |
| ItemUtils * | getItemUtils () | 
| Returns pointer for manipulating items in the scene and vectorization of text and legend.  More... | |
| EnumType * | getLineIntersectionMouseMode () | 
| EnumType * | getMode () | 
| Returns value of the enumeration of mode type.  More... | |
| double | getOldZoomFactor () | 
| Returns previous zoom factor. Ex.: 0.5 (50%)  More... | |
| AbstractOutsideFactory * | getOutsideFactory () | 
| Returns Abstract Factory provide an interface for creating families of related or dependent graphic widgets (MVC widgets).  More... | |
| PaperConfig * | getPaperConfig () const | 
| Returns paper setting.  More... | |
| AbstractProxyProject * | getProxyProject () | 
| Returns proxy to provide a surrogate or placeholder for te::qt::af::Project to control access to it.  More... | |
| AbstractScene * | getScene () | 
| Returns abstract scene for QGraphicsScene class, part of Graphics View Framework.  More... | |
| SystematicScaleConfig * | getSystematicScaleConfig () | 
| AbstractTemplateFactory * | getTemplateFactory () | 
| Returns Abstract Factory provide an interface for creating families of related or dependent templates.  More... | |
| LayoutUnitsMetrics | getUnitMetric () | 
| Utils * | getUtils () | 
| Returns pointer with functions to manipulate the canvas and conversion between projections.  More... | |
| std::string | getVersion () | 
| Template structure version.  More... | |
| EnumType * | getWait () | 
| double | getZoomFactor () | 
| Returns current zoom factor. Ex.: 0.5 (50%)  More... | |
| void | setAbstractBuildGraphicsItem (AbstractBuildGraphicsItem *build) | 
| Change a pointer for build graphics MVC components.  More... | |
| void | setAbstractBuildGraphicsOutside (AbstractBuildGraphicsOutside *build) | 
| Change a pointer for build graphics MVC components.  More... | |
| void | setCanvas (te::map::Canvas *canvas) | 
| Change abstraction of a drawing area.  More... | |
| void | setDefaultZoomFactor (double zoomFactor) | 
| Change default zoom factor. Ex.: 0.5 (50%)  More... | |
| void | setDpiX (double dpiX) | 
| void | setDpiY (double dpiY) | 
| void | setItem (ItemObserver *item) | 
| void | setItemFactory (AbstractItemFactory *factory) | 
| Change factory for creating families of related or dependent graphic objects (MVC components).  More... | |
| void | setItemUtils (ItemUtils *utils) | 
| Change pointer for manipulating items in the scene and vectorization of text and legend.  More... | |
| void | setLineIntersectionMouseMode (EnumType *mode) | 
| void | setMode (EnumType *mode) | 
| Change value of the enumeration of mode type. Ex.: select, pan, create text, etc. The type of mode is used by the context to know what should be done. The mode in context could be modified by the user interaction.  More... | |
| void | setOldZoomFactor (double zoomFactor) | 
| Change previous zoom factor. Ex.: 0.5 (50%)  More... | |
| void | setOutsideFactory (AbstractOutsideFactory *factory) | 
| Change factory provide an interface for creating families of related or dependent graphic widgets (MVC widgets).  More... | |
| void | setPaperConfig (PaperConfig *config) | 
| Change paper setting.  More... | |
| void | setProxyProject (AbstractProxyProject *project) | 
| Change the proxy to provide a surrogate or placeholder for te::qt::af::Project to control access to it.  More... | |
| void | setScene (AbstractScene *scene) | 
| Change scene, QGraphicsScene class, part of Graphics View Framework.  More... | |
| void | setSystematicScaleConfig (SystematicScaleConfig *scale) | 
| void | setTemplateFactory (AbstractTemplateFactory *factory) | 
| Change factory provide an interface for creating families of related or dependent templates.  More... | |
| void | setUnitMetric (LayoutUnitsMetrics unit) | 
| void | setUtils (Utils *utils) | 
| Change pointer with functions to manipulate the canvas and conversion between projections.  More... | |
| void | setWait (EnumType *wait) | 
| void | setZoomFactor (double zoomFactor) | 
| Change current zoom factor. Ex.: 0.5 (50%)  More... | |
| virtual | ~Context () | 
| Destructor.  More... | |
| Static Public Member Functions | |
| static Context & | getInstance () | 
| It returns a reference to the singleton instance.  More... | |
| Protected Member Functions | |
| Context () | |
| Constructor.  More... | |
| Protected Attributes | |
| AbstractBuildGraphicsItem * | m_buildGraphicsItem | 
| build graphics MVC components.  More... | |
| AbstractBuildGraphicsOutside * | m_buildGraphicsOutside | 
| build MVC widgets.  More... | |
| te::map::Canvas * | m_canvas | 
| abstraction of a drawing area  More... | |
| double | m_defaultZoomFactor | 
| default zoom factor. Ex.: 0.5 (50%)  More... | |
| double | m_dpiX | 
| double | m_dpiY | 
| ItemObserver * | m_item | 
| AbstractItemFactory * | m_itemFactory | 
| factory that provide an interface for creating families of related or dependent graphic objects (MVC components)  More... | |
| ItemUtils * | m_itemUtils | 
| pointer for manipulating items in the scene and vectorization of text and legend  More... | |
| EnumType * | m_lineIntersectionMouseMode | 
| EnumType * | m_mode | 
| value of the enumeration of mode type  More... | |
| double | m_oldZoomFactor | 
| previous zoom factor. Ex.: 0.5 (50%)  More... | |
| AbstractOutsideFactory * | m_outsideFactory | 
| factory provide an interface for creating families of related or dependent graphic widgets (MVC widgets)  More... | |
| PaperConfig * | m_paperConfig | 
| paper settings  More... | |
| AbstractProxyProject * | m_proxyProject | 
| provide a surrogate or placeholder for te::qt::af::Project to control access to it  More... | |
| AbstractScene * | m_scene | 
| abstract scene for QGraphicsScene class, part of Graphics View Framework.  More... | |
| SystematicScaleConfig * | m_systematicConfig | 
| AbstractTemplateFactory * | m_templateFactory | 
| factory provide an interface for creating families of related or dependent templates  More... | |
| LayoutUnitsMetrics | m_unitMetric | 
| Utils * | m_utils | 
| pointer with functions to manipulate the canvas and conversion between projections  More... | |
| std::string | m_version | 
| template structure version  More... | |
| EnumType * | m_wait | 
| double | m_zoomFactor | 
| current zoom factor. Ex.: 0.5 (50%)  More... | |
| Private Member Functions | |
| Context (const Context &rhs) | |
| Copy constructor not allowed.  More... | |
| Context & | operator= (const Context &rhs) | 
| Assignment operator not allowed.  More... | |
| Friends | |
| class | te::common::Singleton< Context > | 
Singleton class responsible for keeping active objects while the plugin is loaded in memory and make them available for access anywhere in the plugin or layout module. Ex .: factories objects, canvas, class of utility functions, proxy to access the project, etc.
| 
 | protected | 
Constructor.
Definition at line 38 of file Context.cpp.
References te::common::Singleton< Enums >::getInstance(), te::layout::EnumModeType::getModeNone(), te::layout::EnumModeType::getModeOffLinesIntersectionMouse(), m_lineIntersectionMouseMode, and m_mode.
| 
 | virtual | 
Destructor.
Definition at line 70 of file Context.cpp.
| 
 | private | 
Copy constructor not allowed.
| rhs | The right-hand-side copy that would be used to copy from. | 
| te::layout::AbstractBuildGraphicsItem * te::layout::Context::getAbstractBuildGraphicsItem | ( | ) | 
Returns pointer for build graphics MVC components.
Definition at line 208 of file Context.cpp.
Referenced by te::layout::Scene::buildTemplate(), te::layout::Scene::createItem(), te::layout::Scene::createItemGroup(), and te::layout::Scene::createMovingItemGroup().
| te::layout::AbstractBuildGraphicsOutside * te::layout::Context::getAbstractBuildGraphicsOutside | ( | ) | 
Returns pointer for build graphics MVC components.
Definition at line 298 of file Context.cpp.
Referenced by te::layout::DialogPropertiesBrowser::createOutside().
| te::map::Canvas * te::layout::Context::getCanvas | ( | ) | 
Returns abstraction of a drawing area.
Definition at line 143 of file Context.cpp.
Referenced by te::layout::Utils::changeCanvas(), te::layout::Utils::drawLineW(), te::layout::Utils::drawRectW(), te::layout::AbstractVisitor::getContextItem(), te::layout::Utils::getImageW(), te::layout::LegendItem::paint(), te::layout::ItemController::redraw(), te::layout::Utils::resetCanvas(), and te::layout::Utils::textBoundingBox().
| double te::layout::Context::getDefaultZoomFactor | ( | ) | 
Default zoom factor. Ex.: 0.5 (50%)
Definition at line 228 of file Context.cpp.
Referenced by te::layout::View::config(), te::layout::View::recompose(), and te::layout::View::resetView().
| double te::layout::Context::getDpiX | ( | ) | 
Definition at line 173 of file Context.cpp.
Referenced by te::layout::Scene::calculateMatrixViewScene(), te::layout::AbstractVisitor::getContextItem(), te::layout::Utils::mm2pixel(), te::layout::PrintScene::printPaper(), and te::layout::ItemController::redraw().
| double te::layout::Context::getDpiY | ( | ) | 
Definition at line 183 of file Context.cpp.
Referenced by te::layout::AbstractVisitor::getContextItem(), te::layout::PrintScene::printPaper(), and te::layout::ItemController::redraw().
| 
 | staticinherited | 
It returns a reference to the singleton instance.
Referenced by te::layout::BuildGraphicsItem::addChild(), te::layout::ViewZoom::applyZoom(), te::layout::Scene::buildTemplate(), te::layout::MapItem::calculateFrameMargin(), te::layout::Scene::calculateMatrixViewScene(), te::layout::Scene::calculateWindow(), te::qt::plugins::layout::OutsideArea::changeAction(), te::layout::ToolbarOutside::changeAction(), te::layout::Utils::changeCanvas(), te::layout::MapItem::changeCurrentTool(), te::layout::PropertiesOutside::changeMapVisitable(), te::layout::MenuBuilder::changePropertyValue(), te::layout::View::changeZoomFactor(), te::layout::View::config(), te::layout::PageSetupOutside::configurePageSize(), te::layout::View::contextMenuEvent(), te::qt::plugins::layout::ObjectInspectorDock::create(), te::qt::plugins::layout::PropertiesDock::create(), te::qt::plugins::layout::EditTemplateDock::create(), te::layout::OutsideController::create(), te::layout::ItemController::create(), te::layout::Scene::createItem(), te::layout::Scene::createItemGroup(), te::layout::BuildContext::createLayoutContext(), te::qt::plugins::layout::MainLayout::createLayoutContext(), te::layout::ItemUtils::createLegendChildItemFromLegend(), te::layout::Scene::createMovingItemGroup(), te::layout::DialogPropertiesBrowser::createOutside(), te::layout::VisualizationArea::createPaper(), te::layout::BuildGraphicsItem::createPaper(), te::layout::PrintScene::createPrinter(), te::layout::ToolbarOutside::createSceneZoomCombobox(), te::layout::ItemUtils::createTextItemFromObject(), te::qt::plugins::layout::OutsideArea::createToolbar(), te::layout::ToolbarOutside::createUndoToolButton(), te::layout::GridPlanarModel::drawHorizontalLines(), te::layout::Utils::drawLineW(), te::layout::Utils::drawRectW(), te::layout::VerticalRuler::drawRuler(), te::layout::HorizontalRuler::drawRuler(), te::layout::GridMapItem::drawText(), te::layout::ParentItem< T >::drawText(), te::layout::GridPlanarModel::drawVerticalLines(), te::layout::Scene::exportItemsToImage(), te::layout::MapModel::generateSystematic(), te::layout::AbstractVisitor::getContextItem(), te::layout::Utils::getImageW(), te::layout::PropertiesOutside::getMapModel(), te::layout::MapModel::getWorldBox(), te::layout::MapModel::getWorldInDegrees(), te::layout::MapModel::getWorldInMeters(), te::qt::plugins::layout::OutsideArea::init(), te::layout::Scene::init(), te::layout::ItemUtils::intersectionSelectionItem(), te::layout::ItemUtils::isCurrentMapTools(), te::layout::ItemGroup::ItemGroup(), te::layout::View::keyPressEvent(), te::layout::PageSetupOutside::load(), te::layout::MapItem::MapItem(), te::layout::PropertiesUtils::mapNameDynamicProperty(), te::layout::Utils::mm2pixel(), te::layout::MapItem::mouseMoveEvent(), te::layout::View::mouseMoveEvent(), te::layout::MapItem::mousePressEvent(), te::layout::View::mousePressEvent(), te::layout::MapItem::mouseReleaseEvent(), te::layout::BuildGraphicsItem::nameItem(), te::layout::PageSetupOutside::on_pbApply_clicked(), te::layout::PropertiesOutside::onChangePropertyValue(), te::layout::ToolbarOutside::onGeometryTriggered(), te::layout::ToolbarOutside::onLineIntersectionMouse(), te::qt::plugins::layout::OutsideArea::onRefreshStatusBar(), te::layout::ToolbarOutside::onSceneZoomCurrentIndexChanged(), te::layout::DialogPropertiesBrowser::onShowGridSettingsDlg(), te::layout::View::outsideAreaChangeContext(), te::layout::LegendItem::paint(), te::layout::ParentItem< T >::ParentItem(), te::layout::PrintScene::printPaper(), te::layout::View::recompose(), te::layout::MoveCommand::redo(), te::layout::ItemController::redraw(), te::layout::PrintScene::renderScene(), te::layout::Utils::resetCanvas(), te::layout::View::resetView(), te::layout::PropertiesOutside::sendPropertyToSelectedItem(), te::layout::PropertiesOutside::sendPropertyToSelectedItems(), te::layout::PageSetupOutside::switchSize(), te::layout::TemplateEditor::TemplateEditor(), te::layout::Utils::textBoundingBox(), te::layout::MoveCommand::undo(), te::layout::MapModel::unitMeasureLayer(), te::layout::MapItem::updateObserver(), te::layout::MapItem::updateProperties(), te::layout::View::wheelEvent(), and te::layout::View::zoomPercentage().
| te::layout::ItemObserver * te::layout::Context::getItem | ( | ) | 
Definition at line 288 of file Context.cpp.
Referenced by te::layout::View::mousePressEvent().
| te::layout::AbstractItemFactory * te::layout::Context::getItemFactory | ( | ) | 
Returns Abstract Factory that provide an interface for creating families of related or dependent graphic objects (MVC components).
Definition at line 113 of file Context.cpp.
Referenced by te::layout::ItemController::create().
| te::layout::ItemUtils * te::layout::Context::getItemUtils | ( | ) | 
Returns pointer for manipulating items in the scene and vectorization of text and legend.
Definition at line 273 of file Context.cpp.
Referenced by te::layout::BuildGraphicsItem::addChild(), te::layout::PropertiesOutside::changeMapVisitable(), te::layout::View::contextMenuEvent(), te::layout::PropertiesOutside::getMapModel(), te::layout::PropertiesUtils::mapNameDynamicProperty(), te::layout::MapItem::mouseMoveEvent(), te::layout::MapItem::mousePressEvent(), te::layout::MapItem::mouseReleaseEvent(), te::layout::BuildGraphicsItem::nameItem(), te::layout::DialogPropertiesBrowser::onShowGridSettingsDlg(), and te::layout::View::outsideAreaChangeContext().
| te::layout::EnumType * te::layout::Context::getLineIntersectionMouseMode | ( | ) | 
Definition at line 218 of file Context.cpp.
Referenced by te::layout::ToolbarOutside::onLineIntersectionMouse().
| te::layout::EnumType * te::layout::Context::getMode | ( | ) | 
Returns value of the enumeration of mode type.
Definition at line 75 of file Context.cpp.
References te::layout::Enums::getEnumModeType(), te::common::Singleton< Enums >::getInstance(), and te::layout::EnumModeType::getModeNone().
Referenced by te::layout::ToolbarOutside::changeAction(), te::layout::Scene::createItem(), te::layout::ItemUtils::isCurrentMapTools(), te::layout::View::mouseMoveEvent(), te::layout::View::mousePressEvent(), and te::layout::View::outsideAreaChangeContext().
| double te::layout::Context::getOldZoomFactor | ( | ) | 
Returns previous zoom factor. Ex.: 0.5 (50%)
Definition at line 238 of file Context.cpp.
Referenced by te::layout::View::zoomPercentage().
| te::layout::AbstractOutsideFactory * te::layout::Context::getOutsideFactory | ( | ) | 
Returns Abstract Factory provide an interface for creating families of related or dependent graphic widgets (MVC widgets).
Definition at line 123 of file Context.cpp.
Referenced by te::layout::OutsideController::create().
| te::layout::PaperConfig * te::layout::Context::getPaperConfig | ( | ) | const | 
Returns paper setting.
Definition at line 198 of file Context.cpp.
Referenced by te::layout::Scene::calculateWindow(), te::layout::PageSetupOutside::configurePageSize(), te::layout::PrintScene::createPrinter(), te::layout::HorizontalRuler::drawRuler(), te::layout::VerticalRuler::drawRuler(), te::layout::Scene::init(), te::layout::PageSetupOutside::load(), te::layout::PageSetupOutside::on_pbApply_clicked(), te::layout::PrintScene::renderScene(), and te::layout::PageSetupOutside::switchSize().
| te::layout::AbstractProxyProject * te::layout::Context::getProxyProject | ( | ) | 
Returns proxy to provide a surrogate or placeholder for te::qt::af::Project to control access to it.
Definition at line 263 of file Context.cpp.
Referenced by te::layout::MapItem::updateProperties().
| te::layout::AbstractScene * te::layout::Context::getScene | ( | ) | 
Returns abstract scene for QGraphicsScene class, part of Graphics View Framework.
Definition at line 88 of file Context.cpp.
Referenced by te::layout::MenuBuilder::changePropertyValue(), te::layout::ToolbarOutside::createUndoToolButton(), te::layout::ItemUtils::intersectionSelectionItem(), te::layout::BuildGraphicsItem::nameItem(), te::layout::PropertiesOutside::onChangePropertyValue(), te::layout::MoveCommand::redo(), te::layout::PropertiesOutside::sendPropertyToSelectedItem(), te::layout::PropertiesOutside::sendPropertyToSelectedItems(), and te::layout::MoveCommand::undo().
| te::layout::SystematicScaleConfig * te::layout::Context::getSystematicScaleConfig | ( | ) | 
Definition at line 248 of file Context.cpp.
| te::layout::AbstractTemplateFactory * te::layout::Context::getTemplateFactory | ( | ) | 
Returns Abstract Factory provide an interface for creating families of related or dependent templates.
Definition at line 133 of file Context.cpp.
| te::layout::LayoutUnitsMetrics te::layout::Context::getUnitMetric | ( | ) | 
Definition at line 163 of file Context.cpp.
| te::layout::Utils * te::layout::Context::getUtils | ( | ) | 
Returns pointer with functions to manipulate the canvas and conversion between projections.
Definition at line 153 of file Context.cpp.
Referenced by te::layout::MapItem::calculateFrameMargin(), te::layout::GridPlanarModel::drawHorizontalLines(), te::layout::HorizontalRuler::drawRuler(), te::layout::VerticalRuler::drawRuler(), te::layout::GridPlanarModel::drawVerticalLines(), te::layout::Scene::exportItemsToImage(), te::layout::MapModel::generateSystematic(), te::layout::AbstractVisitor::getContextItem(), te::layout::MapModel::getWorldBox(), te::layout::MapModel::getWorldInDegrees(), te::layout::MapModel::getWorldInMeters(), te::layout::LegendItem::paint(), te::layout::ItemController::redraw(), and te::layout::MapModel::unitMeasureLayer().
| std::string te::layout::Context::getVersion | ( | ) | 
| te::layout::EnumType * te::layout::Context::getWait | ( | ) | 
Definition at line 278 of file Context.cpp.
| double te::layout::Context::getZoomFactor | ( | ) | 
Returns current zoom factor. Ex.: 0.5 (50%)
Definition at line 103 of file Context.cpp.
Referenced by te::layout::ViewZoom::applyZoom(), te::layout::View::changeZoomFactor(), te::layout::HorizontalRuler::drawRuler(), te::layout::GridMapItem::drawText(), te::layout::ParentItem< T >::drawText(), te::layout::AbstractVisitor::getContextItem(), te::layout::ToolbarOutside::onSceneZoomCurrentIndexChanged(), te::layout::PrintScene::printPaper(), te::layout::ItemController::redraw(), te::layout::MapItem::updateObserver(), te::layout::View::wheelEvent(), and te::layout::View::zoomPercentage().
Assignment operator not allowed.
| rhs | The right-hand-side copy that would be used to copy from. | 
| void te::layout::Context::setAbstractBuildGraphicsItem | ( | AbstractBuildGraphicsItem * | build | ) | 
Change a pointer for build graphics MVC components.
| a | AbstractBuildGraphicsItem pointer | 
Definition at line 213 of file Context.cpp.
Referenced by te::layout::BuildContext::createLayoutContext().
| void te::layout::Context::setAbstractBuildGraphicsOutside | ( | AbstractBuildGraphicsOutside * | build | ) | 
Change a pointer for build graphics MVC components.
| a | AbstractBuildGraphicsItem pointer | 
Definition at line 303 of file Context.cpp.
Referenced by te::layout::BuildContext::createLayoutContext().
| void te::layout::Context::setCanvas | ( | te::map::Canvas * | canvas | ) | 
Change abstraction of a drawing area.
| abstraction | of a drawing area | 
Definition at line 148 of file Context.cpp.
Referenced by te::layout::BuildContext::createLayoutContext().
| void te::layout::Context::setDefaultZoomFactor | ( | double | zoomFactor | ) | 
Change default zoom factor. Ex.: 0.5 (50%)
| zoomFactor | default zoom factor | 
Definition at line 233 of file Context.cpp.
Referenced by te::layout::ToolbarOutside::createSceneZoomCombobox().
| void te::layout::Context::setDpiX | ( | double | dpiX | ) | 
Definition at line 178 of file Context.cpp.
Referenced by te::layout::PrintScene::printPaper().
| void te::layout::Context::setDpiY | ( | double | dpiY | ) | 
Definition at line 188 of file Context.cpp.
Referenced by te::layout::PrintScene::printPaper().
| void te::layout::Context::setItem | ( | ItemObserver * | item | ) | 
Definition at line 293 of file Context.cpp.
Referenced by te::layout::View::mousePressEvent().
| void te::layout::Context::setItemFactory | ( | AbstractItemFactory * | factory | ) | 
Change factory for creating families of related or dependent graphic objects (MVC components).
| factory | for creating families of related or dependent graphic objects (MVC components) | 
Definition at line 118 of file Context.cpp.
Referenced by te::layout::BuildContext::createLayoutContext().
| void te::layout::Context::setItemUtils | ( | ItemUtils * | utils | ) | 
Change pointer for manipulating items in the scene and vectorization of text and legend.
| A | te::layout::ItemUtils pointer | 
Definition at line 268 of file Context.cpp.
Referenced by te::layout::BuildContext::createLayoutContext().
| void te::layout::Context::setLineIntersectionMouseMode | ( | EnumType * | mode | ) | 
Definition at line 223 of file Context.cpp.
Referenced by te::layout::ToolbarOutside::onLineIntersectionMouse().
| void te::layout::Context::setMode | ( | EnumType * | mode | ) | 
Change value of the enumeration of mode type. Ex.: select, pan, create text, etc. The type of mode is used by the context to know what should be done. The mode in context could be modified by the user interaction.
| value | of the enumeration of mode type | 
Definition at line 93 of file Context.cpp.
Referenced by te::layout::ToolbarOutside::changeAction(), te::layout::MapItem::changeCurrentTool(), te::layout::Scene::createItem(), te::layout::ItemUtils::createLegendChildItemFromLegend(), te::layout::ItemUtils::createTextItemFromObject(), and te::layout::View::keyPressEvent().
| void te::layout::Context::setOldZoomFactor | ( | double | zoomFactor | ) | 
Change previous zoom factor. Ex.: 0.5 (50%)
| zoomFactor | previous zoom factor | 
Definition at line 243 of file Context.cpp.
Referenced by te::layout::View::changeZoomFactor(), te::layout::ToolbarOutside::onSceneZoomCurrentIndexChanged(), and te::layout::View::wheelEvent().
| void te::layout::Context::setOutsideFactory | ( | AbstractOutsideFactory * | factory | ) | 
Change factory provide an interface for creating families of related or dependent graphic widgets (MVC widgets).
| factory | provide an interface for creating families of related or dependent graphic widgets (MVC widgets) | 
Definition at line 128 of file Context.cpp.
Referenced by te::layout::BuildContext::createLayoutContext().
| void te::layout::Context::setPaperConfig | ( | PaperConfig * | config | ) | 
Change paper setting.
| A | te::layout::PaperConfig pointer | 
Definition at line 203 of file Context.cpp.
Referenced by te::layout::BuildContext::createLayoutContext().
| void te::layout::Context::setProxyProject | ( | AbstractProxyProject * | project | ) | 
Change the proxy to provide a surrogate or placeholder for te::qt::af::Project to control access to it.
| proxy | for te::qt::af::Project | 
Definition at line 258 of file Context.cpp.
| void te::layout::Context::setScene | ( | AbstractScene * | scene | ) | 
Change scene, QGraphicsScene class, part of Graphics View Framework.
| scene | 
Definition at line 98 of file Context.cpp.
Referenced by te::layout::BuildContext::createLayoutContext().
| void te::layout::Context::setSystematicScaleConfig | ( | SystematicScaleConfig * | scale | ) | 
Definition at line 253 of file Context.cpp.
Referenced by te::layout::BuildContext::createLayoutContext().
| void te::layout::Context::setTemplateFactory | ( | AbstractTemplateFactory * | factory | ) | 
Change factory provide an interface for creating families of related or dependent templates.
| factory | provide an interface for creating families of related or dependent templates. | 
Definition at line 138 of file Context.cpp.
Referenced by te::layout::BuildContext::createLayoutContext().
| void te::layout::Context::setUnitMetric | ( | LayoutUnitsMetrics | unit | ) | 
Definition at line 168 of file Context.cpp.
| void te::layout::Context::setUtils | ( | Utils * | utils | ) | 
Change pointer with functions to manipulate the canvas and conversion between projections.
| A | te::layout::Utils pointer | 
Definition at line 158 of file Context.cpp.
Referenced by te::layout::BuildContext::createLayoutContext().
| void te::layout::Context::setWait | ( | EnumType * | wait | ) | 
Definition at line 283 of file Context.cpp.
Referenced by te::layout::View::mousePressEvent(), and te::layout::ToolbarOutside::onGeometryTriggered().
| void te::layout::Context::setZoomFactor | ( | double | zoomFactor | ) | 
Change current zoom factor. Ex.: 0.5 (50%)
| zoomFactor | current zoom factor | 
Definition at line 108 of file Context.cpp.
Referenced by te::layout::View::changeZoomFactor(), te::layout::ToolbarOutside::onSceneZoomCurrentIndexChanged(), te::layout::PrintScene::printPaper(), and te::layout::View::wheelEvent().
| 
 | friend | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
provide a surrogate or placeholder for te::qt::af::Project to control access to it
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected |