void ProcessorInportGraphicsItem::showToolTip(QGraphicsSceneHelpEvent* e) {
    if (port_->isConnected()) {
        showPortInfo(e, port_->getConnectedOutport());
    } else {
        showPortInfo(e, port_);
    }
}
void ProcessorPortGraphicsItem::showToolTip(QGraphicsSceneHelpEvent* e) {
    showPortInfo(e, port_);
}
Пример #3
0
void ConnectionGraphicsItem::showToolTip(QGraphicsSceneHelpEvent* e) {
    showPortInfo(e, getOutport());
}