Node Class Reference
#include <node.h>
List of all members.
Detailed Description
Definition at line 37 of file node.h.
Member Enumeration Documentation
- Enumerator:
-
Definition at line 64 of file node.h.
Constructor & Destructor Documentation
Node::Node |
( |
Graph * |
parent |
) |
|
Member Function Documentation
void Node::addDynamicProperty |
( |
QString |
property, |
|
|
QVariant |
value | |
|
) |
| | [slot] |
Add a property to this node
- Parameters:
-
| property | Name of property - Parameters:
-
| value | Value of the property. arg2 shoud be different of QVariant::Invalid. |
|
Definition at line 526 of file node.cpp.
void Node::addInEdge |
( |
Edge * |
e |
) |
|
void Node::addOutEdge |
( |
Edge * |
e |
) |
|
void Node::addSelfEdge |
( |
Edge * |
e |
) |
|
EdgeList Node::adjacent_edges |
( |
|
) |
const [slot] |
QList< Node * > Node::adjacent_nodes |
( |
|
) |
const [slot] |
bool Node::begin |
( |
|
) |
const [slot] |
void Node::changed |
( |
|
) |
[signal] |
const QString& Node::color |
( |
|
) |
const [slot] |
bool Node::end |
( |
|
) |
const [slot] |
Graph* Node::graph |
( |
|
) |
[inline] |
void Node::hideImage |
( |
bool |
b |
) |
[slot] |
void Node::hideName |
( |
bool |
b |
) |
[slot] |
void Node::hideValue |
( |
bool |
b |
) |
[slot] |
const QString& Node::icon |
( |
|
) |
const [slot] |
const QString& Node::iconPackage |
( |
|
) |
const [slot] |
const QPixmap& Node::image |
( |
|
) |
const [slot] |
EdgeList Node::in_edges |
( |
|
) |
const [slot] |
bool Node::inEdgesCapacityReached |
( |
|
) |
const |
const int& Node::maxInEdges |
( |
|
) |
const [slot] |
const int& Node::maxOutEdges |
( |
|
) |
const [slot] |
const int& Node::maxSelfEdges |
( |
|
) |
const [slot] |
const QString& Node::name |
( |
|
) |
const [slot] |
QGraphicsSvgItem * Node::nodeItem |
( |
|
) |
[slot] |
EdgeList Node::out_edges |
( |
|
) |
const [slot] |
bool Node::outEdgesCapacityReached |
( |
|
) |
const |
void Node::removed |
( |
|
) |
[signal] |
void Node::removeDynamicProperty |
( |
QString |
property |
) |
[slot] |
Remove property arg1 from this node. If property arg1 don't exist in this node, nothing is made.
- Parameters:
-
| property | name os property to remove |
Definition at line 535 of file node.cpp.
void Node::removeEdge |
( |
Edge * |
e, |
|
|
int |
edgeList | |
|
) |
| | |
EdgeList Node::self_edges |
( |
|
) |
const [slot] |
bool Node::selfEdgesCapacityReached |
( |
|
) |
const |
void Node::setBegin |
( |
bool |
begin = true |
) |
[slot] |
void Node::setColor |
( |
const QString & |
s |
) |
[slot] |
void Node::setEnd |
( |
bool |
end = true |
) |
[slot] |
void Node::setIcon |
( |
const QString & |
s |
) |
[slot] |
void Node::setIconPackage |
( |
const QString & |
s |
) |
[slot] |
void Node::setImage |
( |
const QPixmap & |
p |
) |
[slot] |
void Node::setMaxInEdges |
( |
const int & |
m |
) |
[slot] |
void Node::setMaxOutEdges |
( |
const int & |
m |
) |
[slot] |
void Node::setMaxSelfEdges |
( |
const int & |
m |
) |
[slot] |
void Node::setName |
( |
const QString & |
s |
) |
[slot] |
void Node::setNodeItem |
( |
QGraphicsSvgItem * |
ni |
) |
[slot] |
void Node::setPos |
( |
qreal |
x, |
|
|
qreal |
y | |
|
) |
| | [slot] |
void Node::setType |
( |
QString |
type |
) |
[slot] |
void Node::setValue |
( |
const QString & |
s |
) |
[slot] |
void Node::setValue |
( |
const QVariant |
v |
) |
[slot] |
void Node::setValueHeader |
( |
const QString & |
s |
) |
[inline, slot] |
void Node::setWidth |
( |
double |
w |
) |
[slot] |
void Node::setX |
( |
int |
x |
) |
[slot] |
void Node::setY |
( |
int |
y |
) |
[slot] |
void Node::startChange |
( |
|
) |
|
QString Node::type |
( |
|
) |
[slot] |
const QVariant Node::value |
( |
|
) |
const [slot] |
const QString Node::valueHeader |
( |
|
) |
[inline, slot] |
qreal Node::width |
( |
|
) |
const [slot] |
qreal Node::x |
( |
|
) |
const [slot] |
qreal Node::y |
( |
|
) |
const [slot] |
Property Documentation
bool Node::begin [read, write] |
const QString & Node::color [read, write] |
bool Node::end [read, write] |
const QString & Node::icon [read, write] |
const QString & Node::iconPackage [read, write] |
const QPixmap & Node::image [read, write] |
const int & Node::maxInEdges [read, write] |
const int & Node::maxOutEdges [read, write] |
const int & Node::maxSelfEdges [read, write] |
const QString & Node::name [read, write] |
const QVariant Node::value [read, write] |
qreal Node::width [read, write] |
qreal Node::x [read, write] |
qreal Node::y [read, write] |
The documentation for this class was generated from the following files:
- creator/plugins/kparts/codeeditorpart/Core/node.h
- creator/plugins/kparts/codeeditorpart/Core/node.cpp