From 9278ef030ca85b84e11b40e1ecf59f4f8ef23934 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Cuj=C3=A9?= Date: Mon, 4 Mar 2019 15:09:44 +0100 Subject: [PATCH 1/3] Improve German translation --- resources/leocad_de.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/leocad_de.ts b/resources/leocad_de.ts index fe891caf..e40c02b0 100644 --- a/resources/leocad_de.ts +++ b/resources/leocad_de.ts @@ -1089,7 +1089,7 @@ &New - &Neu + &Neu @@ -1477,7 +1477,7 @@ Relative Rotation - relative Drehung + Relative Drehung @@ -1865,7 +1865,7 @@ Move to New Model... - Neues Modell bewegen… + In Neues Modell verschieben… @@ -5495,7 +5495,7 @@ GL_EXT_texture_filter_anisotropic extension: %5 Settings - Einstellwerte + Einstellungen From c258b4b70911a04fc323f695a7a093a608a1f593 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Cuj=C3=A9?= Date: Wed, 6 Mar 2019 10:59:13 +0100 Subject: [PATCH 2/3] Do not show submodel preview as active. Fixes #313 --- common/lc_partselectionwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/lc_partselectionwidget.cpp b/common/lc_partselectionwidget.cpp index 2aeea6da..ef11ad50 100644 --- a/common/lc_partselectionwidget.cpp +++ b/common/lc_partselectionwidget.cpp @@ -371,7 +371,7 @@ void lcPartSelectionListModel::DrawPreview(int InfoIndex) Scene.SetAllowWireframe(false); Scene.Begin(ViewMatrix); - Info->AddRenderMeshes(Scene, lcMatrix44Identity(), mColorIndex, lcRenderMeshState::NORMAL, true); + Info->AddRenderMeshes(Scene, lcMatrix44Identity(), mColorIndex, lcRenderMeshState::NORMAL, false); Scene.End(); From 052419265831297eca471cd55c78dca1ab28f65e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Cuj=C3=A9?= Date: Wed, 6 Mar 2019 17:42:10 +0100 Subject: [PATCH 3/3] Show full tile description as tooltip. Fixes #166 --- qt/lc_qpropertiestree.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qt/lc_qpropertiestree.cpp b/qt/lc_qpropertiestree.cpp index 682a1904..dbb3bc5f 100644 --- a/qt/lc_qpropertiestree.cpp +++ b/qt/lc_qpropertiestree.cpp @@ -932,7 +932,9 @@ void lcQPropertiesTree::SetPiece(const lcArray& Selection, lcObject* partColor->setText(1, color->Name); partColor->setData(0, PropertyValueRole, ColorIndex); - partID->setText(1, Info ? Info->m_strDescription : QString()); + QString text = Info ? Info->m_strDescription : QString(); + partID->setText(1, text); + partID->setToolTip(1, text); partID->setData(0, PropertyValueRole, qVariantFromValue((void*)Info)); }