add mainwin
add log4qt
Merge branch 'tmp'