mirror of
https://github.com/leozide/leocad.git
synced 2026-10-27 06:20:55 +00:00
HTML export saved its transparency option without passing it to image rendering. Select a transparent clear background when enabled and preserve the configured background with fully opaque pixels when disabled. Keep the existing background behavior for other step-image and Save Image callers. Add tooltips, contextual overviews, and Help/F1 support to HTML Export, Submodels, and all three Render modes. Link field labels to matching help and explain export scope, file output, model management, and render controls. Refresh catalog keys and locations while preserving existing translations and review status. Leave the 56 new strings untranslated for the later translation pass. Validation: Qt 6.10 debug build; 16 actual PNG exports covering two steps, solid/gradient backgrounds, transparency on/off, tiled rendering, background colors, retained geometry, and unchanged Save Image behavior; dialog Help/F1, Escape, label-buddy and visual layout checks; catalog coverage for 2,170 active source messages; git diff --check.
117 lines
3.8 KiB
XML
117 lines
3.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>lcRenderDialog</class>
|
|
<widget class="QDialog" name="lcRenderDialog">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>576</width>
|
|
<height>424</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Render</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<layout class="QVBoxLayout" name="MainLayout">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="outputLayout">
|
|
<item>
|
|
<widget class="QLabel" name="outputLabel">
|
|
<property name="toolTip">
|
|
<string>Path and file name for the rendered image.</string>
|
|
</property>
|
|
<property name="whatsThis">
|
|
<string><p><b>Output Image</b></p><p>Choose where to save the rendered image and its format, such as PNG, JPEG, or BMP. The output path applies to image rendering; Open in Blender does not use it.</p></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Output:</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>OutputEdit</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="OutputEdit">
|
|
<property name="toolTip">
|
|
<string>Path and file name for the rendered image.</string>
|
|
</property>
|
|
<property name="whatsThis">
|
|
<string><p><b>Output Image</b></p><p>Choose where to save the rendered image and its format, such as PNG, JPEG, or BMP. The output path applies to image rendering; Open in Blender does not use it.</p></string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="OutputBrowseButton">
|
|
<property name="toolTip">
|
|
<string>Choose the rendered image file and format.</string>
|
|
</property>
|
|
<property name="accessibleName">
|
|
<string>Choose Render Output</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="lcRenderPreviewWidget" name="preview" native="true">
|
|
<property name="toolTip">
|
|
<string>Preview of the rendered image.</string>
|
|
</property>
|
|
<property name="accessibleName">
|
|
<string>Render Preview</string>
|
|
</property>
|
|
<property name="whatsThis">
|
|
<string><p><b>Render Preview</b></p><p>The preview is scaled to fit this area. Changing the dialog size does not change the output resolution; use Settings to change the image dimensions.</p></string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QProgressBar" name="RenderProgress">
|
|
<property name="toolTip">
|
|
<string>Progress of the current export or render.</string>
|
|
</property>
|
|
<property name="accessibleName">
|
|
<string>Render Progress</string>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>0</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
<property name="standardButtons">
|
|
<set>QDialogButtonBox::Close|QDialogButtonBox::Help</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>lcRenderPreviewWidget</class>
|
|
<extends>QWidget</extends>
|
|
<header>lc_renderdialog.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<tabstops>
|
|
<tabstop>OutputEdit</tabstop>
|
|
<tabstop>OutputBrowseButton</tabstop>
|
|
</tabstops>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|