Brief description of class still missing. More...
#include <PropertyContext.h>
Public Member Functions | |
void | initProxy () |
PropertyContext () | |
PropertyProxy * | proxy () const |
void | raiseEditor () |
void | setPropertyTitle (QWidget *parentTitle) |
~PropertyContext () |
Brief description of class still missing.
Full description of class still missing
Description of constructor still missing
{ _proxy=0; }
Description of destructor still missing
{
delete _proxy;
_proxy=0;
}
Referenced by SciFigs::GraphicObject::showProperties(), and SciFigs::GraphicSheet::showProperties().
{ if(!_proxy) { _proxy=new PropertyProxy; } }
PropertyProxy* QGpGuiTools::PropertyContext::proxy | ( | ) | const [inline] |
Reimplemented in SciFigs::GraphicObject.
Referenced by SciFigs::GraphicSheet::moveObject(), SciFigs::GraphicObject::proxy(), SciFigs::GraphicSheet::removeObject(), SciFigs::GraphicSheet::selectAll(), SciFigs::GraphicSheet::selectObjects(), SciFigs::GraphicSheet::showProperties(), and SciFigs::GraphicSheet::~GraphicSheet().
{return _proxy;}
References QGpGuiTools::PropertyProxy::raiseEditor().
Referenced by SciFigs::GraphicObject::showProperties(), and SciFigs::GraphicSheet::showProperties().
{ if(_proxy) { _proxy->raiseEditor(); } }
void QGpGuiTools::PropertyContext::setPropertyTitle | ( | QWidget * | parentTitle | ) |
The title is grabbed from parentTitle. If it is empty it is search in its parents.
References QGpGuiTools::PropertyProxy::setTitle().
Referenced by SciFigs::GraphicObject::showProperties(), and SciFigs::GraphicSheet::showProperties().
{ QString title; do { if( !parentTitle) break; title=parentTitle->windowTitle(); parentTitle=parentTitle->parentWidget(); } while(title.isEmpty()); _proxy->setTitle(title); }