Documents are opened in the currently active editor window You can move directly to the definition or the declaration of a symbol in the Edit mode by  - Information from doc.qt.io