i don`t get why when iam using a spst switch with these logic gates the circut dont implies voltage and i have to use that logic gates ()? and another thing how i can make 2 pads in the pcb layout for an out source without determining that it is a battery ? thanks
I'm not sure I understand your question - however...
The 7404 is a bipolar TTL part. TTL inputs source current, and will appear as a logic High if not connected. They must be connected to ground, either directly, or through a low value resistor, to be seen as a logic Low, so you should connect your switch between the input pin and ground.
Also, a TTL output can sink much more current than it can source, so it is best to connect your LEDs and the required series resistor between the output pin and the positive supply rather than between the output pin and ground. You must have a resistor in series with the LED to limit the current through the LED - 300 - 400 ohms would do.
Your circuit should be something like:
R1 is optional, but recommended.
I don't know Proteus, but it is likely that you have to connect the 7404's Vcc pin to a +5 volt power source, and connect its ground pin to the circuit ground, in order for the simulation to work.