mirror of
https://github.com/leozide/leocad.git
synced 2026-10-26 22:10:32 +00:00
Use model and submodel terminology in user-facing help, errors, and the Windows file-type description. Standardize keyframe and spotlight text across menus, properties, undo history, and default light names while preserving internal identifiers and file-format tokens. Correct the directional-light and movement-snapping descriptions, remove obsolete Ctrl advice from Zoom Extents, and fix deselection and rotation wording. Leave translation catalogs unchanged for the deferred catalog update. Validation: debug build passes without warnings; UI XML and string-only diff checks pass.
183 lines
6.4 KiB
XML
183 lines
6.4 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 model and its submodels. Create, rename, duplicate, delete, or reorder entries, 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 entry active.</p><p>Model and submodel names must be unique; 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.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>&New...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="DeleteModel">
|
|
<property name="toolTip">
|
|
<string>Remove the selected entries.</string>
|
|
</property>
|
|
<property name="whatsThis">
|
|
<string><p><b>Delete Submodels</b></p><p>Remove the selected entries after confirmation. At least one entry must remain. Changes take effect 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 entry active for editing. When unchecked, the existing active entry is retained if it remains in the list.</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>
|