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

Tree of names of all the items entered on the scene, MVC components, using Qt to present the name of each item and its class. Object Inspector. More...

#include <ObjectInspectorOutside.h>

Inheritance diagram for te::layout::ObjectInspectorOutside:
te::layout::OutsideObserver te::layout::Observer

Public Member Functions

virtual OutsideControllergetController ()
 Returns the "Controller" part of the MVC. More...
 
virtual ObservablegetModel ()
 Returns the "Model" part of the MVC. More...
 
virtual PropertyBrowsergetObjectInspector ()
 
virtual te::gm::Coord2D getPosition ()
 Method that returns the position llx, lly Reimplement this function in a ItemObserver subclass to provide the item's getPosition implementation. More...
 
virtual PropertiesgetProperties () const
 Reimplemented from Observer. More...
 
virtual void itemsInspector (QList< QGraphicsItem * > graphicsItems)
 
 ObjectInspectorOutside (OutsideController *controller, Observable *o, PropertyBrowser *propertyBrowser=0)
 
virtual void refresh ()
 Updated model state. More...
 
virtual void selectItems (QList< QGraphicsItem * > graphicsItems)
 
virtual void setPosition (const double &x, const double &y)
 Change coordinate llx,lly of the MVC widget. Reimplement this function in a ItemController subclass to provide the controller's create implementation. More...
 
virtual void updateObserver (ContextItem context)
 Reimplemented from Observer. More...
 
virtual ~ObjectInspectorOutside ()
 

Protected Slots

virtual bool hasMoveItemGroup (QList< QGraphicsItem * > graphicsItems)
 
virtual void onRemoveProperties (std::vector< std::string > names)
 

Protected Member Functions

virtual QtProperty * addProperty (QGraphicsItem *item)
 
virtual Property createProperty (ItemObserver *item)
 
virtual void createSubProperty (QGraphicsItem *item, QtProperty *prop)
 
virtual bool hasProperty (Property property)
 

Protected Attributes

OutsideControllerm_controller
 "Controller" part of MVC widget. More...
 
QList< QGraphicsItem * > m_graphicsItems
 
PropertyBrowserm_layoutPropertyBrowser
 
Observablem_model
 "Model" part of MVC widget. More...
 

Detailed Description

Tree of names of all the items entered on the scene, MVC components, using Qt to present the name of each item and its class. Object Inspector.

See also
te::layout::OutsideObserver

Definition at line 58 of file ObjectInspectorOutside.h.

Constructor & Destructor Documentation

te::layout::ObjectInspectorOutside::~ObjectInspectorOutside ( )
virtual

Definition at line 81 of file ObjectInspectorOutside.cpp.

Member Function Documentation

QtProperty * te::layout::ObjectInspectorOutside::addProperty ( QGraphicsItem *  item)
protectedvirtual

Definition at line 230 of file ObjectInspectorOutside.cpp.

void te::layout::ObjectInspectorOutside::createSubProperty ( QGraphicsItem *  item,
QtProperty *  prop 
)
protectedvirtual

Definition at line 267 of file ObjectInspectorOutside.cpp.

te::layout::OutsideController * te::layout::OutsideObserver::getController ( )
virtualinherited

Returns the "Controller" part of the MVC.

Returns
controller

Definition at line 59 of file OutsideObserver.cpp.

te::layout::Observable * te::layout::OutsideObserver::getModel ( )
virtualinherited

Returns the "Model" part of the MVC.

Returns
model

Definition at line 64 of file OutsideObserver.cpp.

Referenced by te::layout::DialogPropertiesBrowser::onShowGridSettingsDlg().

te::layout::PropertyBrowser * te::layout::ObjectInspectorOutside::getObjectInspector ( )
virtual

Definition at line 197 of file ObjectInspectorOutside.cpp.

te::gm::Coord2D te::layout::ObjectInspectorOutside::getPosition ( )
virtual

Method that returns the position llx, lly Reimplement this function in a ItemObserver subclass to provide the item's getPosition implementation.

Returns
coordinate

Implements te::layout::OutsideObserver.

Definition at line 101 of file ObjectInspectorOutside.cpp.

References te::gm::Coord2D::x, and te::gm::Coord2D::y.

te::layout::Properties * te::layout::OutsideObserver::getProperties ( ) const
virtualinherited

Reimplemented from Observer.

Definition at line 54 of file OutsideObserver.cpp.

References te::layout::Properties::getProperties().

bool te::layout::ObjectInspectorOutside::hasMoveItemGroup ( QList< QGraphicsItem * >  graphicsItems)
protectedvirtualslot
bool te::layout::ObjectInspectorOutside::hasProperty ( Property  property)
protectedvirtual

Definition at line 329 of file ObjectInspectorOutside.cpp.

void te::layout::ObjectInspectorOutside::itemsInspector ( QList< QGraphicsItem * >  graphicsItems)
virtual
void te::layout::ObjectInspectorOutside::onRemoveProperties ( std::vector< std::string >  names)
protectedvirtualslot

Definition at line 162 of file ObjectInspectorOutside.cpp.

References te::layout::Property::isNull().

void te::layout::OutsideObserver::refresh ( )
virtualinherited

Updated model state.

Parameters
trueif refresh the current position, false otherwise

Definition at line 48 of file OutsideObserver.cpp.

References te::gm::Coord2D::x, and te::gm::Coord2D::y.

void te::layout::ObjectInspectorOutside::selectItems ( QList< QGraphicsItem * >  graphicsItems)
virtual
void te::layout::ObjectInspectorOutside::setPosition ( const double &  x,
const double &  y 
)
virtual

Change coordinate llx,lly of the MVC widget. Reimplement this function in a ItemController subclass to provide the controller's create implementation.

Parameters
xllx
ylly

Implements te::layout::OutsideObserver.

Definition at line 95 of file ObjectInspectorOutside.cpp.

void te::layout::ObjectInspectorOutside::updateObserver ( ContextItem  context)
virtual

Reimplemented from Observer.

Implements te::layout::OutsideObserver.

Definition at line 86 of file ObjectInspectorOutside.cpp.

References te::layout::ContextItem::isShow().

Member Data Documentation

OutsideController* te::layout::OutsideObserver::m_controller
protectedinherited

"Controller" part of MVC widget.

Definition at line 119 of file OutsideObserver.h.

QList<QGraphicsItem*> te::layout::ObjectInspectorOutside::m_graphicsItems
protected

Definition at line 97 of file ObjectInspectorOutside.h.

PropertyBrowser* te::layout::ObjectInspectorOutside::m_layoutPropertyBrowser
protected

Definition at line 96 of file ObjectInspectorOutside.h.

Referenced by ObjectInspectorOutside().

Observable* te::layout::OutsideObserver::m_model
protectedinherited

The documentation for this class was generated from the following files: