Removed unused imports and removed import all from qt.
Removed example xml from comment, its included in the sphinx documentation.
Updated the documentation.