[pyqt] Omit module import for inner classes