Code editor component for PyQt and PySide