rocs/VisualEditor
PointerPropertiesWidget.cpp
Go to the documentation of this file.
36 i18n("Edit Pointer Types"), pointer->dataStructure()->document()->pointerType(pointer->pointerType()), this);
39 connect(pointer->dataStructure()->document(), SIGNAL(dataTypeCreated(int)), this, SLOT(updatePointerTypes()));
40 connect(pointer->dataStructure()->document(), SIGNAL(dataTypeRemoved(int)), this, SLOT(updatePointerTypes()));
76 connect(pointerType.get(), SIGNAL(propertyAdded(QString,QVariant)), this, SLOT(updateProperties()));
78 connect(pointerType.get(), SIGNAL(propertyRenamed(QString,QString)), this, SLOT(updateProperties()));
97 ui->extraItems->setLayout(DataStructureBackendManager::self().pointerExtraProperties(_pointer, this));
103 PointerTypePtr pointerType = _pointer->dataStructure()->document()->pointerType(_pointer->pointerType());
104 ui->_pointerType->setCurrentIndex(ui->_pointerType->findData(QVariant(_pointer->pointerType())));
132 ui->_pointerType->setCurrentIndex(ui->_pointerType->findData(QVariant(_pointer->pointerType())));
void setPosition(QPointF screenPosition)
Definition: PointerPropertiesWidget.cpp:89
QString name() const
void reflectAttributes()
Definition: PointerPropertiesWidget.cpp:94
void setPointer(PointerPtr e)
Definition: PointerPropertiesWidget.cpp:49
qreal x() const
qreal y() const
Definition: model_GraphProperties.h:29
void setPointerType(int pointerTypeIndex)
Definition: PointerPropertiesWidget.cpp:118
void updateProperties()
Definition: PointerPropertiesWidget.cpp:136
void setDataSource(QObject *dataSource)
Definition: model_GraphProperties.cpp:95
void updatePointerTypes()
Definition: PointerPropertiesWidget.cpp:123
PointerPropertiesWidget(PointerPtr pointer, QWidget *parent=0)
Definition: PointerPropertiesWidget.cpp:28
void setColor(const QColor &c)
Definition: PointerPropertiesWidget.cpp:113
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.