Exemplo n.º 1
0
void FlowPart::setOrientation(uint orientation) {
	if (orientation == m_orientation)
		return;

	m_orientation = orientation;
	updateNodePositions();
	m_pFlowCodeDocument->requestRerouteInvalidatedConnectors();
}
Exemplo n.º 2
0
 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) {
Exemplo n.º 3
0
void FlowPart::createAltOutput() {
	m_altOutput = (FPNode*)createNode(0, 0, 0, "altoutput", Node::fp_out);
	updateNodePositions();
}
Exemplo n.º 4
0
void FlowPart::createStdOutput() {
	m_stdOutput = (FPNode*)createNode(0, 0, 90, "stdoutput", Node::fp_out);
	updateNodePositions();
}
Exemplo n.º 5
0
void FlowPart::createStdInput() {
	m_stdInput = (FPNode*)createNode(0, 0, 270, "stdinput", Node::fp_in);
	updateNodePositions();
}
Exemplo n.º 6
0
void FlowPart::postResize() {
	updateNodePositions();
	CNItem::postResize();
}