X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FRepairGUI%2FRepairGUI.cxx;h=8142f7ad5c46551d5f5c78622908079151cd4e54;hb=25a3dc91508bb59688142bc616b10facc61dfc3d;hp=fff787d5c994f7dd5f3e21956769d91b54f3d281;hpb=6e0a5f1b4431410d81031a6d91b54dee6b259e1a;p=modules%2Fgeom.git diff --git a/src/RepairGUI/RepairGUI.cxx b/src/RepairGUI/RepairGUI.cxx index fff787d5c..8142f7ad5 100644 --- a/src/RepairGUI/RepairGUI.cxx +++ b/src/RepairGUI/RepairGUI.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2021 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -38,7 +38,7 @@ #include "RepairGUI_ShapeProcessDlg.h" // Method PROCESS SHAPE #include "RepairGUI_CloseContourDlg.h" // Method CLOSE CONTOUR #include "RepairGUI_RemoveIntWiresDlg.h"// Method REMOVE INTERNAL WIRES -#include "RepairGUI_DivideEdgeDlg.h" // Method DEVIDE EDGE +#include "RepairGUI_DivideEdgeDlg.h" // Method DIVIDE EDGE #include "RepairGUI_FreeBoundDlg.h" // Method FREE BOUNDARIES #include "RepairGUI_FreeFacesDlg.h" // Method FREE FACES #include "RepairGUI_GlueDlg.h" // Method GLUE FACES @@ -158,11 +158,8 @@ namespace const int nbCols = 2; QTableWidget* table = new QTableWidget( nbRows, nbCols, this ); table->setEditTriggers( QAbstractItemView::NoEditTriggers ); -#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0) - table->horizontalHeader()->setResizeMode( 1, QHeaderView::Interactive ); -#else table->horizontalHeader()->setSectionResizeMode( 1, QHeaderView::Interactive ); -#endif + table->horizontalHeader()->setStretchLastSection( true ); QStringList headers;