mirror of
https://github.com/leozide/leocad.git
synced 2026-10-26 22:10:32 +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.
183 lines
6.5 KiB
XML
183 lines
6.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>lcModelListDialog</class>
|
|
<widget class="QDialog" name="lcModelListDialog">
|
|
<property name="whatsThis">
|
|
<string><p><b>Submodels</b></p><p>Manage the models stored in this project. Create, rename, duplicate, delete, or reorder them, then choose OK to apply the changes. Cancel discards the list changes; files already exported remain on disk.</p><p>Drag list entries to change their order. Use Set Active to switch to the current list item when applying changes.</p></string>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>421</width>
|
|
<height>348</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Submodels</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="QListWidget" name="ModelList">
|
|
<property name="toolTip">
|
|
<string>Select models to manage, or drag them to change their order.</string>
|
|
</property>
|
|
<property name="accessibleName">
|
|
<string>Submodels</string>
|
|
</property>
|
|
<property name="whatsThis">
|
|
<string><p><b>Model List</b></p><p>Select one or more entries for actions such as Rename, Duplicate, Export, or Delete. Drag entries to reorder them. Double-click an entry to apply the list changes and make that model active.</p><p>Names must be unique within the project; capitalization alone does not make a name unique.</p></string>
|
|
</property>
|
|
<property name="selectionMode">
|
|
<enum>QAbstractItemView::ExtendedSelection</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<widget class="QPushButton" name="NewModel">
|
|
<property name="toolTip">
|
|
<string>Add a new empty submodel to the project.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>&New...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="DeleteModel">
|
|
<property name="toolTip">
|
|
<string>Remove the selected models from the project.</string>
|
|
</property>
|
|
<property name="whatsThis">
|
|
<string><p><b>Delete Submodels</b></p><p>Remove the selected entries after confirmation. At least one model must remain. The project is changed when you accept this dialog.</p></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>D&elete...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="RenameModel">
|
|
<property name="toolTip">
|
|
<string>Choose a unique name for each selected model.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Rename...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="ExportModel">
|
|
<property name="toolTip">
|
|
<string>Save the selected models to separate LDraw files.</string>
|
|
</property>
|
|
<property name="whatsThis">
|
|
<string><p><b>Export Submodels</b></p><p>For one selected model, choose its output file. For several selected models, choose an output folder. Export writes files immediately, even if you later cancel this dialog.</p><p>A newly created empty model has nothing to export until the list changes have been applied.</p></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Export...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="DuplicateModel">
|
|
<property name="toolTip">
|
|
<string>Create named copies of the selected models.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Duplicate...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="SetActiveModel">
|
|
<property name="toolTip">
|
|
<string>Switch to the current list item when applying the changes.</string>
|
|
</property>
|
|
<property name="whatsThis">
|
|
<string><p><b>Set Active</b></p><p>When checked, accepting this dialog makes the current list item the active model for editing. When unchecked, the existing active model is retained if it remains in the project.</p></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Set Active</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>40</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="standardButtons">
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<tabstops>
|
|
<tabstop>ModelList</tabstop>
|
|
<tabstop>NewModel</tabstop>
|
|
<tabstop>DeleteModel</tabstop>
|
|
<tabstop>RenameModel</tabstop>
|
|
<tabstop>ExportModel</tabstop>
|
|
<tabstop>DuplicateModel</tabstop>
|
|
<tabstop>SetActiveModel</tabstop>
|
|
</tabstops>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>accepted()</signal>
|
|
<receiver>lcModelListDialog</receiver>
|
|
<slot>accept()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>248</x>
|
|
<y>254</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>157</x>
|
|
<y>274</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>rejected()</signal>
|
|
<receiver>lcModelListDialog</receiver>
|
|
<slot>reject()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>316</x>
|
|
<y>260</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>286</x>
|
|
<y>274</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|