Salome HOME
projects
/
modules
/
geom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Copyright update 2021
[modules/geom.git]
/
src
/
RepairGUI
/
RepairGUI.cxx
diff --git
a/src/RepairGUI/RepairGUI.cxx
b/src/RepairGUI/RepairGUI.cxx
index 132aad55f92d93e07e3d97d180da104bbebb87a1..8142f7ad5c46551d5f5c78622908079151cd4e54 100644
(file)
--- a/
src/RepairGUI/RepairGUI.cxx
+++ b/
src/RepairGUI/RepairGUI.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-20
16
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-20
21
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
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-158,11
+158,8
@@
namespace
const int nbCols = 2;
QTableWidget* table = new QTableWidget( nbRows, nbCols, this );
table->setEditTriggers( QAbstractItemView::NoEditTriggers );
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 );
table->horizontalHeader()->setSectionResizeMode( 1, QHeaderView::Interactive );
-#endif
+
table->horizontalHeader()->setStretchLastSection( true );
QStringList headers;
table->horizontalHeader()->setStretchLastSection( true );
QStringList headers;