From cabdea2764cc7d4f87580e7ff64e49e700cd8977 Mon Sep 17 00:00:00 2001 From: haruka tsubota Date: Tue, 8 Oct 2024 17:07:45 +0900 Subject: [PATCH] Add help message about customizing BOM export file format in Assembly workbench --- src/Mod/Assembly/CommandCreateBom.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/Mod/Assembly/CommandCreateBom.py b/src/Mod/Assembly/CommandCreateBom.py index a61acc1591..6b5a55621c 100644 --- a/src/Mod/Assembly/CommandCreateBom.py +++ b/src/Mod/Assembly/CommandCreateBom.py @@ -412,14 +412,26 @@ class TaskAssemblyCreateBom(QtCore.QObject): ) + "\n" ) + export_title = QtWidgets.QLabel("" + translate("Assembly", "Export:") + "") + export_text = QtWidgets.QLabel( + " - " + + translate( + "Assembly", + "The exported file format can be customized in the Spreadsheet workbench preferences.", + ) + + "\n" + ) options_text.setWordWrap(True) columns_text.setWordWrap(True) + export_text.setWordWrap(True) layout.addWidget(options_title) layout.addWidget(options_text) layout.addWidget(columns_title) layout.addWidget(columns_text) + layout.addWidget(export_title) + layout.addWidget(export_text) help_dialog.setLayout(layout) help_dialog.setFixedWidth(500)