I am new to qucs and I am currently trying to draw the schematics (and hopefully simulate) the circuit in the last page of this pdf

There are 2 specific problems that I am facing,
1. How can you draw a +5V in the way specified in the circuit mentioned above. I am aware that there is a DC source but you need to ground that all the time.

2. Does qucs support an optosensor which is the QRD1114 in the circuit? If it is not in the component library, how do I define it in qucs?

Wei Kee