#include <GridSettingsController.h>
Public Member Functions | |
virtual void | addUpdateGeodesicProperty (GridSettingsModel *outsideModel, Property subProperty, LayoutGridType gridType) |
virtual void | addUpdatePlanarProperty (GridSettingsModel *outsideModel, Property subProperty, LayoutGridType gridType) |
virtual void | addUpdateProperty (std::string name, Variant variant, LayoutGridType gridType) |
virtual void | clearUpdate () |
const Observable * | getModel () |
virtual Property | getProperty (std::string name, LayoutGridType gridType) |
const Observer * | getView () |
GridSettingsController (Observable *o) | |
virtual void | setPosition (const double &x, const double &y) |
virtual Property | updateProperty () |
virtual | ~GridSettingsController () |
Protected Attributes | |
Property | m_gridGeodesic |
Property | m_gridPlanar |
Observable * | m_model |
Property | m_update |
Observer * | m_view |
Definition at line 42 of file GridSettingsController.h.
te::layout::GridSettingsController::GridSettingsController | ( | Observable * | o | ) |
Definition at line 37 of file GridSettingsController.cpp.
References te::layout::Context::getInstance(), te::layout::Context::getOutsideFactory(), te::layout::OutsideController::m_model, te::layout::OutsideController::m_view, te::layout::AbstractOutsideFactory::make(), and te::layout::TPGridSettings.
|
virtual |
Definition at line 46 of file GridSettingsController.cpp.
|
virtual |
Definition at line 137 of file GridSettingsController.cpp.
References te::layout::GridSettingsModel::containsGrid(), te::layout::Property::getId(), te::layout::Property::getName(), te::layout::Property::getValue(), te::layout::Property::isEditable(), te::layout::Property::isNull(), and te::layout::Property::setEditable().
|
virtual |
Definition at line 166 of file GridSettingsController.cpp.
References te::layout::GridSettingsModel::containsGrid(), te::layout::Property::getId(), te::layout::Property::getName(), te::layout::Property::getValue(), te::layout::Property::isEditable(), te::layout::Property::isNull(), and te::layout::Property::setEditable().
|
virtual |
Definition at line 73 of file GridSettingsController.cpp.
References te::layout::GridSettingsModel::containsOutsideSubProperty(), te::layout::Property::getId(), te::layout::Property::getName(), te::layout::GridSettingsModel::getOutsideProperty(), te::layout::Property::getValue(), te::layout::Property::isEditable(), te::layout::Property::setEditable(), te::layout::Property::setValue(), te::layout::TypeGeodesic, te::layout::TypePlanar, and te::layout::GridSettingsModel::updateOutsideSubProperty().
Referenced by te::layout::GridSettingsOutside::on_chkBottomGeoText_clicked(), te::layout::GridSettingsOutside::on_chkBottomPlanarText_clicked(), te::layout::GridSettingsOutside::on_chkBottomRotateGeoText_clicked(), te::layout::GridSettingsOutside::on_chkBottomRotatePlanarText_clicked(), te::layout::GridSettingsOutside::on_chkDegreesGeoText_clicked(), te::layout::GridSettingsOutside::on_chkLeftGeoText_clicked(), te::layout::GridSettingsOutside::on_chkLeftPlanarText_clicked(), te::layout::GridSettingsOutside::on_chkLeftRotateGeoText_clicked(), te::layout::GridSettingsOutside::on_chkLeftRotatePlanarText_clicked(), te::layout::GridSettingsOutside::on_chkLowerLeftCornerGeoText_clicked(), te::layout::GridSettingsOutside::on_chkLowerRightCornerGeoText_clicked(), te::layout::GridSettingsOutside::on_chkMinutesGeoText_clicked(), te::layout::GridSettingsOutside::on_chkRightGeoText_clicked(), te::layout::GridSettingsOutside::on_chkRightPlanarText_clicked(), te::layout::GridSettingsOutside::on_chkRightRotateGeoText_clicked(), te::layout::GridSettingsOutside::on_chkRightRotatePlanarText_clicked(), te::layout::GridSettingsOutside::on_chkSecondsGeoText_clicked(), te::layout::GridSettingsOutside::on_chkShowGeodesic_clicked(), te::layout::GridSettingsOutside::on_chkShowPlanar_clicked(), te::layout::GridSettingsOutside::on_chkSuperscriptGeoText_clicked(), te::layout::GridSettingsOutside::on_chkSuperscriptPlanarText_clicked(), te::layout::GridSettingsOutside::on_chkTopGeoText_clicked(), te::layout::GridSettingsOutside::on_chkTopPlanarText_clicked(), te::layout::GridSettingsOutside::on_chkTopRotateGeoText_clicked(), te::layout::GridSettingsOutside::on_chkTopRotatePlanarText_clicked(), te::layout::GridSettingsOutside::on_chkUpperLeftCornerGeoText_clicked(), te::layout::GridSettingsOutside::on_chkUpperRightCornerGeoText_clicked(), te::layout::GridSettingsOutside::on_chkVisibleCornerTextsGeoText_clicked(), te::layout::GridSettingsOutside::on_chkVisibleTextsGeoText_clicked(), te::layout::GridSettingsOutside::on_chkVisibleTextsPlanarText_clicked(), te::layout::GridSettingsOutside::on_ckbClip_clicked(), te::layout::GridSettingsOutside::on_ckDefineScale_clicked(), te::layout::GridSettingsOutside::on_cmbCornerGeoFont_currentIndexChanged(), te::layout::GridSettingsOutside::on_cmbCornerGeoTextSize_currentIndexChanged(), te::layout::GridSettingsOutside::on_cmbGeoFont_currentIndexChanged(), te::layout::GridSettingsOutside::on_cmbGeoTextSize_currentIndexChanged(), te::layout::GridSettingsOutside::on_cmbGridStyle_currentIndexChanged(), te::layout::GridSettingsOutside::on_cmbLineType_currentIndexChanged(), te::layout::GridSettingsOutside::on_cmbLineWidth_currentIndexChanged(), te::layout::GridSettingsOutside::on_cmbPlanarFont_currentIndexChanged(), te::layout::GridSettingsOutside::on_cmbPlanarLineType_currentIndexChanged(), te::layout::GridSettingsOutside::on_cmbPlanarLineWidth_currentIndexChanged(), te::layout::GridSettingsOutside::on_cmbPlanarStyle_currentIndexChanged(), te::layout::GridSettingsOutside::on_cmbPlanarTextSize_currentIndexChanged(), te::layout::GridSettingsOutside::on_cmbScale_currentIndexChanged(), te::layout::GridSettingsOutside::on_cmbUnit_currentIndexChanged(), te::layout::GridSettingsOutside::on_lneCornerHrzGeoDisplacement_editingFinished(), te::layout::GridSettingsOutside::on_lneCornerVrtGeoDisplacement_editingFinished(), te::layout::GridSettingsOutside::on_lneHorizontalGap_editingFinished(), te::layout::GridSettingsOutside::on_lneHrzGeoDisplacement_editingFinished(), te::layout::GridSettingsOutside::on_lneHrzPlanarDisplacement_editingFinished(), te::layout::GridSettingsOutside::on_lneHrzPlanarGap_editingFinished(), te::layout::GridSettingsOutside::on_lneVerticalGap_editingFinished(), te::layout::GridSettingsOutside::on_lneVrtGeoDisplacement_editingFinished(), te::layout::GridSettingsOutside::on_lneVrtPlanarDisplacement_editingFinished(), te::layout::GridSettingsOutside::on_lneVrtPlanarGap_editingFinished(), te::layout::GridSettingsOutside::on_lneX1_editingFinished(), te::layout::GridSettingsOutside::on_lneX2_editingFinished(), te::layout::GridSettingsOutside::on_lneX3_editingFinished(), te::layout::GridSettingsOutside::on_lneX4_editingFinished(), te::layout::GridSettingsOutside::on_lneY1_editingFinished(), te::layout::GridSettingsOutside::on_lneY2_editingFinished(), te::layout::GridSettingsOutside::on_lneY3_editingFinished(), te::layout::GridSettingsOutside::on_lneY4_editingFinished(), te::layout::GridSettingsOutside::on_pbCornerTextGeoColor_clicked(), te::layout::GridSettingsOutside::on_pbGridTextGeoColor_clicked(), te::layout::GridSettingsOutside::on_pbGridTextPlanarColor_clicked(), te::layout::GridSettingsOutside::on_pbLineColor_clicked(), te::layout::GridSettingsOutside::on_pbPlanarLineColor_clicked(), te::layout::GridSettingsOutside::on_xGridInitialPoint_geo_textField_editingFinished(), te::layout::GridSettingsOutside::on_xGridInitialPoint_planar_textField_editingFinished(), te::layout::GridSettingsOutside::on_yGridInitialPoint_geo_textField_editingFinished(), and te::layout::GridSettingsOutside::on_yGridInitialPoint_planar_textField_editingFinished().
|
virtual |
Definition at line 66 of file GridSettingsController.cpp.
Referenced by te::layout::GridSettingsOutside::on_pbApply_clicked(), and te::layout::PropertiesItemPropertyBrowser::onShowGridSettingsDlg().
|
inherited |
Definition at line 59 of file OutsideController.cpp.
|
virtual |
Definition at line 195 of file GridSettingsController.cpp.
References te::layout::GridSettingsModel::containsOutsideSubProperty().
Referenced by te::layout::GridSettingsOutside::initBool(), te::layout::GridSettingsOutside::initColor(), te::layout::GridSettingsOutside::initCombo(), te::layout::GridSettingsOutside::initDouble(), te::layout::GridSettingsOutside::initInt(), and te::layout::GridSettingsOutside::initString().
|
inherited |
Definition at line 64 of file OutsideController.cpp.
Referenced by te::layout::MainLayout::createDockLayoutDisplay(), te::layout::OutsideArea::createInspectorDock(), te::layout::OutsideArea::createPropertiesDock(), te::layout::OutsideArea::createToolbarDock(), and te::layout::PropertiesItemPropertyBrowser::onShowGridSettingsDlg().
|
virtual |
Implements te::layout::OutsideController.
Definition at line 51 of file GridSettingsController.cpp.
References te::layout::OutsideModelObservable::setPosition().
|
virtual |
Definition at line 61 of file GridSettingsController.cpp.
Referenced by te::layout::PropertiesItemPropertyBrowser::onUpdateGridSettingsProperty().
|
protected |
Definition at line 67 of file GridSettingsController.h.
|
protected |
Definition at line 66 of file GridSettingsController.h.
|
protectedinherited |
Definition at line 54 of file OutsideController.h.
Referenced by te::layout::DisplayController::DisplayController(), GridSettingsController(), te::layout::ObjectInspectorController::ObjectInspectorController(), te::layout::OutsideController::OutsideController(), te::layout::PageSetupController::PageSetupController(), te::layout::PropertiesController::PropertiesController(), and te::layout::ToolbarController::ToolbarController().
|
protected |
Definition at line 65 of file GridSettingsController.h.
|
protectedinherited |
Definition at line 55 of file OutsideController.h.
Referenced by te::layout::DisplayController::DisplayController(), GridSettingsController(), te::layout::ObjectInspectorController::ObjectInspectorController(), te::layout::PageSetupController::PageSetupController(), te::layout::PropertiesController::PropertiesController(), and te::layout::ToolbarController::ToolbarController().