[0153] 分屏功能:共享菜单栏/工具栏的多文档同时编辑#3437
Open
da-liii wants to merge 4 commits into
Open
Conversation
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- 在 qt_tm_widget_rep 中引入 QSplitter 和双 pane 结构 - 支持 split_window_horizontally / unsplit_window / set_active_pane - 每个 pane 可独立承载编辑器、PDF、启动页或聊天内容 - 焦点切换时自动更新菜单栏和工具栏状态 - 提供 Scheme 命令和「视图」菜单子菜单控制分屏 - 新增 qt_split_screen_test 单元测试 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- 取消注释 emacs 风格分屏快捷键 (C-c 3 分屏, C-c 0 取消, C-c o 切换) - SLOT_SCROLLABLE 在分屏模式下将新编辑器 widget 放入活动 pane Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- PaneContentState 增加 editorWidget,记录每个 pane 的编辑器 widget - SLOT_SCROLLABLE 分屏模式下仅操作活动 pane,保留另一 pane 内容 - set_active_pane 切换时从 pane 状态恢复 main_widget 并刷新菜单 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
实现主窗口内左右分屏功能,共享菜单栏和工具栏。
Test plan
🤖 Generated with Claude Code