Ktl J Ohny B Log


Commit Date  
[6dd4ed] by Julian Bäume Julian Bäume

Merge branch 'routing'

2010-09-08 11:12:01 Tree
[825e97] (routing) by Julian Bäume Julian Bäume

FIX: items being added twice into routing info

this works around a problem with the implementition of updateSceneRect()
in Cells. see comments in code for details

2010-09-08 11:05:50 Tree
[afbd72] by Julian Bäume Julian Bäume

slightly resize raster-painting area

this fixes some rare cases where the raster wasn’t painted correctly
(some dots were missing)

2010-09-07 22:51:19 Tree
2010-09-07 22:29:20 Tree
[6f92ad] by Julian Bäume Julian Bäume

fix runtime warnings about painting into QImage

2010-09-07 22:26:21 Tree
[eb1c18] by Julian Bäume Julian Bäume

force ConnectorItem to not move on setPos

this fixes an alignment bug, because ConnectorItems have pos (0,0) and
the main thing is done by the path. (0,0) is not aligned to grid…

2010-09-07 17:55:46 Tree
[045e6b] by Julian Bäume Julian Bäume

draw information in the background

2010-09-07 17:06:00 Tree
[8d3863] by Julian Bäume Julian Bäume

rename rerouted signal to routed

this is emitted, whenever a list of connector items has been routed,
even it has been the first time.

2010-09-07 03:05:32 Tree
[cd8c52] by Julian Bäume Julian Bäume

remove debug output

2010-09-07 02:46:26 Tree
[ffe298] by Julian Bäume Julian Bäume

change API to handle connections

this makes it possible to connect 2 PinItem and register them within the
connector. this is needed mainly for routing.

2010-09-07 02:34:56 Tree
[887e37] by Julian Bäume Julian Bäume

missed to connect one signal

2010-09-07 01:27:38 Tree
[e4fc3f] by Julian Bäume Julian Bäume

make internal data slightly larger

some corner-cases work, now

2010-09-07 00:04:21 Tree
[351870] by Julian Bäume Julian Bäume

fix stüpid bugs

2010-09-06 23:43:12 Tree
[b13168] by Julian Bäume Julian Bäume

some code cleanup and optimizations

* use initialisation via copy-constructor not an implizit one
(see
http://marcmutz.wordpress.com/2010/08/16/a-case-against-direct-initialisation/)
* don’t resize internal data when routing and scene-rect changed
* redundant information is redundant

2010-09-06 23:35:45 Tree
[602c35] by Julian Bäume Julian Bäume

better routing because of new interfaces

make use of the new api of the scene. this connects some slots of the
router to some signals provided by the scene.

2010-09-06 23:31:46 Tree
[8bd4cd] by Julian Bäume Julian Bäume

provide better ways to inform router about changes

add some signals to the scene, to better handle the moving of items
within the scene to inform the routing plugin about these.

also add some type information for own implementations of some
QGraphicsItems to allow qgraphicsitem_cast.

2010-09-06 23:21:23 Tree
[cffad1] by Julian Bäume Julian Bäume

let PinItem handle the offset internally

no need to let all classes know about it.

2010-09-06 15:38:57 Tree
[b59c6c] by Julian Bäume Julian Bäume

better update handling in automatic_router

make update() private and remove scene-parameter. also remove
interal "update needed" state.

2010-09-06 15:38:41 Tree
[7163c4] by Julian Bäume Julian Bäume

assert -> Q_ASSERT

better use Q_ASSERT in Qt programms

2010-09-05 22:24:31 Tree
[b2fbb0] by Zoltan P Zoltan P , pushed by Julian Bäume Julian Bäume

add an illustrative SVG picture about the layers of ktechlab objects

2010-08-19 19:28:03 Tree
[e6077b] by Julian Bäume Julian Bäume

add custom QGraphicsItem types

this will help to avoid dynamic_casts for those items

2010-08-18 03:49:33 Tree
[5118b5] by Julian Bäume Julian Bäume

cleanup automatic_router plugin

this is a pretty large commit that fixes some issues in automatic_router
plugin and makes it basically work, if the internal scores are all
up-to-date. routing will then behave very similar to the kde3 version.

there have been some misunderstandings with the coordinate-systems, so
these bugs are also fixed, now. some changes to the circuit plugin were
necessary to make this work. the components had to be moved by 4px as
well as had the connectors.

all in all the code in automatic_router is now cleaned up a bit and
works, kind of. there is still some work to be done update the internal
scores to represent the actual scene.

2010-08-18 01:57:11 Tree
[79fa7c] by Julian Bäume Julian Bäume

cleanup routing code

this now works with much less creating and deleting of graphicsitems and
therefore is better ;) it has the same result, though

2010-08-18 01:47:31 Tree
[6a7e36] by Julian Bäume Julian Bäume

add parameter to IDocumentScene::finishRouting()

this makes it possible to align points to the grid, if necessary. this
also fixes a small bug within working code, because sometimes it was
possible to "connect" the connector to a cell next to the cell
containing the pin, because of rounding issues.

2010-08-18 01:43:18 Tree
[cc8091] by Julian Bäume Julian Bäume

move utils.h into automatic_router plugin

it's only needed there and only because of compatibility issues with the
kde3 version

2010-08-18 01:40:22 Tree
Older >