that you can set up Q to send out a 1 to the monk, a 7 to the shaman, a 4 to the mage, and a 1 to the zerker? Am I understanding this correctly?
Yes.
Start with Key Re-Map in the Mapped Key Wizard, and put this in Combat so it can be toggled off when you want to use Q for some other reason (like typing).
Give it the Hotkey Q, and tell it to send 1, and pick the Monk window in the Target box. Finish the wizard with it like this.
After you set that up, open up the Combat Key Map (select it in the top left pane), then expand your new Key re-map for Q in the bottom left (you can easily find it, it will say Q) so under it you see Steps, 1. Click the 1 under Steps.
Now to the right, you should see where it says 1 -> <your monk>, under "Actions". Right click Actions in order to add a new Action. Under Keystroke Actions, select Keystroke Action. This is the most basic Action, you just give it a key to press, and where to send it. Pick 7 for the Key combination, and in the Target have it sent to your Shaman. Do this same thing to add an Action to send 4 to the mage, and another to send 1 to the zerker.
Export to Inner Space, and now Q is pretty much set up as you described