From 38f9df431f6a0d31020a0f764db551d16594cac8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CJYN=E2=80=9D?= Date: Wed, 20 May 2026 17:43:08 +0800 Subject: [PATCH] =?UTF-8?q?feat/=E7=AE=80=E5=8C=96=E5=B8=AE=E5=8A=A9?= =?UTF-8?q?=E5=8F=8A=E6=94=B9=E5=90=8D=E6=9B=BF=E6=8D=A2-csm-0520?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Gui/CommandStd.cpp | 2 +- src/Gui/Dialogs/AboutApplication.ui | 6 +++--- src/Gui/Dialogs/DlgAbout.cpp | 4 ++-- src/Gui/OnlineDocumentation.cpp | 4 ++-- src/Gui/Workbench.cpp | 17 +++-------------- src/Main/MainGui.cpp | 12 ++++++------ src/Mod/Start/Gui/Manipulator.cpp | 9 +++++++-- 7 files changed, 24 insertions(+), 30 deletions(-) diff --git a/src/Gui/CommandStd.cpp b/src/Gui/CommandStd.cpp index 1055bd6..1112def 100644 --- a/src/Gui/CommandStd.cpp +++ b/src/Gui/CommandStd.cpp @@ -351,7 +351,7 @@ void StdCmdRestartInSafeMode::activated(int iMsg) QMessageBox restartBox(Gui::getMainWindow()); restartBox.setIcon(QMessageBox::Warning); restartBox.setWindowTitle(QObject::tr("Restart in Safe Mode")); - restartBox.setText(QObject::tr("Restart FreeCAD and enter safe mode?")); + restartBox.setText(QObject::tr("Restart Light works 3D and enter safe mode?")); restartBox.setInformativeText( QObject::tr("Safe mode temporarily disables the configuration and addons.") ); diff --git a/src/Gui/Dialogs/AboutApplication.ui b/src/Gui/Dialogs/AboutApplication.ui index 34d61cc..f96c166 100644 --- a/src/Gui/Dialogs/AboutApplication.ui +++ b/src/Gui/Dialogs/AboutApplication.ui @@ -268,12 +268,12 @@ <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Fira Sans'; font-size:9pt; font-weight:400; font-style:normal;"> -<p style=" margin-top:16px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:x-large; font-weight:600;">FreeCAD license </span></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">The FreeCAD application is licensed under the terms of the LGPL2+ license, as stated below.</p> +<p style=" margin-top:16px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:x-large; font-weight:600;">Light works 3D license </span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">The Light works 3D application is licensed under the terms of the LGPL2+ license, as stated below.</p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:14pt; font-weight:600;">Third-party libraries licenses</span></p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:14pt; font-weight:600;"><br /></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">The different libraries used in FreeCAD and their respective licenses are described on the<a href="https://www.freecad.org/wiki/Third_Party_Libraries"><span style=" text-decoration: underline; color:#0000ff;">Third Party Libraries wiki page</span></a>.</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">The different libraries used in Light works 3D and their respective licenses are described in the documentation.</p> <hr /> <hr /> <hr /> diff --git a/src/Gui/Dialogs/DlgAbout.cpp b/src/Gui/Dialogs/DlgAbout.cpp index bd38ef5..e80a6a7 100644 --- a/src/Gui/Dialogs/DlgAbout.cpp +++ b/src/Gui/Dialogs/DlgAbout.cpp @@ -289,7 +289,7 @@ void AboutDialog::setupLabels() } if (url == QStringLiteral("Unknown")) { - url = QStringLiteral("https://github.com/FreeCAD/FreeCAD"); // Just take a guess + url = QStringLiteral("https://github.com/LightWorks/LightWorks3D"); // Just take a guess } // This may only create valid URLs for Github, but some other hosts use the same format @@ -328,7 +328,7 @@ void AboutDialog::showCredits() QString creditsHTML = QStringLiteral("

%1

%2

%3