I'm a college student (so yeah i'm newb) and i have an error that i've never encountered.

Qt Code:
  1. Qt has caught an exception thrown from an event handler. Throwing
  2. exceptions from an event handler is not supported in Qt. You must
  3. reimplement QApplication::notify() and catch all exceptions there.
  4.  
  5. terminate called after throwing an instance of 'std::bad_alloc'
  6. what(): std::bad_alloc
  7.  
  8. Program received signal SIGABRT, Aborted.
  9. 0x00007ffff5f8bd05 in raise () from /lib/x86_64-linux-gnu/libc.so.6
To copy to clipboard, switch view to plain text mode 

The stacktrace from gdb return me :
Qt Code:
  1. #0 0x00007ffff5f8bd05 in raise () from /lib/x86_64-linux-gnu/libc.so.6
  2. #1 0x00007ffff5f8fab6 in abort () from /lib/x86_64-linux-gnu/libc.so.6
  3. #2 0x00007ffff68426dd in __gnu_cxx::__verbose_terminate_handler() ()
  4. from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
  5. #3 0x00007ffff6840926 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
  6. #4 0x00007ffff6840953 in std::terminate() ()
  7. from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
  8. #5 0x00007ffff6840aa6 in __cxa_rethrow ()
  9. from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
  10. #6 0x00007ffff6e05bb2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
  11. #7 0x00007ffff6e09ecb in QCoreApplication::exec() ()
  12. from /usr/lib/libQtCore.so.4
  13. #8 0x0000000000404d09 in main ()
To copy to clipboard, switch view to plain text mode 

here's the whole class: http://pastie.org/2921209

Here's some info I found when trying:
When I comment the line #26 setCentralWidget(widTurtle);

the programme will just execute fine.