#include <ItemMimeData.hxx>
Public Member Functions | |
ItemMimeData () | |
virtual | ~ItemMimeData () |
virtual void | setSubject (Subject *sub) |
virtual void | setCatalog (YACS::ENGINE::Catalog *cata) |
virtual void | setCataName (std::string cataName) |
virtual void | setCompo (std::string compo) |
virtual void | setType (std::string aType) |
virtual void | setCase (int aCase) |
virtual Subject * | getSubject (int i=0) const |
virtual YACS::ENGINE::Catalog * | getCatalog (int i=0) const |
virtual std::string | getCataName (int i=0) const |
virtual std::string | getCompo (int i=0) const |
virtual std::string | getType (int i=0) const |
virtual int | getCase () const |
virtual bool | getControl () const |
virtual void | setControl (bool control) |
virtual int | getDataSize () const |
Protected Attributes | |
std::vector< Subject * > | _sub |
std::vector < YACS::ENGINE::Catalog * > | _catalog |
std::vector< std::string > | _cataName |
std::vector< std::string > | _compoName |
std::vector< std::string > | _typeName |
int | _swCase |
bool | _control |
ItemMimeData is used for Drag and Drop of Scene Items.
Definition at line 41 of file ItemMimeData.hxx.
ItemMimeData::ItemMimeData | ( | ) |
|
virtual |
Definition at line 44 of file ItemMimeData.cxx.
|
virtual |
Definition at line 108 of file ItemMimeData.cxx.
References _swCase.
|
virtual |
Definition at line 84 of file ItemMimeData.cxx.
References _catalog, CORBAEngineTest::i, and YASSERT.
Referenced by YACS::HMI::GuiEditor::AddTypeFromCatalog(), and YACS::HMI::GuiEditor::CreateNodeFromCatalog().
|
virtual |
Definition at line 90 of file ItemMimeData.cxx.
References _cataName, CORBAEngineTest::i, and YASSERT.
|
virtual |
Definition at line 96 of file ItemMimeData.cxx.
References _compoName, CORBAEngineTest::i, and YASSERT.
Referenced by YACS::HMI::GuiEditor::CreateNodeFromCatalog().
|
virtual |
Definition at line 116 of file ItemMimeData.cxx.
References _control.
Referenced by YACS::HMI::SceneInPortItem::dropEvent(), YACS::HMI::SceneComposedNodeItem::dropEvent(), YACS::HMI::SchemaInPortItem::dropMimeData(), YACS::HMI::SchemaComposedNodeItem::dropMimeData(), and YACS::HMI::QtGuiContext::getSubjectToPaste().
|
virtual |
Definition at line 121 of file ItemMimeData.cxx.
References _cataName, _sub, and CORBAEngineTest::i.
Referenced by YACS::HMI::GuiEditor::AddTypeFromCatalog(), and YACS::HMI::GuiEditor::CreateNodeFromCatalog().
|
virtual |
Definition at line 78 of file ItemMimeData.cxx.
References _sub, CORBAEngineTest::i, and YASSERT.
Referenced by YACS::HMI::SceneCtrlInPortItem::dragEnterEvent(), YACS::HMI::SceneInPortItem::dragEnterEvent(), YACS::HMI::SceneCtrlInPortItem::dropEvent(), YACS::HMI::SceneInPortItem::dropEvent(), YACS::HMI::SceneComposedNodeItem::dropEvent(), YACS::HMI::SchemaInPortItem::dropMimeData(), YACS::HMI::SchemaNodeItem::dropMimeData(), YACS::HMI::SchemaComposedNodeItem::dropMimeData(), and YACS::HMI::QtGuiContext::getSubjectToPaste().
|
virtual |
Definition at line 102 of file ItemMimeData.cxx.
References _typeName, CORBAEngineTest::i, and YASSERT.
Referenced by YACS::HMI::GuiEditor::AddTypeFromCatalog(), and YACS::HMI::GuiEditor::CreateNodeFromCatalog().
|
virtual |
|
virtual |
Definition at line 53 of file ItemMimeData.cxx.
References _catalog.
Referenced by YACS::HMI::CatalogWidget::startDrag().
|
virtual |
Definition at line 58 of file ItemMimeData.cxx.
References _cataName.
Referenced by YACS::HMI::CatalogWidget::startDrag().
|
virtual |
Definition at line 63 of file ItemMimeData.cxx.
References _compoName.
Referenced by YACS::HMI::CatalogWidget::startDrag().
|
virtual |
Definition at line 112 of file ItemMimeData.cxx.
References _control.
Referenced by YACS::HMI::QtGuiContext::setSubjectToCopy(), YACS::HMI::QtGuiContext::setSubjectToCut(), and YACS::HMI::CatalogWidget::startDrag().
|
virtual |
Definition at line 48 of file ItemMimeData.cxx.
References _sub.
Referenced by YACS::HMI::SchemaItem::mimeData(), YACS::HMI::SchemaModel::mimeData(), YACS::HMI::SceneObserverItem::mouseMoveEvent(), YACS::HMI::SceneCtrlPortItem::mouseMoveEvent(), YACS::HMI::QtGuiContext::setSubjectToCopy(), and YACS::HMI::QtGuiContext::setSubjectToCut().
|
virtual |
Definition at line 68 of file ItemMimeData.cxx.
References _typeName.
Referenced by YACS::HMI::CatalogWidget::startDrag().
|
protected |
Definition at line 63 of file ItemMimeData.hxx.
Referenced by getCatalog(), ItemMimeData(), and setCatalog().
|
protected |
Definition at line 64 of file ItemMimeData.hxx.
Referenced by getCataName(), getDataSize(), ItemMimeData(), and setCataName().
|
protected |
Definition at line 65 of file ItemMimeData.hxx.
Referenced by getCompo(), ItemMimeData(), and setCompo().
|
protected |
Definition at line 68 of file ItemMimeData.hxx.
Referenced by getControl(), ItemMimeData(), and setControl().
|
protected |
Definition at line 62 of file ItemMimeData.hxx.
Referenced by getDataSize(), getSubject(), ItemMimeData(), and setSubject().
|
protected |
Definition at line 67 of file ItemMimeData.hxx.
Referenced by getCase(), ItemMimeData(), and setCase().
|
protected |
Definition at line 66 of file ItemMimeData.hxx.
Referenced by getType(), ItemMimeData(), and setType().