Sefrwahed/LogicSim

Draw Different Gates

Closed this issue · 3 comments

Draw Different Gates (And, Not, Or, etc) in canvas depending on which gate was dropped

@NourhanEssam
ana sebt rasmet el Or gate, w 7aleet issue #19 w #20 fe nafs el branch da
Please review as fast as possible, 3shan 3ezz hykamel 3al sho8l da.

@Tootis el gate mabtnzlsh centered makan el mouse cursor bieb2a el mouse fel top left corner fakes walla eh? xD
g->setPos(event->scenePos().x()-g->boundingRect().width()/2, event->scenePos().y()-g->boundingRect().height()/2);
8eer keda mesh shaif mashakel fel code aw el barnameg