void FlowPart::setOrientation(uint orientation) { if (orientation == m_orientation) return; m_orientation = orientation; updateNodePositions(); m_pFlowCodeDocument->requestRerouteInvalidatedConnectors(); }
TreeScene::TreeScene(NetworkInfoManager * networkInfoManager) : _networkInfoManager(networkInfoManager) { _updateDagsTimer.setInterval(40); _updateDagsTimer.setSingleShot(false); connect(&_updateDagsTimer, SIGNAL(timeout()), this, SLOT(updateNodePositions())); _updateDagsTimer.start(); layout = 0; background = new QPixmap(); scale = 1.0; showNodeInfo = false; } void TreeScene::setBackground(QString newBackgroundFile) {
void FlowPart::createAltOutput() { m_altOutput = (FPNode*)createNode(0, 0, 0, "altoutput", Node::fp_out); updateNodePositions(); }
void FlowPart::createStdOutput() { m_stdOutput = (FPNode*)createNode(0, 0, 90, "stdoutput", Node::fp_out); updateNodePositions(); }
void FlowPart::createStdInput() { m_stdInput = (FPNode*)createNode(0, 0, 270, "stdinput", Node::fp_in); updateNodePositions(); }
void FlowPart::postResize() { updateNodePositions(); CNItem::postResize(); }