I doubt it is any different in any other Qt-based Application. At least, it's not my choice.
What command do you mean? The GUI doesn't run any command. The events are set through the alarmd library (python-alarm). Do you mean the command that you might have entered as a command line execution? Well that command gets run by the Nokia alarmd backend. I suppose it might be possible to nest any command the user enters into () > /opt/alarmed/log but it seems a bit hackish.