#include #include "TextEdit.h" int main( int argc, char *argv[] ) { QApplication app( argc, argv ); TextEdit widget; widget.resize( 300, 300 ); widget.setWindowTitle( "Event-Test" ); widget.show(); return app.exec(); }