[0114] 页面边白输入框改为原生 QSpinBox 数字调节框#3338
Merged
Merged
Conversation
将页面边白(Margins)设置中的三个左右边距输入框,从自由文本输入 改为原生 Qt 数字调节框(QSpinBox),并固定单位为 mm。 主要改动: 1. C++ 层新增 qt_numeric_input_widget_rep,底层使用 QSpinBox 2. Glue 层新增 widget-numeric-input 绑定 3. Scheme 层新增 numeric-input GUI 原语 4. 侧边栏和弹窗中的 Left/Right 三个输入框使用 numeric-input 5. auto 默认值显示为 30mm,支持 0-500mm 范围,步长 1mm 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.
改动摘要
将页面边白(Margins)设置中的三个左右边距输入框,从自由文本输入改为原生 Qt 数字调节框(QSpinBox),并固定单位为 mm。
主要修改
qt_numeric_input_widget_rep,底层使用QSpinBoxwidget-numeric-input绑定numeric-inputGUI 原语numeric-input行为变化
auto默认值显示为30mm0-500mm,步长1mmmm固定显示在旁边测试建议
编译说明
需重新编译 C++ 代码(新增 widget 类型和 glue 绑定)。
🤖 Generated with Claude Code