From f5bc28c12f30443e1182f9344b9f14065c19b6ad Mon Sep 17 00:00:00 2001 From: mgn Date: Wed, 11 Feb 2015 11:24:35 +0300 Subject: [PATCH] Corrects the display of translated text for table widget. --- src/CurveCreator/CurveCreator_TableView.h | 2 ++ src/GEOMGUI/GEOM_msg_en.ts | 35 ++++++++++++----------- 2 files changed, 21 insertions(+), 16 deletions(-) diff --git a/src/CurveCreator/CurveCreator_TableView.h b/src/CurveCreator/CurveCreator_TableView.h index ce14d18a8..e6e8d1cd6 100644 --- a/src/CurveCreator/CurveCreator_TableView.h +++ b/src/CurveCreator/CurveCreator_TableView.h @@ -41,6 +41,8 @@ public: class CurveCreator_TableView : public QTableWidget { + Q_OBJECT + public: CurveCreator_TableView( CurveCreator_ICurve* theCurve, QWidget* theParent = 0, const QStringList& theCoordTitles = QStringList() ); diff --git a/src/GEOMGUI/GEOM_msg_en.ts b/src/GEOMGUI/GEOM_msg_en.ts index c44395e9b..d7f4a56b6 100644 --- a/src/GEOMGUI/GEOM_msg_en.ts +++ b/src/GEOMGUI/GEOM_msg_en.ts @@ -5343,22 +5343,6 @@ shells and solids on the other hand. TOOL_IMPORTEXPORT Import / Export XAO - - TABLE_SECTION - Section - - - TABLE_INDEX - Index - - - TABLE_X - X - - - TABLE_Y - Y - BasicGUI_CurveDlg @@ -5654,6 +5638,25 @@ shells and solids on the other hand. X=%1, Y=%2, Z=%3 + + CurveCreator_TableView + + TABLE_SECTION + Section + + + TABLE_INDEX + Index + + + TABLE_X + X + + + TABLE_Y + Y + + CurveCreator_Widget -- 2.39.2