Handle the paint event
Fix 100% CPU usage
KeyEvent
Merge branch 'master' into Widget

Conflicts:
	application.cpp
Paint, resize events
Paint event
Merge branch 'master' of github.com:antonte/texteditor
Merge branch 'Widget'

Conflicts:
	application.cpp