framework based on PyQt4