__author__ = 'anna'


'''
while(application_is_active)
{
    while(event_exists_in_event_queue)
    process_next_event();
    wait_for_more_events();
}
'''

'''

events workflow

QCoreApplication::exec() # born
QCoreApplication::exit() # surrender
QCoreApplication::quit() # die



'''
