From 2e3d512ae75e40d0f1320057ac6ca98190dc4b4d Mon Sep 17 00:00:00 2001 From: imn Date: Thu, 26 Nov 2015 17:45:28 +0300 Subject: [PATCH] Merge Qt5 porting. --- CMakeLists.txt | 16 +++- src/HOMARDGUI/CMakeLists.txt | 10 +-- src/HOMARDGUI/CreateBoundaryAn.h | 90 +++++++++---------- src/HOMARDGUI/CreateBoundaryDi.h | 16 ++-- src/HOMARDGUI/CreateCase.h | 69 ++++++++------- src/HOMARDGUI/CreateHypothesis.h | 122 +++++++++++++------------- src/HOMARDGUI/CreateIteration.h | 38 ++++---- src/HOMARDGUI/CreateListGroup.h | 16 ++-- src/HOMARDGUI/CreateYACS.h | 44 +++++----- src/HOMARDGUI/CreateZone.h | 84 +++++++++--------- src/HOMARDGUI/EditFile.h | 8 +- src/HOMARDGUI/IterInfo.h | 22 ++--- src/HOMARDGUI/MeshInfo.h | 28 +++--- src/HOMARDGUI/MonCreateBoundaryAn.cxx | 30 +++---- src/HOMARDGUI/MonCreateBoundaryDi.cxx | 2 +- src/HOMARDGUI/MonCreateCase.cxx | 4 +- src/HOMARDGUI/MonCreateHypothesis.cxx | 6 +- src/HOMARDGUI/MonCreateIteration.cxx | 4 +- src/HOMARDGUI/MonCreateZone.cxx | 16 ++-- src/HOMARDGUI/MonEditBoundaryAn.cxx | 30 +++---- src/HOMARDGUI/MonEditBoundaryDi.cxx | 2 +- src/HOMARDGUI/MonEditCase.cxx | 6 +- src/HOMARDGUI/MonEditHypothesis.cxx | 2 +- src/HOMARDGUI/MonEditZone.cxx | 24 ++--- src/HOMARDGUI/PursueIteration.h | 26 +++--- 25 files changed, 362 insertions(+), 353 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d316ef97..111e15b1 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -102,12 +102,20 @@ ENDIF(EXISTS ${GUI_ROOT_DIR}) ## # Various -# Qt4 -FIND_PACKAGE(SalomeQt4 REQUIRED COMPONENTS QtCore QtGui) +# Qt +IF (NOT SALOME_GUI_BUILD_WITH_QT5) + FIND_PACKAGE(SalomeQt4 REQUIRED COMPONENTS QtCore QtGui) +ELSE() + FIND_PACKAGE(SalomeQt5 REQUIRED) +ENDIF() # SIP FIND_PACKAGE(SalomeSIP REQUIRED) -# PyQt4 -FIND_PACKAGE(SalomePyQt4 REQUIRED) +# PyQt +IF (NOT SALOME_GUI_BUILD_WITH_QT5) + FIND_PACKAGE(SalomePyQt4 REQUIRED) +ELSE() + FIND_PACKAGE(SalomePyQt5 REQUIRED) +ENDIF() # OCCT FIND_PACKAGE(SalomeCAS REQUIRED) diff --git a/src/HOMARDGUI/CMakeLists.txt b/src/HOMARDGUI/CMakeLists.txt index 5b4a54ff..d040fa7f 100644 --- a/src/HOMARDGUI/CMakeLists.txt +++ b/src/HOMARDGUI/CMakeLists.txt @@ -17,8 +17,8 @@ # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # -INCLUDE(UseQt4Ext) -INCLUDE(UsePyQt4) +INCLUDE(UseQtExt) +INCLUDE(UsePyQt) # --- options --- # additional include directories @@ -110,7 +110,7 @@ SET(HOMARD_HEADERS ${_other_HEADERS} ${_moc_HEADERS}) # --- sources --- # sources / moc wrappings -QT4_WRAP_CPP(_moc_SOURCES ${_moc_HEADERS}) +QT_WRAP_MOC(_moc_SOURCES ${_moc_HEADERS}) # sources / static SET(_other_SOURCES @@ -169,7 +169,7 @@ SET(_pyuic_files ) # scripts / pyuic wrappings -PYQT4_WRAP_UIC(_pyuic_SCRIPTS ${_pyuic_files}) +PYQT_WRAP_UIC(_pyuic_SCRIPTS ${_pyuic_files}) # --- rules --- @@ -178,4 +178,4 @@ TARGET_LINK_LIBRARIES(HOMARD ${_link_LIBRARIES} ) INSTALL(TARGETS HOMARD EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) INSTALL(FILES ${HOMARD_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) -QT4_INSTALL_TS_RESOURCES("${_ts_RESOURCES}" "${SALOME_HOMARD_INSTALL_RES_DATA}") +QT_INSTALL_TS_RESOURCES("${_ts_RESOURCES}" "${SALOME_HOMARD_INSTALL_RES_DATA}") diff --git a/src/HOMARDGUI/CreateBoundaryAn.h b/src/HOMARDGUI/CreateBoundaryAn.h index 60cc12b7..7aedc4fa 100644 --- a/src/HOMARDGUI/CreateBoundaryAn.h +++ b/src/HOMARDGUI/CreateBoundaryAn.h @@ -744,52 +744,52 @@ public: void retranslateUi(QDialog *CreateBoundaryAn) { - CreateBoundaryAn->setWindowTitle(QApplication::translate("CreateBoundaryAn", "Create an analytical boundary", 0, QApplication::UnicodeUTF8)); - Name->setText(QApplication::translate("CreateBoundaryAn", "Name", 0, QApplication::UnicodeUTF8)); - TypeBoundary->setTitle(QApplication::translate("CreateBoundaryAn", "Type of boundary", 0, QApplication::UnicodeUTF8)); - RBCylindre->setText(QApplication::translate("CreateBoundaryAn", "Cylinder", 0, QApplication::UnicodeUTF8)); - RBSphere->setText(QApplication::translate("CreateBoundaryAn", "Sphere", 0, QApplication::UnicodeUTF8)); - RBCone->setText(QApplication::translate("CreateBoundaryAn", "Cone", 0, QApplication::UnicodeUTF8)); - RBTore->setText(QApplication::translate("CreateBoundaryAn", "Torus", 0, QApplication::UnicodeUTF8)); - gBCylindre->setTitle(QApplication::translate("CreateBoundaryAn", "Coordinates", 0, QApplication::UnicodeUTF8)); - TLXcent->setText(QApplication::translate("CreateBoundaryAn", "X centre", 0, QApplication::UnicodeUTF8)); - TLradius->setText(QApplication::translate("CreateBoundaryAn", "Radius", 0, QApplication::UnicodeUTF8)); - TLZcent->setText(QApplication::translate("CreateBoundaryAn", "Z centre", 0, QApplication::UnicodeUTF8)); - TLYcent->setText(QApplication::translate("CreateBoundaryAn", "Y centre", 0, QApplication::UnicodeUTF8)); - TLXaxis->setText(QApplication::translate("CreateBoundaryAn", "X axis", 0, QApplication::UnicodeUTF8)); - TLYaxis->setText(QApplication::translate("CreateBoundaryAn", "Y axis", 0, QApplication::UnicodeUTF8)); - TLZaxis->setText(QApplication::translate("CreateBoundaryAn", "Z axis", 0, QApplication::UnicodeUTF8)); - gBSphere->setTitle(QApplication::translate("CreateBoundaryAn", "Coordinates", 0, QApplication::UnicodeUTF8)); - TLRayon->setText(QApplication::translate("CreateBoundaryAn", "Radius", 0, QApplication::UnicodeUTF8)); - TLZcentre->setText(QApplication::translate("CreateBoundaryAn", "Z centre", 0, QApplication::UnicodeUTF8)); - TLYcentre->setText(QApplication::translate("CreateBoundaryAn", "Y centre", 0, QApplication::UnicodeUTF8)); - TLXcentre->setText(QApplication::translate("CreateBoundaryAn", "X centre", 0, QApplication::UnicodeUTF8)); - gBCone->setTitle(QApplication::translate("CreateBoundaryAn", "Coordinates", 0, QApplication::UnicodeUTF8)); - groupBox->setTitle(QApplication::translate("CreateBoundaryAn", "Definition", 0, QApplication::UnicodeUTF8)); - RB_Def_radius->setText(QApplication::translate("CreateBoundaryAn", "Radius", 0, QApplication::UnicodeUTF8)); - RB_Def_angle->setText(QApplication::translate("CreateBoundaryAn", "Angle", 0, QApplication::UnicodeUTF8)); - TLCone_X1->setText(QApplication::translate("CreateBoundaryAn", "X 1", 0, QApplication::UnicodeUTF8)); - TLCone_X2->setText(QApplication::translate("CreateBoundaryAn", "X 2", 0, QApplication::UnicodeUTF8)); - TLCone_Y1->setText(QApplication::translate("CreateBoundaryAn", "Y 1", 0, QApplication::UnicodeUTF8)); - TLCone_Y2->setText(QApplication::translate("CreateBoundaryAn", "Y 2", 0, QApplication::UnicodeUTF8)); - TLCone_Z1->setText(QApplication::translate("CreateBoundaryAn", "Z 1", 0, QApplication::UnicodeUTF8)); - TLCone_Z2->setText(QApplication::translate("CreateBoundaryAn", "Z 2", 0, QApplication::UnicodeUTF8)); - TLCone_V1->setText(QApplication::translate("CreateBoundaryAn", "V 1", 0, QApplication::UnicodeUTF8)); - TLCone_V2->setText(QApplication::translate("CreateBoundaryAn", "V 2", 0, QApplication::UnicodeUTF8)); - gBTore->setTitle(QApplication::translate("CreateBoundaryAn", "Coordinates", 0, QApplication::UnicodeUTF8)); - TLToreXcent->setText(QApplication::translate("CreateBoundaryAn", "X centre", 0, QApplication::UnicodeUTF8)); - TLToreXaxe->setText(QApplication::translate("CreateBoundaryAn", "X axis", 0, QApplication::UnicodeUTF8)); - TLToreYcent->setText(QApplication::translate("CreateBoundaryAn", "Y centre", 0, QApplication::UnicodeUTF8)); - TLToreYaxe->setText(QApplication::translate("CreateBoundaryAn", "Y axis", 0, QApplication::UnicodeUTF8)); - TLToreZcent->setText(QApplication::translate("CreateBoundaryAn", "Z centre", 0, QApplication::UnicodeUTF8)); - TLToreZaxe->setText(QApplication::translate("CreateBoundaryAn", "Z axis", 0, QApplication::UnicodeUTF8)); - TLToreRayRev->setText(QApplication::translate("CreateBoundaryAn", "R revolution", 0, QApplication::UnicodeUTF8)); - TLToreRayPri->setText(QApplication::translate("CreateBoundaryAn", "Primary R", 0, QApplication::UnicodeUTF8)); + CreateBoundaryAn->setWindowTitle(QApplication::translate("CreateBoundaryAn", "Create an analytical boundary", 0)); + Name->setText(QApplication::translate("CreateBoundaryAn", "Name", 0)); + TypeBoundary->setTitle(QApplication::translate("CreateBoundaryAn", "Type of boundary", 0)); + RBCylindre->setText(QApplication::translate("CreateBoundaryAn", "Cylinder", 0)); + RBSphere->setText(QApplication::translate("CreateBoundaryAn", "Sphere", 0)); + RBCone->setText(QApplication::translate("CreateBoundaryAn", "Cone", 0)); + RBTore->setText(QApplication::translate("CreateBoundaryAn", "Torus", 0)); + gBCylindre->setTitle(QApplication::translate("CreateBoundaryAn", "Coordinates", 0)); + TLXcent->setText(QApplication::translate("CreateBoundaryAn", "X centre", 0)); + TLradius->setText(QApplication::translate("CreateBoundaryAn", "Radius", 0)); + TLZcent->setText(QApplication::translate("CreateBoundaryAn", "Z centre", 0)); + TLYcent->setText(QApplication::translate("CreateBoundaryAn", "Y centre", 0)); + TLXaxis->setText(QApplication::translate("CreateBoundaryAn", "X axis", 0)); + TLYaxis->setText(QApplication::translate("CreateBoundaryAn", "Y axis", 0)); + TLZaxis->setText(QApplication::translate("CreateBoundaryAn", "Z axis", 0)); + gBSphere->setTitle(QApplication::translate("CreateBoundaryAn", "Coordinates", 0)); + TLRayon->setText(QApplication::translate("CreateBoundaryAn", "Radius", 0)); + TLZcentre->setText(QApplication::translate("CreateBoundaryAn", "Z centre", 0)); + TLYcentre->setText(QApplication::translate("CreateBoundaryAn", "Y centre", 0)); + TLXcentre->setText(QApplication::translate("CreateBoundaryAn", "X centre", 0)); + gBCone->setTitle(QApplication::translate("CreateBoundaryAn", "Coordinates", 0)); + groupBox->setTitle(QApplication::translate("CreateBoundaryAn", "Definition", 0)); + RB_Def_radius->setText(QApplication::translate("CreateBoundaryAn", "Radius", 0)); + RB_Def_angle->setText(QApplication::translate("CreateBoundaryAn", "Angle", 0)); + TLCone_X1->setText(QApplication::translate("CreateBoundaryAn", "X 1", 0)); + TLCone_X2->setText(QApplication::translate("CreateBoundaryAn", "X 2", 0)); + TLCone_Y1->setText(QApplication::translate("CreateBoundaryAn", "Y 1", 0)); + TLCone_Y2->setText(QApplication::translate("CreateBoundaryAn", "Y 2", 0)); + TLCone_Z1->setText(QApplication::translate("CreateBoundaryAn", "Z 1", 0)); + TLCone_Z2->setText(QApplication::translate("CreateBoundaryAn", "Z 2", 0)); + TLCone_V1->setText(QApplication::translate("CreateBoundaryAn", "V 1", 0)); + TLCone_V2->setText(QApplication::translate("CreateBoundaryAn", "V 2", 0)); + gBTore->setTitle(QApplication::translate("CreateBoundaryAn", "Coordinates", 0)); + TLToreXcent->setText(QApplication::translate("CreateBoundaryAn", "X centre", 0)); + TLToreXaxe->setText(QApplication::translate("CreateBoundaryAn", "X axis", 0)); + TLToreYcent->setText(QApplication::translate("CreateBoundaryAn", "Y centre", 0)); + TLToreYaxe->setText(QApplication::translate("CreateBoundaryAn", "Y axis", 0)); + TLToreZcent->setText(QApplication::translate("CreateBoundaryAn", "Z centre", 0)); + TLToreZaxe->setText(QApplication::translate("CreateBoundaryAn", "Z axis", 0)); + TLToreRayRev->setText(QApplication::translate("CreateBoundaryAn", "R revolution", 0)); + TLToreRayPri->setText(QApplication::translate("CreateBoundaryAn", "Primary R", 0)); GBButtons->setTitle(QString()); - buttonHelp->setText(QApplication::translate("CreateBoundaryAn", "Help", 0, QApplication::UnicodeUTF8)); - buttonCancel->setText(QApplication::translate("CreateBoundaryAn", "Cancel", 0, QApplication::UnicodeUTF8)); - buttonApply->setText(QApplication::translate("CreateBoundaryAn", "Apply", 0, QApplication::UnicodeUTF8)); - buttonOk->setText(QApplication::translate("CreateBoundaryAn", "OK", 0, QApplication::UnicodeUTF8)); + buttonHelp->setText(QApplication::translate("CreateBoundaryAn", "Help", 0)); + buttonCancel->setText(QApplication::translate("CreateBoundaryAn", "Cancel", 0)); + buttonApply->setText(QApplication::translate("CreateBoundaryAn", "Apply", 0)); + buttonOk->setText(QApplication::translate("CreateBoundaryAn", "OK", 0)); } // retranslateUi }; diff --git a/src/HOMARDGUI/CreateBoundaryDi.h b/src/HOMARDGUI/CreateBoundaryDi.h index 95c054c4..94156c4d 100644 --- a/src/HOMARDGUI/CreateBoundaryDi.h +++ b/src/HOMARDGUI/CreateBoundaryDi.h @@ -136,16 +136,16 @@ public: void retranslateUi(QDialog *CreateBoundaryDi) { - CreateBoundaryDi->setWindowTitle(QApplication::translate("CreateBoundaryDi", "Create a discrete boundary", 0, QApplication::UnicodeUTF8)); + CreateBoundaryDi->setWindowTitle(QApplication::translate("CreateBoundaryDi", "Create a discrete boundary", 0)); GBButtons->setTitle(QString()); - buttonHelp->setText(QApplication::translate("CreateBoundaryDi", "Help", 0, QApplication::UnicodeUTF8)); - buttonCancel->setText(QApplication::translate("CreateBoundaryDi", "Cancel", 0, QApplication::UnicodeUTF8)); - buttonApply->setText(QApplication::translate("CreateBoundaryDi", "Apply", 0, QApplication::UnicodeUTF8)); - buttonOk->setText(QApplication::translate("CreateBoundaryDi", "OK", 0, QApplication::UnicodeUTF8)); - CBGroupe->setText(QApplication::translate("CreateBoundaryDi", "Filtering with groups", 0, QApplication::UnicodeUTF8)); + buttonHelp->setText(QApplication::translate("CreateBoundaryDi", "Help", 0)); + buttonCancel->setText(QApplication::translate("CreateBoundaryDi", "Cancel", 0)); + buttonApply->setText(QApplication::translate("CreateBoundaryDi", "Apply", 0)); + buttonOk->setText(QApplication::translate("CreateBoundaryDi", "OK", 0)); + CBGroupe->setText(QApplication::translate("CreateBoundaryDi", "Filtering with groups", 0)); PushFichier->setText(QString()); - Mesh->setText(QApplication::translate("CreateBoundaryDi", "Mesh", 0, QApplication::UnicodeUTF8)); - Name->setText(QApplication::translate("CreateBoundaryDi", "Name", 0, QApplication::UnicodeUTF8)); + Mesh->setText(QApplication::translate("CreateBoundaryDi", "Mesh", 0)); + Name->setText(QApplication::translate("CreateBoundaryDi", "Name", 0)); } // retranslateUi }; diff --git a/src/HOMARDGUI/CreateCase.h b/src/HOMARDGUI/CreateCase.h index adc14078..f9cf0bd8 100644 --- a/src/HOMARDGUI/CreateCase.h +++ b/src/HOMARDGUI/CreateCase.h @@ -497,44 +497,45 @@ public: void retranslateUi(QDialog *CreateCase) { - CreateCase->setWindowTitle(QApplication::translate("CreateCase", "Create a case", 0, QApplication::UnicodeUTF8)); - Name->setText(QApplication::translate("CreateCase", "Name", 0, QApplication::UnicodeUTF8)); - Directory->setText(QApplication::translate("CreateCase", "Directory", 0, QApplication::UnicodeUTF8)); + CreateCase->setWindowTitle(QApplication::translate("CreateCase", "Create a case", 0)); + Name->setText(QApplication::translate("CreateCase", "Name", 0)); + Directory->setText(QApplication::translate("CreateCase", "Directory", 0)); PushDir->setText(QString()); - Mesh->setText(QApplication::translate("CreateCase", "Mesh", 0, QApplication::UnicodeUTF8)); + Mesh->setText(QApplication::translate("CreateCase", "Mesh", 0)); PushFichier->setText(QString()); - GBTypeConf->setTitle(QApplication::translate("CreateCase", "Conformity type", 0, QApplication::UnicodeUTF8)); - RBConforme->setText(QApplication::translate("CreateCase", "Conformal", 0, QApplication::UnicodeUTF8)); - RBNonConforme->setText(QApplication::translate("CreateCase", "Non conformal", 0, QApplication::UnicodeUTF8)); - CBBoundaryD->setText(QApplication::translate("CreateCase", "Discrete boundary", 0, QApplication::UnicodeUTF8)); - CBBoundaryA->setText(QApplication::translate("CreateCase", "Analytical boundary", 0, QApplication::UnicodeUTF8)); - GBBoundaryD->setTitle(QApplication::translate("CreateCase", "Discrete boundary", 0, QApplication::UnicodeUTF8)); - PBBoundaryDiEdit->setText(QApplication::translate("CreateCase", "Edit", 0, QApplication::UnicodeUTF8)); - PBBoundaryDiNew->setText(QApplication::translate("CreateCase", "New", 0, QApplication::UnicodeUTF8)); - PBBoundaryDiHelp->setText(QApplication::translate("CreateCase", "Help", 0, QApplication::UnicodeUTF8)); - GBBoundaryA->setTitle(QApplication::translate("CreateCase", "Analytical boundary", 0, QApplication::UnicodeUTF8)); + + GBTypeConf->setTitle(QApplication::translate("CreateCase", "Conformity type", 0)); + RBConforme->setText(QApplication::translate("CreateCase", "Conformal", 0)); + RBNonConforme->setText(QApplication::translate("CreateCase", "Non conformal", 0)); + CBBoundaryD->setText(QApplication::translate("CreateCase", "Discrete boundary", 0)); + CBBoundaryA->setText(QApplication::translate("CreateCase", "Analytical boundary", 0)); + GBBoundaryD->setTitle(QApplication::translate("CreateCase", "Discrete boundary", 0)); + PBBoundaryDiEdit->setText(QApplication::translate("CreateCase", "Edit", 0)); + PBBoundaryDiNew->setText(QApplication::translate("CreateCase", "New", 0)); + PBBoundaryDiHelp->setText(QApplication::translate("CreateCase", "Help", 0)); + GBBoundaryA->setTitle(QApplication::translate("CreateCase", "Analytical boundary", 0)); QTableWidgetItem *___qtablewidgetitem = TWBoundary->horizontalHeaderItem(0); - ___qtablewidgetitem->setText(QApplication::translate("CreateCase", "a_virer", 0, QApplication::UnicodeUTF8)); - PBBoundaryAnEdit->setText(QApplication::translate("CreateCase", "Edit", 0, QApplication::UnicodeUTF8)); - PBBoundaryAnNew->setText(QApplication::translate("CreateCase", "New", 0, QApplication::UnicodeUTF8)); - PBBoundaryAnHelp->setText(QApplication::translate("CreateCase", "Help", 0, QApplication::UnicodeUTF8)); - CBAdvanced->setText(QApplication::translate("CreateCase", "Advanced options", 0, QApplication::UnicodeUTF8)); - GBAdvancedOptions->setTitle(QApplication::translate("CreateCase", "Advanced options", 0, QApplication::UnicodeUTF8)); - CBPyramid->setText(QApplication::translate("CreateCase", "Authorized pyramids", 0, QApplication::UnicodeUTF8)); - GBConforme->setTitle(QApplication::translate("CreateCase", "Conformity +", 0, QApplication::UnicodeUTF8)); - RBStandard->setText(QApplication::translate("CreateCase", "Standard", 0, QApplication::UnicodeUTF8)); - RBBox->setText(QApplication::translate("CreateCase", "Box", 0, QApplication::UnicodeUTF8)); - RBNC1NpA->setText(QApplication::translate("CreateCase", "1 node per edge", 0, QApplication::UnicodeUTF8)); - RBNCQuelconque->setText(QApplication::translate("CreateCase", "Free", 0, QApplication::UnicodeUTF8)); - GBFormat->setTitle(QApplication::translate("CreateCase", "Format", 0, QApplication::UnicodeUTF8)); - RBMED->setText(QApplication::translate("CreateCase", "MED", 0, QApplication::UnicodeUTF8)); - RBSaturne2D->setText(QApplication::translate("CreateCase", "Saturne 2D", 0, QApplication::UnicodeUTF8)); - Comment->setText(QApplication::translate("CreateCase", " No comment.", 0, QApplication::UnicodeUTF8)); + ___qtablewidgetitem->setText(QApplication::translate("CreateCase", "a_virer", 0)); + PBBoundaryAnEdit->setText(QApplication::translate("CreateCase", "Edit", 0)); + PBBoundaryAnNew->setText(QApplication::translate("CreateCase", "New", 0)); + PBBoundaryAnHelp->setText(QApplication::translate("CreateCase", "Help", 0)); + CBAdvanced->setText(QApplication::translate("CreateCase", "Advanced options", 0)); + GBAdvancedOptions->setTitle(QApplication::translate("CreateCase", "Advanced options", 0)); + CBPyramid->setText(QApplication::translate("CreateCase", "Authorized pyramids", 0)); + GBConforme->setTitle(QApplication::translate("CreateCase", "Conformity +", 0)); + RBStandard->setText(QApplication::translate("CreateCase", "Standard", 0)); + RBBox->setText(QApplication::translate("CreateCase", "Box", 0)); + RBNC1NpA->setText(QApplication::translate("CreateCase", "1 node per edge", 0)); + RBNCQuelconque->setText(QApplication::translate("CreateCase", "Free", 0)); + GBFormat->setTitle(QApplication::translate("CreateCase", "Format", 0)); + RBMED->setText(QApplication::translate("CreateCase", "MED", 0)); + RBSaturne2D->setText(QApplication::translate("CreateCase", "Saturne 2D", 0)); + Comment->setText(QApplication::translate("CreateCase", " No comment.", 0)); GroupButtons->setTitle(QString()); - buttonHelp->setText(QApplication::translate("CreateCase", "Help", 0, QApplication::UnicodeUTF8)); - buttonApply->setText(QApplication::translate("CreateCase", "Apply", 0, QApplication::UnicodeUTF8)); - buttonOk->setText(QApplication::translate("CreateCase", "OK", 0, QApplication::UnicodeUTF8)); - buttonCancel->setText(QApplication::translate("CreateCase", "Cancel", 0, QApplication::UnicodeUTF8)); + buttonHelp->setText(QApplication::translate("CreateCase", "Help", 0)); + buttonApply->setText(QApplication::translate("CreateCase", "Apply", 0)); + buttonOk->setText(QApplication::translate("CreateCase", "OK", 0)); + buttonCancel->setText(QApplication::translate("CreateCase", "Cancel", 0)); } // retranslateUi }; diff --git a/src/HOMARDGUI/CreateHypothesis.h b/src/HOMARDGUI/CreateHypothesis.h index 673a1a33..6fcb7eb1 100644 --- a/src/HOMARDGUI/CreateHypothesis.h +++ b/src/HOMARDGUI/CreateHypothesis.h @@ -818,77 +818,77 @@ public: void retranslateUi(QScrollArea *CreateHypothesis) { - CreateHypothesis->setWindowTitle(QApplication::translate("CreateHypothesis", "Create an hypothesis", 0, QApplication::UnicodeUTF8)); - Name->setText(QApplication::translate("CreateHypothesis", "Name", 0, QApplication::UnicodeUTF8)); - GBTypeAdaptation->setTitle(QApplication::translate("CreateHypothesis", "Type of adaptation", 0, QApplication::UnicodeUTF8)); - RBUniforme->setText(QApplication::translate("CreateHypothesis", "Uniform", 0, QApplication::UnicodeUTF8)); - RBChamp->setText(QApplication::translate("CreateHypothesis", "Driven by a field", 0, QApplication::UnicodeUTF8)); - RBZone->setText(QApplication::translate("CreateHypothesis", "With geometrical zones", 0, QApplication::UnicodeUTF8)); - CBGroupe->setText(QApplication::translate("CreateHypothesis", "Filtering with groups", 0, QApplication::UnicodeUTF8)); - GBUniform->setTitle(QApplication::translate("CreateHypothesis", "Uniform adaptation", 0, QApplication::UnicodeUTF8)); - RBUniDera->setText(QApplication::translate("CreateHypothesis", "Coarsening", 0, QApplication::UnicodeUTF8)); - RBUniRaff->setText(QApplication::translate("CreateHypothesis", "Refinement", 0, QApplication::UnicodeUTF8)); + CreateHypothesis->setWindowTitle(QApplication::translate("CreateHypothesis", "Create an hypothesis", 0)); + Name->setText(QApplication::translate("CreateHypothesis", "Name", 0)); + GBTypeAdaptation->setTitle(QApplication::translate("CreateHypothesis", "Type of adaptation", 0)); + RBUniforme->setText(QApplication::translate("CreateHypothesis", "Uniform", 0)); + RBChamp->setText(QApplication::translate("CreateHypothesis", "Driven by a field", 0)); + RBZone->setText(QApplication::translate("CreateHypothesis", "With geometrical zones", 0)); + CBGroupe->setText(QApplication::translate("CreateHypothesis", "Filtering with groups", 0)); + GBUniform->setTitle(QApplication::translate("CreateHypothesis", "Uniform adaptation", 0)); + RBUniDera->setText(QApplication::translate("CreateHypothesis", "Coarsening", 0)); + RBUniRaff->setText(QApplication::translate("CreateHypothesis", "Refinement", 0)); GBFieldFile->setTitle(QString()); - FieldFile->setText(QApplication::translate("CreateHypothesis", "File of the fields", 0, QApplication::UnicodeUTF8)); - GBFieldManagement->setTitle(QApplication::translate("CreateHypothesis", "Governing field for the adaptation", 0, QApplication::UnicodeUTF8)); - FieldName->setText(QApplication::translate("CreateHypothesis", "Field name", 0, QApplication::UnicodeUTF8)); + FieldFile->setText(QApplication::translate("CreateHypothesis", "File of the fields", 0)); + GBFieldManagement->setTitle(QApplication::translate("CreateHypothesis", "Governing field for the adaptation", 0)); + FieldName->setText(QApplication::translate("CreateHypothesis", "Field name", 0)); QTableWidgetItem *___qtablewidgetitem = TWCMP->horizontalHeaderItem(0); - ___qtablewidgetitem->setText(QApplication::translate("CreateHypothesis", "Selection", 0, QApplication::UnicodeUTF8)); + ___qtablewidgetitem->setText(QApplication::translate("CreateHypothesis", "Selection", 0)); QTableWidgetItem *___qtablewidgetitem1 = TWCMP->horizontalHeaderItem(1); - ___qtablewidgetitem1->setText(QApplication::translate("CreateHypothesis", "Component", 0, QApplication::UnicodeUTF8)); - RBL2->setText(QApplication::translate("CreateHypothesis", "L2 norm", 0, QApplication::UnicodeUTF8)); - RBInf->setText(QApplication::translate("CreateHypothesis", "Infinite norm", 0, QApplication::UnicodeUTF8)); - CBJump->setText(QApplication::translate("CreateHypothesis", "Jump between elements", 0, QApplication::UnicodeUTF8)); - GBRefinementThresholds->setTitle(QApplication::translate("CreateHypothesis", "Refinement threshold", 0, QApplication::UnicodeUTF8)); - RBRPE->setText(QApplication::translate("CreateHypothesis", "Percentage of meshes", 0, QApplication::UnicodeUTF8)); - SpinBox_RPE->setSuffix(QApplication::translate("CreateHypothesis", " %", 0, QApplication::UnicodeUTF8)); - RBRRel->setText(QApplication::translate("CreateHypothesis", "Relative", 0, QApplication::UnicodeUTF8)); - SpinBox_RRel->setSuffix(QApplication::translate("CreateHypothesis", " %", 0, QApplication::UnicodeUTF8)); - RBRAbs->setText(QApplication::translate("CreateHypothesis", "Absolute", 0, QApplication::UnicodeUTF8)); - RBRMuSigma->setText(QApplication::translate("CreateHypothesis", "Mean + n*(std deviation)", 0, QApplication::UnicodeUTF8)); - RBRNo->setText(QApplication::translate("CreateHypothesis", "No refinement", 0, QApplication::UnicodeUTF8)); - GBCoarseningThresholds->setTitle(QApplication::translate("CreateHypothesis", "Coarsening threshold", 0, QApplication::UnicodeUTF8)); - RBCPE->setText(QApplication::translate("CreateHypothesis", "Percentage of meshes", 0, QApplication::UnicodeUTF8)); - SpinBox_CPE->setSuffix(QApplication::translate("CreateHypothesis", " %", 0, QApplication::UnicodeUTF8)); - RBCRel->setText(QApplication::translate("CreateHypothesis", "Relative", 0, QApplication::UnicodeUTF8)); - SpinBox_CRel->setSuffix(QApplication::translate("CreateHypothesis", " %", 0, QApplication::UnicodeUTF8)); - RBCAbs->setText(QApplication::translate("CreateHypothesis", "Absolute", 0, QApplication::UnicodeUTF8)); - RBCMuSigma->setText(QApplication::translate("CreateHypothesis", "Mean - n*(std deviation)", 0, QApplication::UnicodeUTF8)); - RBCNo->setText(QApplication::translate("CreateHypothesis", "No coarsening", 0, QApplication::UnicodeUTF8)); - GBAreaManagement->setTitle(QApplication::translate("CreateHypothesis", "Zone management", 0, QApplication::UnicodeUTF8)); + ___qtablewidgetitem1->setText(QApplication::translate("CreateHypothesis", "Component", 0)); + RBL2->setText(QApplication::translate("CreateHypothesis", "L2 norm", 0)); + RBInf->setText(QApplication::translate("CreateHypothesis", "Infinite norm", 0)); + CBJump->setText(QApplication::translate("CreateHypothesis", "Jump between elements", 0)); + GBRefinementThresholds->setTitle(QApplication::translate("CreateHypothesis", "Refinement threshold", 0)); + RBRPE->setText(QApplication::translate("CreateHypothesis", "Percentage of meshes", 0)); + SpinBox_RPE->setSuffix(QApplication::translate("CreateHypothesis", " %", 0)); + RBRRel->setText(QApplication::translate("CreateHypothesis", "Relative", 0)); + SpinBox_RRel->setSuffix(QApplication::translate("CreateHypothesis", " %", 0)); + RBRAbs->setText(QApplication::translate("CreateHypothesis", "Absolute", 0)); + RBRMuSigma->setText(QApplication::translate("CreateHypothesis", "Mean + n*(std deviation)", 0)); + RBRNo->setText(QApplication::translate("CreateHypothesis", "No refinement", 0)); + GBCoarseningThresholds->setTitle(QApplication::translate("CreateHypothesis", "Coarsening threshold", 0)); + RBCPE->setText(QApplication::translate("CreateHypothesis", "Percentage of meshes", 0)); + SpinBox_CPE->setSuffix(QApplication::translate("CreateHypothesis", " %", 0)); + RBCRel->setText(QApplication::translate("CreateHypothesis", "Relative", 0)); + SpinBox_CRel->setSuffix(QApplication::translate("CreateHypothesis", " %", 0)); + RBCAbs->setText(QApplication::translate("CreateHypothesis", "Absolute", 0)); + RBCMuSigma->setText(QApplication::translate("CreateHypothesis", "Mean - n*(std deviation)", 0)); + RBCNo->setText(QApplication::translate("CreateHypothesis", "No coarsening", 0)); + GBAreaManagement->setTitle(QApplication::translate("CreateHypothesis", "Zone management", 0)); QTableWidgetItem *___qtablewidgetitem2 = TWZone->horizontalHeaderItem(0); - ___qtablewidgetitem2->setText(QApplication::translate("CreateHypothesis", "Refinement", 0, QApplication::UnicodeUTF8)); + ___qtablewidgetitem2->setText(QApplication::translate("CreateHypothesis", "Refinement", 0)); QTableWidgetItem *___qtablewidgetitem3 = TWZone->horizontalHeaderItem(1); - ___qtablewidgetitem3->setText(QApplication::translate("CreateHypothesis", "Coarsening", 0, QApplication::UnicodeUTF8)); + ___qtablewidgetitem3->setText(QApplication::translate("CreateHypothesis", "Coarsening", 0)); QTableWidgetItem *___qtablewidgetitem4 = TWZone->horizontalHeaderItem(2); - ___qtablewidgetitem4->setText(QApplication::translate("CreateHypothesis", "Zone name", 0, QApplication::UnicodeUTF8)); - PBZoneNew->setText(QApplication::translate("CreateHypothesis", "New", 0, QApplication::UnicodeUTF8)); - PBZoneEdit->setText(QApplication::translate("CreateHypothesis", "Edit", 0, QApplication::UnicodeUTF8)); + ___qtablewidgetitem4->setText(QApplication::translate("CreateHypothesis", "Zone name", 0)); + PBZoneNew->setText(QApplication::translate("CreateHypothesis", "New", 0)); + PBZoneEdit->setText(QApplication::translate("CreateHypothesis", "Edit", 0)); PBZoneDelete->setText(QString()); - GBField->setTitle(QApplication::translate("CreateHypothesis", "Field Interpolation", 0, QApplication::UnicodeUTF8)); - RBFieldNo->setText(QApplication::translate("CreateHypothesis", "None", 0, QApplication::UnicodeUTF8)); - RBFieldAll->setText(QApplication::translate("CreateHypothesis", "All", 0, QApplication::UnicodeUTF8)); - RBFieldChosen->setText(QApplication::translate("CreateHypothesis", "Chosen", 0, QApplication::UnicodeUTF8)); + GBField->setTitle(QApplication::translate("CreateHypothesis", "Field Interpolation", 0)); + RBFieldNo->setText(QApplication::translate("CreateHypothesis", "None", 0)); + RBFieldAll->setText(QApplication::translate("CreateHypothesis", "All", 0)); + RBFieldChosen->setText(QApplication::translate("CreateHypothesis", "Chosen", 0)); QTableWidgetItem *___qtablewidgetitem5 = TWField->horizontalHeaderItem(0); - ___qtablewidgetitem5->setText(QApplication::translate("CreateHypothesis", "Selection", 0, QApplication::UnicodeUTF8)); + ___qtablewidgetitem5->setText(QApplication::translate("CreateHypothesis", "Selection", 0)); QTableWidgetItem *___qtablewidgetitem6 = TWField->horizontalHeaderItem(1); - ___qtablewidgetitem6->setText(QApplication::translate("CreateHypothesis", "Field Name", 0, QApplication::UnicodeUTF8)); - CBAdvanced->setText(QApplication::translate("CreateHypothesis", "Advanced options", 0, QApplication::UnicodeUTF8)); - GBAdvancedOptions->setTitle(QApplication::translate("CreateHypothesis", "Advanced options", 0, QApplication::UnicodeUTF8)); - TLMinimalDiameter->setText(QApplication::translate("CreateHypothesis", "Minimal diameter", 0, QApplication::UnicodeUTF8)); - TLMaximalLevel->setText(QApplication::translate("CreateHypothesis", "Maximal level", 0, QApplication::UnicodeUTF8)); - GBAdapInit->setTitle(QApplication::translate("CreateHypothesis", "Initialization of adaptation", 0, QApplication::UnicodeUTF8)); - RBAIN->setText(QApplication::translate("CreateHypothesis", "Nothing", 0, QApplication::UnicodeUTF8)); - RBAIR->setText(QApplication::translate("CreateHypothesis", "Refinement", 0, QApplication::UnicodeUTF8)); - RBAID->setText(QApplication::translate("CreateHypothesis", "Coarsening", 0, QApplication::UnicodeUTF8)); - CBOutputLevel->setText(QApplication::translate("CreateHypothesis", "Output of the level of refinement", 0, QApplication::UnicodeUTF8)); - CBOutputQuality->setText(QApplication::translate("CreateHypothesis", "Output of the qualities", 0, QApplication::UnicodeUTF8)); - CBOutputDiameter->setText(QApplication::translate("CreateHypothesis", "Output of the diameters", 0, QApplication::UnicodeUTF8)); + ___qtablewidgetitem6->setText(QApplication::translate("CreateHypothesis", "Field Name", 0)); + CBAdvanced->setText(QApplication::translate("CreateHypothesis", "Advanced options", 0)); + GBAdvancedOptions->setTitle(QApplication::translate("CreateHypothesis", "Advanced options", 0)); + TLMinimalDiameter->setText(QApplication::translate("CreateHypothesis", "Minimal diameter", 0)); + TLMaximalLevel->setText(QApplication::translate("CreateHypothesis", "Maximal level", 0)); + GBAdapInit->setTitle(QApplication::translate("CreateHypothesis", "Initialization of adaptation", 0)); + RBAIN->setText(QApplication::translate("CreateHypothesis", "Nothing", 0)); + RBAIR->setText(QApplication::translate("CreateHypothesis", "Refinement", 0)); + RBAID->setText(QApplication::translate("CreateHypothesis", "Coarsening", 0)); + CBOutputLevel->setText(QApplication::translate("CreateHypothesis", "Output of the level of refinement", 0)); + CBOutputQuality->setText(QApplication::translate("CreateHypothesis", "Output of the qualities", 0)); + CBOutputDiameter->setText(QApplication::translate("CreateHypothesis", "Output of the diameters", 0)); GBButtons->setTitle(QString()); - buttonOk->setText(QApplication::translate("CreateHypothesis", "OK", 0, QApplication::UnicodeUTF8)); - buttonApply->setText(QApplication::translate("CreateHypothesis", "Apply", 0, QApplication::UnicodeUTF8)); - buttonCancel->setText(QApplication::translate("CreateHypothesis", "Cancel", 0, QApplication::UnicodeUTF8)); - buttonHelp->setText(QApplication::translate("CreateHypothesis", "Help", 0, QApplication::UnicodeUTF8)); + buttonOk->setText(QApplication::translate("CreateHypothesis", "OK", 0)); + buttonApply->setText(QApplication::translate("CreateHypothesis", "Apply", 0)); + buttonCancel->setText(QApplication::translate("CreateHypothesis", "Cancel", 0)); + buttonHelp->setText(QApplication::translate("CreateHypothesis", "Help", 0)); } // retranslateUi }; diff --git a/src/HOMARDGUI/CreateIteration.h b/src/HOMARDGUI/CreateIteration.h index 38a7e6ee..463a8367 100644 --- a/src/HOMARDGUI/CreateIteration.h +++ b/src/HOMARDGUI/CreateIteration.h @@ -382,28 +382,28 @@ public: void retranslateUi(QScrollArea *CreateIteration) { - CreateIteration->setWindowTitle(QApplication::translate("CreateIteration", "Create an iteration", 0, QApplication::UnicodeUTF8)); - Iteration_Name->setText(QApplication::translate("CreateIteration", "Iteration Name", 0, QApplication::UnicodeUTF8)); - Iter_Parent->setText(QApplication::translate("CreateIteration", "Previous iteration", 0, QApplication::UnicodeUTF8)); + CreateIteration->setWindowTitle(QApplication::translate("CreateIteration", "Create an iteration", 0)); + Iteration_Name->setText(QApplication::translate("CreateIteration", "Iteration Name", 0)); + Iter_Parent->setText(QApplication::translate("CreateIteration", "Previous iteration", 0)); PBIterParent->setText(QString()); - Mesh_n->setText(QApplication::translate("CreateIteration", "Mesh n", 0, QApplication::UnicodeUTF8)); - Mesh_np1->setText(QApplication::translate("CreateIteration", "Mesh n+1", 0, QApplication::UnicodeUTF8)); - GBField->setTitle(QApplication::translate("CreateIteration", "Field information", 0, QApplication::UnicodeUTF8)); - RBChosen->setText(QApplication::translate("CreateIteration", "Chosen time step", 0, QApplication::UnicodeUTF8)); - Rank->setText(QApplication::translate("CreateIteration", "Rank", 0, QApplication::UnicodeUTF8)); - TimeStep->setText(QApplication::translate("CreateIteration", "Time step", 0, QApplication::UnicodeUTF8)); - RBLast->setText(QApplication::translate("CreateIteration", "Last time step", 0, QApplication::UnicodeUTF8)); - RBNo->setText(QApplication::translate("CreateIteration", "No time step", 0, QApplication::UnicodeUTF8)); + Mesh_n->setText(QApplication::translate("CreateIteration", "Mesh n", 0)); + Mesh_np1->setText(QApplication::translate("CreateIteration", "Mesh n+1", 0)); + GBField->setTitle(QApplication::translate("CreateIteration", "Field information", 0)); + RBChosen->setText(QApplication::translate("CreateIteration", "Chosen time step", 0)); + Rank->setText(QApplication::translate("CreateIteration", "Rank", 0)); + TimeStep->setText(QApplication::translate("CreateIteration", "Time step", 0)); + RBLast->setText(QApplication::translate("CreateIteration", "Last time step", 0)); + RBNo->setText(QApplication::translate("CreateIteration", "No time step", 0)); PushFieldFile->setText(QString()); - FieldFile->setText(QApplication::translate("CreateIteration", "Field file", 0, QApplication::UnicodeUTF8)); - Hypothese->setTitle(QApplication::translate("CreateIteration", "Hypothesis", 0, QApplication::UnicodeUTF8)); - PBHypoEdit->setText(QApplication::translate("CreateIteration", "Edit", 0, QApplication::UnicodeUTF8)); - PBHypoNew->setText(QApplication::translate("CreateIteration", "New", 0, QApplication::UnicodeUTF8)); + FieldFile->setText(QApplication::translate("CreateIteration", "Field file", 0)); + Hypothese->setTitle(QApplication::translate("CreateIteration", "Hypothesis", 0)); + PBHypoEdit->setText(QApplication::translate("CreateIteration", "Edit", 0)); + PBHypoNew->setText(QApplication::translate("CreateIteration", "New", 0)); GroupButtons->setTitle(QString()); - buttonOk->setText(QApplication::translate("CreateIteration", "OK", 0, QApplication::UnicodeUTF8)); - buttonApply->setText(QApplication::translate("CreateIteration", "Apply", 0, QApplication::UnicodeUTF8)); - buttonCancel->setText(QApplication::translate("CreateIteration", "Cancel", 0, QApplication::UnicodeUTF8)); - buttonHelp->setText(QApplication::translate("CreateIteration", "Help", 0, QApplication::UnicodeUTF8)); + buttonOk->setText(QApplication::translate("CreateIteration", "OK", 0)); + buttonApply->setText(QApplication::translate("CreateIteration", "Apply", 0)); + buttonCancel->setText(QApplication::translate("CreateIteration", "Cancel", 0)); + buttonHelp->setText(QApplication::translate("CreateIteration", "Help", 0)); } // retranslateUi }; diff --git a/src/HOMARDGUI/CreateListGroup.h b/src/HOMARDGUI/CreateListGroup.h index f57ebc20..399454dc 100644 --- a/src/HOMARDGUI/CreateListGroup.h +++ b/src/HOMARDGUI/CreateListGroup.h @@ -107,22 +107,22 @@ public: void retranslateUi(QDialog *CreateListGroup) { - CreateListGroup->setWindowTitle(QApplication::translate("CreateListGroup", "Selection of groups", 0, QApplication::UnicodeUTF8)); + CreateListGroup->setWindowTitle(QApplication::translate("CreateListGroup", "Selection of groups", 0)); GBButtons->setTitle(QString()); - buttonHelp->setText(QApplication::translate("CreateListGroup", "Help", 0, QApplication::UnicodeUTF8)); - buttonCancel->setText(QApplication::translate("CreateListGroup", "Cancel", 0, QApplication::UnicodeUTF8)); - buttonApply->setText(QApplication::translate("CreateListGroup", "Apply", 0, QApplication::UnicodeUTF8)); - buttonOk->setText(QApplication::translate("CreateListGroup", "OK", 0, QApplication::UnicodeUTF8)); - GBOptions->setTitle(QApplication::translate("CreateListGroup", "Selected groups", 0, QApplication::UnicodeUTF8)); + buttonHelp->setText(QApplication::translate("CreateListGroup", "Help", 0)); + buttonCancel->setText(QApplication::translate("CreateListGroup", "Cancel", 0)); + buttonApply->setText(QApplication::translate("CreateListGroup", "Apply", 0)); + buttonOk->setText(QApplication::translate("CreateListGroup", "OK", 0)); + GBOptions->setTitle(QApplication::translate("CreateListGroup", "Selected groups", 0)); if (TWGroupe->columnCount() < 2) TWGroupe->setColumnCount(2); QTableWidgetItem *__colItem = new QTableWidgetItem(); - __colItem->setText(QApplication::translate("CreateListGroup", "Selection", 0, QApplication::UnicodeUTF8)); + __colItem->setText(QApplication::translate("CreateListGroup", "Selection", 0)); TWGroupe->setHorizontalHeaderItem(0, __colItem); QTableWidgetItem *__colItem1 = new QTableWidgetItem(); - __colItem1->setText(QApplication::translate("CreateListGroup", "Group", 0, QApplication::UnicodeUTF8)); + __colItem1->setText(QApplication::translate("CreateListGroup", "Group", 0)); TWGroupe->setHorizontalHeaderItem(1, __colItem1); Q_UNUSED(CreateListGroup); } // retranslateUi diff --git a/src/HOMARDGUI/CreateYACS.h b/src/HOMARDGUI/CreateYACS.h index ff732b73..79b2504f 100644 --- a/src/HOMARDGUI/CreateYACS.h +++ b/src/HOMARDGUI/CreateYACS.h @@ -406,33 +406,33 @@ public: void retranslateUi(QScrollArea *CreateYACS) { - CreateYACS->setWindowTitle(QApplication::translate("CreateYACS", "Create YACS", 0, QApplication::UnicodeUTF8)); - Name->setText(QApplication::translate("CreateYACS", "Name", 0, QApplication::UnicodeUTF8)); - Case->setText(QApplication::translate("CreateYACS", "Case", 0, QApplication::UnicodeUTF8)); + CreateYACS->setWindowTitle(QApplication::translate("CreateYACS", "Create YACS", 0)); + Name->setText(QApplication::translate("CreateYACS", "Name", 0)); + Case->setText(QApplication::translate("CreateYACS", "Case", 0)); PBCaseName->setText(QString()); - Script->setText(QApplication::translate("CreateYACS", "Script", 0, QApplication::UnicodeUTF8)); + Script->setText(QApplication::translate("CreateYACS", "Script", 0)); PBScriptFile->setText(QString()); - DirectoryStart->setText(QApplication::translate("CreateYACS", "Directory", 0, QApplication::UnicodeUTF8)); + DirectoryStart->setText(QApplication::translate("CreateYACS", "Directory", 0)); PBDir->setText(QString()); - MeshFile->setText(QApplication::translate("CreateYACS", "Mesh file", 0, QApplication::UnicodeUTF8)); + MeshFile->setText(QApplication::translate("CreateYACS", "Mesh file", 0)); PBMeshFile->setText(QString()); - GBTypeSchema->setTitle(QApplication::translate("CreateYACS", "Type of schema", 0, QApplication::UnicodeUTF8)); - RBConstant->setText(QApplication::translate("CreateYACS", "Constant", 0, QApplication::UnicodeUTF8)); - RBVariable->setText(QApplication::translate("CreateYACS", "Variable", 0, QApplication::UnicodeUTF8)); - GBMax->setTitle(QApplication::translate("CreateYACS", "Maximum of ...", 0, QApplication::UnicodeUTF8)); - TLMaxIteration->setText(QApplication::translate("CreateYACS", "Iterations", 0, QApplication::UnicodeUTF8)); - TLMaxNodes->setText(QApplication::translate("CreateYACS", "Nodes", 0, QApplication::UnicodeUTF8)); - TLMaxElem->setText(QApplication::translate("CreateYACS", "Elements", 0, QApplication::UnicodeUTF8)); - GBConvergence->setTitle(QApplication::translate("CreateYACS", "Test of convergence", 0, QApplication::UnicodeUTF8)); - RBNone->setText(QApplication::translate("CreateYACS", "None", 0, QApplication::UnicodeUTF8)); - RBVMinAbs->setText(QApplication::translate("CreateYACS", "Vtest > Vref", 0, QApplication::UnicodeUTF8)); - RBVMaxAbs->setText(QApplication::translate("CreateYACS", "Vtest < Vref", 0, QApplication::UnicodeUTF8)); - labelVref->setText(QApplication::translate("CreateYACS", "Vref", 0, QApplication::UnicodeUTF8)); + GBTypeSchema->setTitle(QApplication::translate("CreateYACS", "Type of schema", 0)); + RBConstant->setText(QApplication::translate("CreateYACS", "Constant", 0)); + RBVariable->setText(QApplication::translate("CreateYACS", "Variable", 0)); + GBMax->setTitle(QApplication::translate("CreateYACS", "Maximum of ...", 0)); + TLMaxIteration->setText(QApplication::translate("CreateYACS", "Iterations", 0)); + TLMaxNodes->setText(QApplication::translate("CreateYACS", "Nodes", 0)); + TLMaxElem->setText(QApplication::translate("CreateYACS", "Elements", 0)); + GBConvergence->setTitle(QApplication::translate("CreateYACS", "Test of convergence", 0)); + RBNone->setText(QApplication::translate("CreateYACS", "None", 0)); + RBVMinAbs->setText(QApplication::translate("CreateYACS", "Vtest > Vref", 0)); + RBVMaxAbs->setText(QApplication::translate("CreateYACS", "Vtest < Vref", 0)); + labelVref->setText(QApplication::translate("CreateYACS", "Vref", 0)); GroupButtons->setTitle(QString()); - buttonHelp->setText(QApplication::translate("CreateYACS", "Help", 0, QApplication::UnicodeUTF8)); - buttonApply->setText(QApplication::translate("CreateYACS", "Apply", 0, QApplication::UnicodeUTF8)); - buttonOk->setText(QApplication::translate("CreateYACS", "OK", 0, QApplication::UnicodeUTF8)); - buttonCancel->setText(QApplication::translate("CreateYACS", "Cancel", 0, QApplication::UnicodeUTF8)); + buttonHelp->setText(QApplication::translate("CreateYACS", "Help", 0)); + buttonApply->setText(QApplication::translate("CreateYACS", "Apply", 0)); + buttonOk->setText(QApplication::translate("CreateYACS", "OK", 0)); + buttonCancel->setText(QApplication::translate("CreateYACS", "Cancel", 0)); } // retranslateUi }; diff --git a/src/HOMARDGUI/CreateZone.h b/src/HOMARDGUI/CreateZone.h index 74f50886..97666ac5 100644 --- a/src/HOMARDGUI/CreateZone.h +++ b/src/HOMARDGUI/CreateZone.h @@ -751,49 +751,49 @@ public: void retranslateUi(QDialog *CreateZone) { - CreateZone->setWindowTitle(QApplication::translate("CreateZone", "Create a zone", 0, QApplication::UnicodeUTF8)); - Name->setText(QApplication::translate("CreateZone", "Name", 0, QApplication::UnicodeUTF8)); - TypeZone->setTitle(QApplication::translate("CreateZone", "Type of zone", 0, QApplication::UnicodeUTF8)); - RBSphere->setText(QApplication::translate("CreateZone", "Sphere", 0, QApplication::UnicodeUTF8)); - RBPipe->setText(QApplication::translate("CreateZone", "Pipe", 0, QApplication::UnicodeUTF8)); - RBCylinder->setText(QApplication::translate("CreateZone", "Cylinder", 0, QApplication::UnicodeUTF8)); - RBBox->setText(QApplication::translate("CreateZone", "Box", 0, QApplication::UnicodeUTF8)); - gBBox->setTitle(QApplication::translate("CreateZone", "Coordinates", 0, QApplication::UnicodeUTF8)); - TLXmini->setText(QApplication::translate("CreateZone", "X mini", 0, QApplication::UnicodeUTF8)); - TLYmini->setText(QApplication::translate("CreateZone", "Y mini", 0, QApplication::UnicodeUTF8)); - TLZmini->setText(QApplication::translate("CreateZone", "Z mini", 0, QApplication::UnicodeUTF8)); - TLXmaxi->setText(QApplication::translate("CreateZone", "X maxi", 0, QApplication::UnicodeUTF8)); - TLZmaxi->setText(QApplication::translate("CreateZone", "Z maxi", 0, QApplication::UnicodeUTF8)); - TLYmaxi->setText(QApplication::translate("CreateZone", "Y maxi", 0, QApplication::UnicodeUTF8)); - gBSphere->setTitle(QApplication::translate("CreateZone", "Coordinates", 0, QApplication::UnicodeUTF8)); - TLXcentre->setText(QApplication::translate("CreateZone", "X centre", 0, QApplication::UnicodeUTF8)); - TLYcentre->setText(QApplication::translate("CreateZone", "Y centre", 0, QApplication::UnicodeUTF8)); - TLRayon->setText(QApplication::translate("CreateZone", "Radius", 0, QApplication::UnicodeUTF8)); - TLZcentre->setText(QApplication::translate("CreateZone", "Z centre", 0, QApplication::UnicodeUTF8)); - gBCylindre->setTitle(QApplication::translate("CreateZone", "Coordinates", 0, QApplication::UnicodeUTF8)); - TLHaut->setText(QApplication::translate("CreateZone", "Height", 0, QApplication::UnicodeUTF8)); - TLRadius->setText(QApplication::translate("CreateZone", "Radius", 0, QApplication::UnicodeUTF8)); - TLZaxis->setText(QApplication::translate("CreateZone", "Z axis", 0, QApplication::UnicodeUTF8)); - TLYaxis->setText(QApplication::translate("CreateZone", "Y axis", 0, QApplication::UnicodeUTF8)); - TLXaxis->setText(QApplication::translate("CreateZone", "X axis", 0, QApplication::UnicodeUTF8)); - TLYbase->setText(QApplication::translate("CreateZone", "Y base", 0, QApplication::UnicodeUTF8)); - TLZbase->setText(QApplication::translate("CreateZone", "Z base", 0, QApplication::UnicodeUTF8)); - TLXbase->setText(QApplication::translate("CreateZone", "X base", 0, QApplication::UnicodeUTF8)); - gBPipe->setTitle(QApplication::translate("CreateZone", "Coordinates", 0, QApplication::UnicodeUTF8)); - TLHaut_p->setText(QApplication::translate("CreateZone", "Height", 0, QApplication::UnicodeUTF8)); - TLXbase_p->setText(QApplication::translate("CreateZone", "X base", 0, QApplication::UnicodeUTF8)); - TLRadius_int->setText(QApplication::translate("CreateZone", "Internal radius", 0, QApplication::UnicodeUTF8)); - TLZbase_p->setText(QApplication::translate("CreateZone", "Z base", 0, QApplication::UnicodeUTF8)); - TLYbase_p->setText(QApplication::translate("CreateZone", "Y base", 0, QApplication::UnicodeUTF8)); - TLXaxis_p->setText(QApplication::translate("CreateZone", "X axis", 0, QApplication::UnicodeUTF8)); - TLYaxis_p->setText(QApplication::translate("CreateZone", "Y axis", 0, QApplication::UnicodeUTF8)); - TLZaxis_p->setText(QApplication::translate("CreateZone", "Z axis", 0, QApplication::UnicodeUTF8)); - TLRadius_ext->setText(QApplication::translate("CreateZone", "External radius", 0, QApplication::UnicodeUTF8)); + CreateZone->setWindowTitle(QApplication::translate("CreateZone", "Create a zone", 0)); + Name->setText(QApplication::translate("CreateZone", "Name", 0)); + TypeZone->setTitle(QApplication::translate("CreateZone", "Type of zone", 0)); + RBSphere->setText(QApplication::translate("CreateZone", "Sphere", 0)); + RBPipe->setText(QApplication::translate("CreateZone", "Pipe", 0)); + RBCylinder->setText(QApplication::translate("CreateZone", "Cylinder", 0)); + RBBox->setText(QApplication::translate("CreateZone", "Box", 0)); + gBBox->setTitle(QApplication::translate("CreateZone", "Coordinates", 0)); + TLXmini->setText(QApplication::translate("CreateZone", "X mini", 0)); + TLYmini->setText(QApplication::translate("CreateZone", "Y mini", 0)); + TLZmini->setText(QApplication::translate("CreateZone", "Z mini", 0)); + TLXmaxi->setText(QApplication::translate("CreateZone", "X maxi", 0)); + TLZmaxi->setText(QApplication::translate("CreateZone", "Z maxi", 0)); + TLYmaxi->setText(QApplication::translate("CreateZone", "Y maxi", 0)); + gBSphere->setTitle(QApplication::translate("CreateZone", "Coordinates", 0)); + TLXcentre->setText(QApplication::translate("CreateZone", "X centre", 0)); + TLYcentre->setText(QApplication::translate("CreateZone", "Y centre", 0)); + TLRayon->setText(QApplication::translate("CreateZone", "Radius", 0)); + TLZcentre->setText(QApplication::translate("CreateZone", "Z centre", 0)); + gBCylindre->setTitle(QApplication::translate("CreateZone", "Coordinates", 0)); + TLHaut->setText(QApplication::translate("CreateZone", "Height", 0)); + TLRadius->setText(QApplication::translate("CreateZone", "Radius", 0)); + TLZaxis->setText(QApplication::translate("CreateZone", "Z axis", 0)); + TLYaxis->setText(QApplication::translate("CreateZone", "Y axis", 0)); + TLXaxis->setText(QApplication::translate("CreateZone", "X axis", 0)); + TLYbase->setText(QApplication::translate("CreateZone", "Y base", 0)); + TLZbase->setText(QApplication::translate("CreateZone", "Z base", 0)); + TLXbase->setText(QApplication::translate("CreateZone", "X base", 0)); + gBPipe->setTitle(QApplication::translate("CreateZone", "Coordinates", 0)); + TLHaut_p->setText(QApplication::translate("CreateZone", "Height", 0)); + TLXbase_p->setText(QApplication::translate("CreateZone", "X base", 0)); + TLRadius_int->setText(QApplication::translate("CreateZone", "Internal radius", 0)); + TLZbase_p->setText(QApplication::translate("CreateZone", "Z base", 0)); + TLYbase_p->setText(QApplication::translate("CreateZone", "Y base", 0)); + TLXaxis_p->setText(QApplication::translate("CreateZone", "X axis", 0)); + TLYaxis_p->setText(QApplication::translate("CreateZone", "Y axis", 0)); + TLZaxis_p->setText(QApplication::translate("CreateZone", "Z axis", 0)); + TLRadius_ext->setText(QApplication::translate("CreateZone", "External radius", 0)); GBButtons->setTitle(QString()); - buttonHelp->setText(QApplication::translate("CreateZone", "Help", 0, QApplication::UnicodeUTF8)); - buttonCancel->setText(QApplication::translate("CreateZone", "Cancel", 0, QApplication::UnicodeUTF8)); - buttonApply->setText(QApplication::translate("CreateZone", "Apply", 0, QApplication::UnicodeUTF8)); - buttonOk->setText(QApplication::translate("CreateZone", "OK", 0, QApplication::UnicodeUTF8)); + buttonHelp->setText(QApplication::translate("CreateZone", "Help", 0)); + buttonCancel->setText(QApplication::translate("CreateZone", "Cancel", 0)); + buttonApply->setText(QApplication::translate("CreateZone", "Apply", 0)); + buttonOk->setText(QApplication::translate("CreateZone", "OK", 0)); } // retranslateUi }; diff --git a/src/HOMARDGUI/EditFile.h b/src/HOMARDGUI/EditFile.h index 66500c6b..8caa5fa2 100644 --- a/src/HOMARDGUI/EditFile.h +++ b/src/HOMARDGUI/EditFile.h @@ -19,7 +19,7 @@ #include #include #include -#include +#include #include QT_BEGIN_NAMESPACE @@ -103,10 +103,10 @@ public: void retranslateUi(QWidget *EditFile) { - EditFile->setWindowTitle(QApplication::translate("EditFile", "Edit a file", 0, QApplication::UnicodeUTF8)); + EditFile->setWindowTitle(QApplication::translate("EditFile", "Edit a file", 0)); GroupButtons->setTitle(QString()); - buttonPrint->setText(QApplication::translate("EditFile", "Print", 0, QApplication::UnicodeUTF8)); - buttonQuit->setText(QApplication::translate("EditFile", "Quit", 0, QApplication::UnicodeUTF8)); + buttonPrint->setText(QApplication::translate("EditFile", "Print", 0)); + buttonQuit->setText(QApplication::translate("EditFile", "Quit", 0)); } // retranslateUi }; diff --git a/src/HOMARDGUI/IterInfo.h b/src/HOMARDGUI/IterInfo.h index 452a9dab..bd390ebb 100644 --- a/src/HOMARDGUI/IterInfo.h +++ b/src/HOMARDGUI/IterInfo.h @@ -131,18 +131,18 @@ public: void retranslateUi(QDialog *IterInfo) { - IterInfo->setWindowTitle(QApplication::translate("IterInfo", "Information on a mesh", 0, QApplication::UnicodeUTF8)); - GBOptions->setTitle(QApplication::translate("IterInfo", "Options", 0, QApplication::UnicodeUTF8)); - CBQuality->setText(QApplication::translate("IterInfo", "Quality", 0, QApplication::UnicodeUTF8)); - CBConnection->setText(QApplication::translate("IterInfo", "Connection", 0, QApplication::UnicodeUTF8)); - CBDiametre->setText(QApplication::translate("IterInfo", "Diametre", 0, QApplication::UnicodeUTF8)); - CBBlockSize->setText(QApplication::translate("IterInfo", "Group size", 0, QApplication::UnicodeUTF8)); - CBEntanglement->setText(QApplication::translate("IterInfo", "Entanglement", 0, QApplication::UnicodeUTF8)); + IterInfo->setWindowTitle(QApplication::translate("IterInfo", "Information on a mesh", 0)); + GBOptions->setTitle(QApplication::translate("IterInfo", "Options", 0)); + CBQuality->setText(QApplication::translate("IterInfo", "Quality", 0)); + CBConnection->setText(QApplication::translate("IterInfo", "Connection", 0)); + CBDiametre->setText(QApplication::translate("IterInfo", "Diametre", 0)); + CBBlockSize->setText(QApplication::translate("IterInfo", "Group size", 0)); + CBEntanglement->setText(QApplication::translate("IterInfo", "Entanglement", 0)); GroupButtons->setTitle(QString()); - buttonHelp->setText(QApplication::translate("IterInfo", "Help", 0, QApplication::UnicodeUTF8)); - buttonApply->setText(QApplication::translate("IterInfo", "Apply", 0, QApplication::UnicodeUTF8)); - buttonOk->setText(QApplication::translate("IterInfo", "OK", 0, QApplication::UnicodeUTF8)); - buttonCancel->setText(QApplication::translate("IterInfo", "Cancel", 0, QApplication::UnicodeUTF8)); + buttonHelp->setText(QApplication::translate("IterInfo", "Help", 0)); + buttonApply->setText(QApplication::translate("IterInfo", "Apply", 0)); + buttonOk->setText(QApplication::translate("IterInfo", "OK", 0)); + buttonCancel->setText(QApplication::translate("IterInfo", "Cancel", 0)); } // retranslateUi }; diff --git a/src/HOMARDGUI/MeshInfo.h b/src/HOMARDGUI/MeshInfo.h index 95dc88bf..f67526f1 100644 --- a/src/HOMARDGUI/MeshInfo.h +++ b/src/HOMARDGUI/MeshInfo.h @@ -240,23 +240,23 @@ public: void retranslateUi(QDialog *MeshInfo) { - MeshInfo->setWindowTitle(QApplication::translate("MeshInfo", "Information on a mesh", 0, QApplication::UnicodeUTF8)); - Name->setText(QApplication::translate("MeshInfo", "Name", 0, QApplication::UnicodeUTF8)); - Directory->setText(QApplication::translate("MeshInfo", "Directory", 0, QApplication::UnicodeUTF8)); + MeshInfo->setWindowTitle(QApplication::translate("MeshInfo", "Information on a mesh", 0)); + Name->setText(QApplication::translate("MeshInfo", "Name", 0)); + Directory->setText(QApplication::translate("MeshInfo", "Directory", 0)); PushDir->setText(QString()); - Mesh_2->setText(QApplication::translate("MeshInfo", "Mesh", 0, QApplication::UnicodeUTF8)); + Mesh_2->setText(QApplication::translate("MeshInfo", "Mesh", 0)); PushFichier->setText(QString()); - GBOptions->setTitle(QApplication::translate("MeshInfo", "Options", 0, QApplication::UnicodeUTF8)); - CBQuality->setText(QApplication::translate("MeshInfo", "Quality", 0, QApplication::UnicodeUTF8)); - CBConnection->setText(QApplication::translate("MeshInfo", "Connection", 0, QApplication::UnicodeUTF8)); - CBDiametre->setText(QApplication::translate("MeshInfo", "Diametre", 0, QApplication::UnicodeUTF8)); - CBBlockSize->setText(QApplication::translate("MeshInfo", "Group size", 0, QApplication::UnicodeUTF8)); - CBEntanglement->setText(QApplication::translate("MeshInfo", "Entanglement", 0, QApplication::UnicodeUTF8)); + GBOptions->setTitle(QApplication::translate("MeshInfo", "Options", 0)); + CBQuality->setText(QApplication::translate("MeshInfo", "Quality", 0)); + CBConnection->setText(QApplication::translate("MeshInfo", "Connection", 0)); + CBDiametre->setText(QApplication::translate("MeshInfo", "Diametre", 0)); + CBBlockSize->setText(QApplication::translate("MeshInfo", "Group size", 0)); + CBEntanglement->setText(QApplication::translate("MeshInfo", "Entanglement", 0)); GroupButtons->setTitle(QString()); - buttonHelp->setText(QApplication::translate("MeshInfo", "Help", 0, QApplication::UnicodeUTF8)); - buttonApply->setText(QApplication::translate("MeshInfo", "Apply", 0, QApplication::UnicodeUTF8)); - buttonOk->setText(QApplication::translate("MeshInfo", "OK", 0, QApplication::UnicodeUTF8)); - buttonCancel->setText(QApplication::translate("MeshInfo", "Cancel", 0, QApplication::UnicodeUTF8)); + buttonHelp->setText(QApplication::translate("MeshInfo", "Help", 0)); + buttonApply->setText(QApplication::translate("MeshInfo", "Apply", 0)); + buttonOk->setText(QApplication::translate("MeshInfo", "OK", 0)); + buttonCancel->setText(QApplication::translate("MeshInfo", "Cancel", 0)); } // retranslateUi }; diff --git a/src/HOMARDGUI/MonCreateBoundaryAn.cxx b/src/HOMARDGUI/MonCreateBoundaryAn.cxx index 10018e6a..03419563 100644 --- a/src/HOMARDGUI/MonCreateBoundaryAn.cxx +++ b/src/HOMARDGUI/MonCreateBoundaryAn.cxx @@ -611,28 +611,28 @@ void MonCreateBoundaryAn::SetConeR() // _Type=4; // - TLCone_X1->setText(QApplication::translate("CreateBoundaryAn", "X centre 1", 0, QApplication::UnicodeUTF8)); + TLCone_X1->setText(QApplication::translate("CreateBoundaryAn", "X centre 1", 0)); SpinBox_Cone_X1->setValue(_BoundaryAnXcone1); - TLCone_Y1->setText(QApplication::translate("CreateBoundaryAn", "Y centre 1", 0, QApplication::UnicodeUTF8)); + TLCone_Y1->setText(QApplication::translate("CreateBoundaryAn", "Y centre 1", 0)); SpinBox_Cone_Y1->setValue(_BoundaryAnYcone1); - TLCone_Z1->setText(QApplication::translate("CreateBoundaryAn", "Z centre 1", 0, QApplication::UnicodeUTF8)); + TLCone_Z1->setText(QApplication::translate("CreateBoundaryAn", "Z centre 1", 0)); SpinBox_Cone_Z1->setValue(_BoundaryAnZcone1); // - TLCone_V1->setText(QApplication::translate("CreateBoundaryAn", "Radius 1", 0, QApplication::UnicodeUTF8)); + TLCone_V1->setText(QApplication::translate("CreateBoundaryAn", "Radius 1", 0)); SpinBox_Cone_V1->setSingleStep(_Rayon/10.); SpinBox_Cone_V1->setMaximum(100000.*_DMax); SpinBox_Cone_V1->setValue(_BoundaryAnRayon1); // - TLCone_X2->setText(QApplication::translate("CreateBoundaryAn", "X centre 2", 0, QApplication::UnicodeUTF8)); + TLCone_X2->setText(QApplication::translate("CreateBoundaryAn", "X centre 2", 0)); SpinBox_Cone_X2->setValue(_BoundaryAnXcone2); - TLCone_Y2->setText(QApplication::translate("CreateBoundaryAn", "Y centre 2", 0, QApplication::UnicodeUTF8)); + TLCone_Y2->setText(QApplication::translate("CreateBoundaryAn", "Y centre 2", 0)); SpinBox_Cone_Y2->setValue(_BoundaryAnYcone2); - TLCone_Z2->setText(QApplication::translate("CreateBoundaryAn", "Z centre 2", 0, QApplication::UnicodeUTF8)); + TLCone_Z2->setText(QApplication::translate("CreateBoundaryAn", "Z centre 2", 0)); SpinBox_Cone_Z2->setValue(_BoundaryAnZcone2); // TLCone_V2->setVisible(1); SpinBox_Cone_V2->setVisible(1); - TLCone_V2->setText(QApplication::translate("CreateBoundaryAn", "Radius 2", 0, QApplication::UnicodeUTF8)); + TLCone_V2->setText(QApplication::translate("CreateBoundaryAn", "Radius 2", 0)); SpinBox_Cone_V2->setValue(_BoundaryAnRayon2); // // MESSAGE("Fin de SetConeR") @@ -666,21 +666,21 @@ void MonCreateBoundaryAn::SetConeA() // _Type=3; // - TLCone_X1->setText(QApplication::translate("CreateBoundaryAn", "X axis", 0, QApplication::UnicodeUTF8)); + TLCone_X1->setText(QApplication::translate("CreateBoundaryAn", "X axis", 0)); SpinBox_Cone_X1->setValue(_BoundaryAnXaxisCone); - TLCone_Y1->setText(QApplication::translate("CreateBoundaryAn", "Y axis", 0, QApplication::UnicodeUTF8)); + TLCone_Y1->setText(QApplication::translate("CreateBoundaryAn", "Y axis", 0)); SpinBox_Cone_Y1->setValue(_BoundaryAnYaxisCone); - TLCone_Z1->setText(QApplication::translate("CreateBoundaryAn", "Z axis", 0, QApplication::UnicodeUTF8)); + TLCone_Z1->setText(QApplication::translate("CreateBoundaryAn", "Z axis", 0)); SpinBox_Cone_Z1->setValue(_BoundaryAnZaxisCone); // - TLCone_X2->setText(QApplication::translate("CreateBoundaryAn", "X centre", 0, QApplication::UnicodeUTF8)); + TLCone_X2->setText(QApplication::translate("CreateBoundaryAn", "X centre", 0)); SpinBox_Cone_X2->setValue(_BoundaryAnXorigCone); - TLCone_Y2->setText(QApplication::translate("CreateBoundaryAn", "Y centre", 0, QApplication::UnicodeUTF8)); + TLCone_Y2->setText(QApplication::translate("CreateBoundaryAn", "Y centre", 0)); SpinBox_Cone_Y2->setValue(_BoundaryAnYorigCone); - TLCone_Z2->setText(QApplication::translate("CreateBoundaryAn", "Z centre", 0, QApplication::UnicodeUTF8)); + TLCone_Z2->setText(QApplication::translate("CreateBoundaryAn", "Z centre", 0)); SpinBox_Cone_Z2->setValue(_BoundaryAnZorigCone); // - TLCone_V1->setText(QApplication::translate("CreateBoundaryAn", "Angle", 0, QApplication::UnicodeUTF8)); + TLCone_V1->setText(QApplication::translate("CreateBoundaryAn", "Angle", 0)); SpinBox_Cone_V1->setValue(_BoundaryAngle); SpinBox_Cone_V1->setSingleStep(1.); SpinBox_Cone_V1->setMaximum(90.); diff --git a/src/HOMARDGUI/MonCreateBoundaryDi.cxx b/src/HOMARDGUI/MonCreateBoundaryDi.cxx index ea99e674..22c201b0 100644 --- a/src/HOMARDGUI/MonCreateBoundaryDi.cxx +++ b/src/HOMARDGUI/MonCreateBoundaryDi.cxx @@ -204,7 +204,7 @@ void MonCreateBoundaryDi::SetFiltrage() return; } - MonCreateListGroup *aDlg = new MonCreateListGroup(NULL,this, TRUE, HOMARD::HOMARD_Gen::_duplicate(myHomardGen), + MonCreateListGroup *aDlg = new MonCreateListGroup(NULL,this, true, HOMARD::HOMARD_Gen::_duplicate(myHomardGen), _aCaseName, _listeGroupesBoundary) ; aDlg->show(); } diff --git a/src/HOMARDGUI/MonCreateCase.cxx b/src/HOMARDGUI/MonCreateCase.cxx index 87892c7a..4349b606 100644 --- a/src/HOMARDGUI/MonCreateCase.cxx +++ b/src/HOMARDGUI/MonCreateCase.cxx @@ -118,7 +118,7 @@ void MonCreateCase::InitBoundarys() // Pour les frontieres analytiques : la colonne des groupes HOMARD::ListGroupType_var _listeGroupesCas = aCase->GetGroups(); QTableWidgetItem *__colItem = new QTableWidgetItem(); - __colItem->setText(QApplication::translate("CreateCase", "", 0, QApplication::UnicodeUTF8)); + __colItem->setText(QApplication::translate("CreateCase", "", 0)); TWBoundary->setHorizontalHeaderItem(0, __colItem); for ( int i = 0; i < _listeGroupesCas->length(); i++ ) { @@ -503,7 +503,7 @@ void MonCreateCase::AddBoundaryAn(QString newBoundary) nbcol += 1 ; TWBoundary->setColumnCount ( nbcol ) ; QTableWidgetItem *__colItem = new QTableWidgetItem(); - __colItem->setText(QApplication::translate("CreateCase", newBoundary.toStdString().c_str(), 0, QApplication::UnicodeUTF8)); + __colItem->setText(QApplication::translate("CreateCase", newBoundary.toStdString().c_str(), 0)); TWBoundary->setHorizontalHeaderItem(nbcol-1, __colItem); /* TWBoundary->horizontalHeaderItem(nbcol-1)->setFlags( Qt::ItemIsSelectable|Qt::ItemIsEnabled );*/ // Chaque case est a cocher diff --git a/src/HOMARDGUI/MonCreateHypothesis.cxx b/src/HOMARDGUI/MonCreateHypothesis.cxx index 7ec1a47a..8388f811 100644 --- a/src/HOMARDGUI/MonCreateHypothesis.cxx +++ b/src/HOMARDGUI/MonCreateHypothesis.cxx @@ -316,7 +316,7 @@ void MonCreateHypothesis::PushZoneNew() // ------------------------------------------------------------------------ { MESSAGE("Debut de MonCreateHypothesis::PushZoneNew") - MonCreateZone *aDlg = new MonCreateZone(this, TRUE, HOMARD::HOMARD_Gen::_duplicate(myHomardGen), _aCaseName) ; + MonCreateZone *aDlg = new MonCreateZone(this, true, HOMARD::HOMARD_Gen::_duplicate(myHomardGen), _aCaseName) ; aDlg->show(); } @@ -334,7 +334,7 @@ void MonCreateHypothesis::PushZoneEdit() return; } QString zoneName = monItem->text().trimmed(); - MonEditZone *aDlg = new MonEditZone(this, TRUE, HOMARD::HOMARD_Gen::_duplicate(myHomardGen), _aCaseName, zoneName) ; + MonEditZone *aDlg = new MonEditZone(this, true, HOMARD::HOMARD_Gen::_duplicate(myHomardGen), _aCaseName, zoneName) ; aDlg->show(); } // ------------------------------------------------------------------------ @@ -709,7 +709,7 @@ void MonCreateHypothesis::SetFiltrage() // ------------------------------------------------------------------------ { if (!CBGroupe->isChecked()) return; - MonCreateListGroup *aDlg = new MonCreateListGroup(this, NULL, TRUE, HOMARD::HOMARD_Gen::_duplicate(myHomardGen),_aCaseName, _aListeGroupes) ; + MonCreateListGroup *aDlg = new MonCreateListGroup(this, NULL, true, HOMARD::HOMARD_Gen::_duplicate(myHomardGen),_aCaseName, _aListeGroupes) ; aDlg->show(); } diff --git a/src/HOMARDGUI/MonCreateIteration.cxx b/src/HOMARDGUI/MonCreateIteration.cxx index 0709abca..3c4e4cce 100644 --- a/src/HOMARDGUI/MonCreateIteration.cxx +++ b/src/HOMARDGUI/MonCreateIteration.cxx @@ -249,7 +249,7 @@ void MonCreateIteration::PushHypoEdit() return; } QString aFieldFile=LEFieldFile->text().trimmed(); - MonEditHypothesis *HypoDlg = new MonEditHypothesis(this,TRUE, HOMARD::HOMARD_Gen::_duplicate(myHomardGen),CBHypothese->currentText(), _CaseName, aFieldFile) ; + MonEditHypothesis *HypoDlg = new MonEditHypothesis(this,true, HOMARD::HOMARD_Gen::_duplicate(myHomardGen),CBHypothese->currentText(), _CaseName, aFieldFile) ; HypoDlg->show(); } @@ -277,7 +277,7 @@ void MonCreateIteration::PushHypoNew() _CaseName = aIterParent->GetCaseName(); } QString aFieldFile=LEFieldFile->text().trimmed(); - MonCreateHypothesis *HypoDlg = new MonCreateHypothesis(this,TRUE,HOMARD::HOMARD_Gen::_duplicate(myHomardGen),QString(""),_CaseName, aFieldFile) ; + MonCreateHypothesis *HypoDlg = new MonCreateHypothesis(this,true,HOMARD::HOMARD_Gen::_duplicate(myHomardGen),QString(""),_CaseName, aFieldFile) ; HypoDlg->show(); } // ------------------------------------------------------------------------ diff --git a/src/HOMARDGUI/MonCreateZone.cxx b/src/HOMARDGUI/MonCreateZone.cxx index a7f099c1..87446b01 100644 --- a/src/HOMARDGUI/MonCreateZone.cxx +++ b/src/HOMARDGUI/MonCreateZone.cxx @@ -199,19 +199,19 @@ void MonCreateZone::InitValZone() if ( _Orient == 0 ) { pix = resMgr->loadPixmap( "HOMARD", "cylinderpointvector.png" ) ; } else { pix = resMgr->loadPixmap( "HOMARD", "disk.png" ) ; - RBCylinder->setText(QApplication::translate("CreateZone", "Disk", 0, QApplication::UnicodeUTF8)); - TLXbase->setText(QApplication::translate("CreateZone", "X centre", 0, QApplication::UnicodeUTF8)); - TLYbase->setText(QApplication::translate("CreateZone", "Y centre", 0, QApplication::UnicodeUTF8)); - TLZbase->setText(QApplication::translate("CreateZone", "Z centre", 0, QApplication::UnicodeUTF8)); } + RBCylinder->setText(QApplication::translate("CreateZone", "Disk", 0)); + TLXbase->setText(QApplication::translate("CreateZone", "X centre", 0)); + TLYbase->setText(QApplication::translate("CreateZone", "Y centre", 0)); + TLZbase->setText(QApplication::translate("CreateZone", "Z centre", 0)); } IS=QIcon(pix) ; RBCylinder->setIcon(IS) ; if ( _Orient == 0 ) { pix = resMgr->loadPixmap( "HOMARD", "pipe.png" ) ; } else { pix = resMgr->loadPixmap( "HOMARD", "diskwithhole.png" ) ; - RBPipe->setText(QApplication::translate("CreateZone", "Disk with hole", 0, QApplication::UnicodeUTF8)); - TLXbase_p->setText(QApplication::translate("CreateZone", "X centre", 0, QApplication::UnicodeUTF8)); - TLYbase_p->setText(QApplication::translate("CreateZone", "Y centre", 0, QApplication::UnicodeUTF8)); - TLZbase_p->setText(QApplication::translate("CreateZone", "Z centre", 0, QApplication::UnicodeUTF8)); } + RBPipe->setText(QApplication::translate("CreateZone", "Disk with hole", 0)); + TLXbase_p->setText(QApplication::translate("CreateZone", "X centre", 0)); + TLYbase_p->setText(QApplication::translate("CreateZone", "Y centre", 0)); + TLZbase_p->setText(QApplication::translate("CreateZone", "Z centre", 0)); } IS=QIcon(pix) ; RBPipe->setIcon(IS) ; diff --git a/src/HOMARDGUI/MonEditBoundaryAn.cxx b/src/HOMARDGUI/MonEditBoundaryAn.cxx index 395752f3..8ddd7f03 100644 --- a/src/HOMARDGUI/MonEditBoundaryAn.cxx +++ b/src/HOMARDGUI/MonEditBoundaryAn.cxx @@ -252,21 +252,21 @@ void MonEditBoundaryAn::SetConeA() RBTore->setDisabled(true); _Type=3; // - TLCone_X1->setText(QApplication::translate("CreateBoundaryAn", "X axis", 0, QApplication::UnicodeUTF8)); + TLCone_X1->setText(QApplication::translate("CreateBoundaryAn", "X axis", 0)); SpinBox_Cone_X1->setValue(_BoundaryAnXaxisCone); - TLCone_Y1->setText(QApplication::translate("CreateBoundaryAn", "Y axis", 0, QApplication::UnicodeUTF8)); + TLCone_Y1->setText(QApplication::translate("CreateBoundaryAn", "Y axis", 0)); SpinBox_Cone_Y1->setValue(_BoundaryAnYaxisCone); - TLCone_Z1->setText(QApplication::translate("CreateBoundaryAn", "Z axis", 0, QApplication::UnicodeUTF8)); + TLCone_Z1->setText(QApplication::translate("CreateBoundaryAn", "Z axis", 0)); SpinBox_Cone_Z1->setValue(_BoundaryAnZaxisCone); // - TLCone_X2->setText(QApplication::translate("CreateBoundaryAn", "X centre", 0, QApplication::UnicodeUTF8)); + TLCone_X2->setText(QApplication::translate("CreateBoundaryAn", "X centre", 0)); SpinBox_Cone_X2->setValue(_BoundaryAnXorigCone); - TLCone_Y2->setText(QApplication::translate("CreateBoundaryAn", "Y centre", 0, QApplication::UnicodeUTF8)); + TLCone_Y2->setText(QApplication::translate("CreateBoundaryAn", "Y centre", 0)); SpinBox_Cone_Y2->setValue(_BoundaryAnYorigCone); - TLCone_Z2->setText(QApplication::translate("CreateBoundaryAn", "Z centre", 0, QApplication::UnicodeUTF8)); + TLCone_Z2->setText(QApplication::translate("CreateBoundaryAn", "Z centre", 0)); SpinBox_Cone_Z2->setValue(_BoundaryAnZorigCone); // - TLCone_V1->setText(QApplication::translate("CreateBoundaryAn", "Angle", 0, QApplication::UnicodeUTF8)); + TLCone_V1->setText(QApplication::translate("CreateBoundaryAn", "Angle", 0)); SpinBox_Cone_V1->setValue(_BoundaryAngle); SpinBox_Cone_V1->setSingleStep(1.); SpinBox_Cone_V1->setMaximum(90.); @@ -291,28 +291,28 @@ void MonEditBoundaryAn::SetConeR() RBTore->setDisabled(true); _Type=4; // - TLCone_X1->setText(QApplication::translate("CreateBoundaryAn", "X centre 1", 0, QApplication::UnicodeUTF8)); + TLCone_X1->setText(QApplication::translate("CreateBoundaryAn", "X centre 1", 0)); SpinBox_Cone_X1->setValue(_BoundaryAnXcone1); - TLCone_Y1->setText(QApplication::translate("CreateBoundaryAn", "Y centre 1", 0, QApplication::UnicodeUTF8)); + TLCone_Y1->setText(QApplication::translate("CreateBoundaryAn", "Y centre 1", 0)); SpinBox_Cone_Y1->setValue(_BoundaryAnYcone1); - TLCone_Z1->setText(QApplication::translate("CreateBoundaryAn", "Z centre 1", 0, QApplication::UnicodeUTF8)); + TLCone_Z1->setText(QApplication::translate("CreateBoundaryAn", "Z centre 1", 0)); SpinBox_Cone_Z1->setValue(_BoundaryAnZcone1); // - TLCone_V1->setText(QApplication::translate("CreateBoundaryAn", "Radius 1", 0, QApplication::UnicodeUTF8)); + TLCone_V1->setText(QApplication::translate("CreateBoundaryAn", "Radius 1", 0)); SpinBox_Cone_V1->setSingleStep(_Rayon/10.); SpinBox_Cone_V1->setMaximum(100000.*_DMax); SpinBox_Cone_V1->setValue(_BoundaryAnRayon1); // - TLCone_X2->setText(QApplication::translate("CreateBoundaryAn", "X centre 2", 0, QApplication::UnicodeUTF8)); + TLCone_X2->setText(QApplication::translate("CreateBoundaryAn", "X centre 2", 0)); SpinBox_Cone_X2->setValue(_BoundaryAnXcone2); - TLCone_Y2->setText(QApplication::translate("CreateBoundaryAn", "Y centre 2", 0, QApplication::UnicodeUTF8)); + TLCone_Y2->setText(QApplication::translate("CreateBoundaryAn", "Y centre 2", 0)); SpinBox_Cone_Y2->setValue(_BoundaryAnYcone2); - TLCone_Z2->setText(QApplication::translate("CreateBoundaryAn", "Z centre 2", 0, QApplication::UnicodeUTF8)); + TLCone_Z2->setText(QApplication::translate("CreateBoundaryAn", "Z centre 2", 0)); SpinBox_Cone_Z2->setValue(_BoundaryAnZcone2); // TLCone_V2->setVisible(1); SpinBox_Cone_V2->setVisible(1); - TLCone_V2->setText(QApplication::translate("CreateBoundaryAn", "Radius 2", 0, QApplication::UnicodeUTF8)); + TLCone_V2->setText(QApplication::translate("CreateBoundaryAn", "Radius 2", 0)); SpinBox_Cone_V2->setValue(_BoundaryAnRayon2); // adjustSize(); diff --git a/src/HOMARDGUI/MonEditBoundaryDi.cxx b/src/HOMARDGUI/MonEditBoundaryDi.cxx index 6a91808d..ab297635 100644 --- a/src/HOMARDGUI/MonEditBoundaryDi.cxx +++ b/src/HOMARDGUI/MonEditBoundaryDi.cxx @@ -98,7 +98,7 @@ void MonEditBoundaryDi::SetFiltrage() HOMARD::HOMARD_Cas_var monCas= myHomardGen->GetCase(_aCaseName.toStdString().c_str()); HOMARD::ListGroupType_var _listeGroupesCas = monCas->GetGroups(); - MonEditListGroup *aDlg = new MonEditListGroup(NULL,this, TRUE, HOMARD::HOMARD_Gen::_duplicate(myHomardGen), + MonEditListGroup *aDlg = new MonEditListGroup(NULL,this, true, HOMARD::HOMARD_Gen::_duplicate(myHomardGen), _aCaseName, _listeGroupesBoundary) ; aDlg->show(); } diff --git a/src/HOMARDGUI/MonEditCase.cxx b/src/HOMARDGUI/MonEditCase.cxx index 8824d61f..84e0c920 100644 --- a/src/HOMARDGUI/MonEditCase.cxx +++ b/src/HOMARDGUI/MonEditCase.cxx @@ -149,7 +149,7 @@ void MonEditCase::InitValEdit() { for ( int j = 0; j < nbcol; j++ ) TWBoundary->item( i, j )->setFlags( Qt::ItemIsSelectable ); } // on met un nom blanc au coin QTableWidgetItem *__colItem = new QTableWidgetItem(); - __colItem->setText(QApplication::translate("CreateCase", "", 0, QApplication::UnicodeUTF8)); + __colItem->setText(QApplication::translate("CreateCase", "", 0)); TWBoundary->setHorizontalHeaderItem(0, __colItem); // on cache les boutons inutiles PBBoundaryAnNew->setVisible(0); @@ -226,8 +226,8 @@ void MonEditCase::InitValEdit() // L'etat int etat = aCase->GetState(); MESSAGE("etat "<setText(QApplication::translate("CreateCase", "HOM_CASE_EDIT_STATE_0", 0, QApplication::UnicodeUTF8)); } - else { Comment->setText(QApplication::translate("CreateCase", "HOM_CASE_EDIT_STATE", 0, QApplication::UnicodeUTF8)); } + if ( etat == 0 ) { Comment->setText(QApplication::translate("CreateCase", "HOM_CASE_EDIT_STATE_0", 0)); } + else { Comment->setText(QApplication::translate("CreateCase", "HOM_CASE_EDIT_STATE", 0)); } Comment->setVisible(1); // diff --git a/src/HOMARDGUI/MonEditHypothesis.cxx b/src/HOMARDGUI/MonEditHypothesis.cxx index 08bc91c1..e0187774 100644 --- a/src/HOMARDGUI/MonEditHypothesis.cxx +++ b/src/HOMARDGUI/MonEditHypothesis.cxx @@ -450,7 +450,7 @@ void MonEditHypothesis::SetFiltrage() { if (CBGroupe->isChecked()) { - MonEditListGroup *aDlg = new MonEditListGroup(this, NULL, TRUE, HOMARD::HOMARD_Gen::_duplicate(myHomardGen),_aCaseName, _aListeGroupes) ; + MonEditListGroup *aDlg = new MonEditListGroup(this, NULL, true, HOMARD::HOMARD_Gen::_duplicate(myHomardGen),_aCaseName, _aListeGroupes) ; aDlg->show(); } } diff --git a/src/HOMARDGUI/MonEditZone.cxx b/src/HOMARDGUI/MonEditZone.cxx index a9e52699..4ee8b605 100644 --- a/src/HOMARDGUI/MonEditZone.cxx +++ b/src/HOMARDGUI/MonEditZone.cxx @@ -190,8 +190,8 @@ void MonEditZone::SetBox() RBPipe->setDisabled(true); if ( _Type == 2 ) { RBSphere->setDisabled(true); } else { RBSphere->setVisible(0); - RBPipe->setText(QApplication::translate("CreateZone", "Disk with hole", 0, QApplication::UnicodeUTF8)); - RBCylinder->setText(QApplication::translate("CreateZone", "Disk", 0, QApplication::UnicodeUTF8)); + RBPipe->setText(QApplication::translate("CreateZone", "Disk with hole", 0)); + RBCylinder->setText(QApplication::translate("CreateZone", "Disk", 0)); SUIT_ResourceMgr* resMgr = SUIT_Session::session()->resourceMgr() ; QPixmap pix = resMgr->loadPixmap( "HOMARD", "boxdxy.png" ) ; QIcon IS=QIcon(pix) ; @@ -268,11 +268,11 @@ void MonEditZone::SetCylinder() RBPipe->setDisabled(true); if ( _Type == 5 ) { RBSphere->setDisabled(true); } else { RBSphere->setVisible(0); - RBPipe->setText(QApplication::translate("CreateZone", "Disk with hole", 0, QApplication::UnicodeUTF8)); - RBCylinder->setText(QApplication::translate("CreateZone", "Disk", 0, QApplication::UnicodeUTF8)); - TLXbase->setText(QApplication::translate("CreateZone", "X centre", 0, QApplication::UnicodeUTF8)); - TLYbase->setText(QApplication::translate("CreateZone", "Y centre", 0, QApplication::UnicodeUTF8)); - TLZbase->setText(QApplication::translate("CreateZone", "Z centre", 0, QApplication::UnicodeUTF8)); + RBPipe->setText(QApplication::translate("CreateZone", "Disk with hole", 0)); + RBCylinder->setText(QApplication::translate("CreateZone", "Disk", 0)); + TLXbase->setText(QApplication::translate("CreateZone", "X centre", 0)); + TLYbase->setText(QApplication::translate("CreateZone", "Y centre", 0)); + TLZbase->setText(QApplication::translate("CreateZone", "Z centre", 0)); SUIT_ResourceMgr* resMgr = SUIT_Session::session()->resourceMgr() ; QPixmap pix = resMgr->loadPixmap( "HOMARD", "disk.png" ) ; QIcon IS=QIcon(pix) ; @@ -327,11 +327,11 @@ void MonEditZone::SetPipe() RBCylinder->setDisabled(true); if ( _Type == 7 ) { RBSphere->setDisabled(true); } else { RBSphere->setVisible(0); - RBPipe->setText(QApplication::translate("CreateZone", "Disk with hole", 0, QApplication::UnicodeUTF8)); - RBCylinder->setText(QApplication::translate("CreateZone", "Disk", 0, QApplication::UnicodeUTF8)); - TLXbase_p->setText(QApplication::translate("CreateZone", "X centre", 0, QApplication::UnicodeUTF8)); - TLYbase_p->setText(QApplication::translate("CreateZone", "Y centre", 0, QApplication::UnicodeUTF8)); - TLZbase_p->setText(QApplication::translate("CreateZone", "Z centre", 0, QApplication::UnicodeUTF8)); + RBPipe->setText(QApplication::translate("CreateZone", "Disk with hole", 0)); + RBCylinder->setText(QApplication::translate("CreateZone", "Disk", 0)); + TLXbase_p->setText(QApplication::translate("CreateZone", "X centre", 0)); + TLYbase_p->setText(QApplication::translate("CreateZone", "Y centre", 0)); + TLZbase_p->setText(QApplication::translate("CreateZone", "Z centre", 0)); SUIT_ResourceMgr* resMgr = SUIT_Session::session()->resourceMgr() ; QPixmap pix = resMgr->loadPixmap( "HOMARD", "diskwithhole.png" ) ; QIcon IS=QIcon(pix) ; diff --git a/src/HOMARDGUI/PursueIteration.h b/src/HOMARDGUI/PursueIteration.h index ee87c56f..41c15756 100644 --- a/src/HOMARDGUI/PursueIteration.h +++ b/src/HOMARDGUI/PursueIteration.h @@ -229,22 +229,22 @@ public: void retranslateUi(QDialog *PursueIteration) { - PursueIteration->setWindowTitle(QApplication::translate("PursueIteration", "Pursue an iteration", 0, QApplication::UnicodeUTF8)); - Name->setText(QApplication::translate("PursueIteration", "Name", 0, QApplication::UnicodeUTF8)); - Directory->setText(QApplication::translate("PursueIteration", "Directory", 0, QApplication::UnicodeUTF8)); + PursueIteration->setWindowTitle(QApplication::translate("PursueIteration", "Pursue an iteration", 0)); + Name->setText(QApplication::translate("PursueIteration", "Name", 0)); + Directory->setText(QApplication::translate("PursueIteration", "Directory", 0)); PushDir->setText(QString()); - RBIteration->setText(QApplication::translate("PursueIteration", "From an iteration", 0, QApplication::UnicodeUTF8)); - RBCase->setText(QApplication::translate("PursueIteration", "From a case", 0, QApplication::UnicodeUTF8)); - DirectoryStart->setText(QApplication::translate("PursueIteration", "Directory", 0, QApplication::UnicodeUTF8)); + RBIteration->setText(QApplication::translate("PursueIteration", "From an iteration", 0)); + RBCase->setText(QApplication::translate("PursueIteration", "From a case", 0)); + DirectoryStart->setText(QApplication::translate("PursueIteration", "Directory", 0)); PushDirStart->setText(QString()); - GBIterationintoCase->setTitle(QApplication::translate("PursueIteration", "Iteration into the case", 0, QApplication::UnicodeUTF8)); - RBCaseLastIteration->setText(QApplication::translate("PursueIteration", "Last iteration", 0, QApplication::UnicodeUTF8)); - RBCaseNIteration->setText(QApplication::translate("PursueIteration", "Iteration number", 0, QApplication::UnicodeUTF8)); + GBIterationintoCase->setTitle(QApplication::translate("PursueIteration", "Iteration into the case")); + RBCaseLastIteration->setText(QApplication::translate("PursueIteration", "Last iteration", 0)); + RBCaseNIteration->setText(QApplication::translate("PursueIteration", "Iteration number", 0)); GroupButtons->setTitle(QString()); - buttonHelp->setText(QApplication::translate("PursueIteration", "Help", 0, QApplication::UnicodeUTF8)); - buttonApply->setText(QApplication::translate("PursueIteration", "Apply", 0, QApplication::UnicodeUTF8)); - buttonOk->setText(QApplication::translate("PursueIteration", "OK", 0, QApplication::UnicodeUTF8)); - buttonCancel->setText(QApplication::translate("PursueIteration", "Cancel", 0, QApplication::UnicodeUTF8)); + buttonHelp->setText(QApplication::translate("PursueIteration", "Help", 0)); + buttonApply->setText(QApplication::translate("PursueIteration", "Apply", 0)); + buttonOk->setText(QApplication::translate("PursueIteration", "OK", 0)); + buttonCancel->setText(QApplication::translate("PursueIteration", "Cancel", 0)); } // retranslateUi }; -- 2.39.2