Ktl J Ohny B Log


Commit Date  
[07f643] by Julian Bäume Julian Bäume

rename pins

the pins are numbered starting from 0. this needs some more work to
provide logic components with more input pins, but this will be done
later. for now this fixes compatibility issues with the kde3 version
(and logic components with 2 inputs)

2010-08-12 22:08:59 Tree
[c9b8c4] by Julian Bäume Julian Bäume

rename itemById -> item(QString id)

the parameter clearly indicates, that the id is used to find the item

2010-08-12 09:45:04 Tree
[ce49fd] by Julian Bäume Julian Bäume

tweak parameters of routing

the visualisation of routing-data looks better with these parameters.
routing seems to be done fine, when the routinginformation is
up-to-date. (the later still needs some fixes)

2010-08-12 00:24:45 Tree
[3fed6f] by Julian Bäume Julian Bäume

add method to IComponentItem class

for routing, it's sometimes necessary to find out about all nodes of an
item. this method returns a list of all nodes.

2010-08-12 00:23:21 Tree
[979ec7] by Julian Bäume Julian Bäume

implement rerouting

this is a quite stupid algorithm, but it works for now. We just rerout
everything ;)

2010-08-05 14:51:47 Tree
[e42fe5] by Julian Bäume Julian Bäume

change constructors of ConnectorItem

this helps with routing and rerouting, because the ConnectorItem now
knows a bit more about its environment within the scene

2010-08-05 14:50:11 Tree
[a15e7d] by Julian Bäume Julian Bäume

change method and make it public

IComponentItem is now able to provide a Node instance that represents
the node with the given id. This is useful to provide information for
connectors.

2010-08-05 14:42:05 Tree
[5f6a89] by Julian Bäume Julian Bäume

add methods to IDocumentScene and implement them

Implementation is in CircuitScene. This information will be used for
rerouting a circuit.

2010-08-05 14:39:28 Tree
[e8a14a] by Julian Bäume Julian Bäume

keep track of Nodes in ConnectorItem

Implement getters and settters for startNode and endNode attributes.

2010-08-05 14:26:37 Tree
[0b703b] by Julian Bäume Julian Bäume

keep pointers to Node in Connector

Change the API of the Connector-interface and implement getters and
setters for start and end node.

2010-08-05 14:22:26 Tree
[61aeb5] by Julian Bäume Julian Bäume

fix PinItem position within the scene

PinItem::scenePos() will now return the center of the rect. This is
better for routing, because of the old implementation.

2010-08-05 14:18:27 Tree
[b8b1cb] by Julian Bäume Julian Bäume

add new methods to IComponentItem

one public to check if a given Node belongs to this component and one
protected to check whether one of the childItems has a given id

2010-08-03 14:18:48 Tree
[cb2ad4] by Julian Bäume Julian Bäume

implement ConnectorItem::connector getter-method

also add API-docs

2010-08-03 14:17:20 Tree
[5daa04] by Julian Bäume Julian Bäume

add Connector::connectsTo method

this will help finding the connectors that need rerouting

2010-08-03 14:12:51 Tree
[19c032] by Julian Bäume Julian Bäume

add comment

2010-07-31 11:45:03 Tree
[a49d89] by Julian Bäume Julian Bäume

add alignToGrid-logic and use it when moving items

The scene will handle all moving of items, and it will optionally align
all items to a grid. by default, this will be handled by the routing
plugin, but this can be changed by sub-classing IDocumentScene. Also the
AutomaticRouter plugin aligns the objects to the 8x8-grid used
internally by the plugin.

2010-07-31 01:18:59 Tree
[99a9ed] by Julian Bäume Julian Bäume

update flags of graphic-items

we want movable items and don't want to receive scene position changes
(we will send them ourselves when necessary)

2010-07-31 01:14:34 Tree
[a133a7] by Julian Bäume Julian Bäume

remove move-handling from ComponentItem

it will be handled in IDocumentScene, soon. Items shouldn't be aware of
the grid and all the logic that is needed to move items around.

2010-07-31 01:10:42 Tree
2010-07-30 23:02:02 Tree
[6ab075] by Julian Bäume Julian Bäume

remove some testing code

i din't intend to commit that

2010-07-30 19:35:29 Tree
[dfe209] by Julian Bäume Julian Bäume

move many things around

* move many methods from IRouterPlugin into IRoutingInformation
* update plugins and tests and dependend classes

2010-07-30 18:35:00 Tree
[3a2bb5] by Julian Bäume Julian Bäume

rename IConRouter -> IRouterPlugin

this name better describes the purpose of that interface. some more
refactoring is yet to come.

2010-07-30 15:08:46 Tree
[7f79d7] by Julian Bäume Julian Bäume

add test for the automatic router plugin

test some cases, that help debugging routing visualization.

2010-07-29 23:08:52 Tree
[a7d7ac] by Julian Bäume Julian Bäume

major rework and fixing of routing visualization

most functionality has been moved into the base class, since it should
be the same for every visualization. individual data can be provided by
2 virtual protected methods by the actual implementation.

2010-07-29 23:06:19 Tree
[824901] by Julian Bäume Julian Bäume

add method to retrieve the scene from the document

this is needed for testing, but could be used in other cases, too

2010-07-29 22:58:49 Tree
Older >

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks