IF(SALOME_BUILD_GUI)
# Qt
- IF(NOT SALOME_GUI_BUILD_WITH_QT5)
- FIND_PACKAGE(SalomeQt4 REQUIRED COMPONENTS QtCore QtGui)
- ELSE()
- FIND_PACKAGE(SalomeQt5 REQUIRED)
- ENDIF()
+ FIND_PACKAGE(SalomeQt5 REQUIRED)
ENDIF(SALOME_BUILD_GUI)
# OCCT
FIND_PACKAGE(SalomeOpenCASCADE REQUIRED)
compoundHeaders << tr( "GMSH_COMPOUND_ENTRY_COLUMN" ) << tr( "GMSH_COMPOUND_NAME_COLUMN" );
myCompoundTable->setHorizontalHeaderLabels(compoundHeaders);
myCompoundTable->horizontalHeader()->hideSection(0);
-#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
- myCompoundTable->horizontalHeader()->setResizeMode(QHeaderView::Interactive);
-#else
myCompoundTable->horizontalHeader()->setSectionResizeMode(QHeaderView::Interactive);
-#endif
myCompoundTable->resizeColumnToContents(1);
myCompoundTable->setAlternatingRowColors(true);
myCompoundTable->verticalHeader()->hide();