#include <stdexcept>
#include <algorithm>
+using namespace std;
enum {
STD_TAB = 0,
myPeriodicityTreeWidget->setSelectionMode(QAbstractItemView::ExtendedSelection);
myPeriodicityTreeWidget->setSelectionBehavior(QAbstractItemView::SelectRows);
- int periodicityVisibleColumns = 2;
+ size_t periodicityVisibleColumns = 2;
for (size_t column = 0; column < periodicityVisibleColumns; ++column) {
myPeriodicityTreeWidget->header()->setResizeMode(column,QHeaderView::Interactive);
myPeriodicityTreeWidget->resizeColumnToContents(column);
int P2Ssel = myPeriodicityP2SourceWdg->NbObjects();
int P3Ssel = myPeriodicityP3SourceWdg->NbObjects();
int P1Tsel = myPeriodicityP1TargetWdg->NbObjects();
- int P2Tsel = myPeriodicityP2TargetWdg->NbObjects();
+ //int P2Tsel = myPeriodicityP2TargetWdg->NbObjects();
int P3Tsel = myPeriodicityP3TargetWdg->NbObjects();
if (P1Ssel!=1 || P2Ssel!=1 || P3Ssel!=1 || P1Tsel!=1 || P3Tsel!=1 || P3Tsel!=1)
const QString entry = i.key();
const QString sizeMap = i.value();
string shapeName = myGeomToolSelected->getNameFromEntry(entry.toStdString());
- int row = mySizeMapTable->topLevelItemCount();
+ //int row = mySizeMapTable->topLevelItemCount();
QTreeWidgetItem* item = new QTreeWidgetItem();
mySizeMapTable->addTopLevelItem( item );
item->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEditable | Qt::ItemIsEnabled );
QString fullSizeMaps;
QStringList fullSizeMapList;
GeomSelectionTools* myGeomToolSelected = that->getGeomSelectionTool();
- for ( int i = 0;i<mySizeMaps->length(); ++i ) {
+ for ( CORBA::ULong i = 0;i<mySizeMaps->length(); ++i ) {
fullSizeMaps = mySizeMaps[i].in();
// MESSAGE("fullSizeMaps: " << fullSizeMaps.toStdString());
fullSizeMapList = fullSizeMaps.split( "|", QString::KeepEmptyParts );
BLSURFPlugin::BLSURFPlugin_Hypothesis_var h =
BLSURFPlugin::BLSURFPlugin_Hypothesis::_narrow( initParamsHypothesis());
- BLSURFPluginGUI_HypothesisCreator* that = (BLSURFPluginGUI_HypothesisCreator*)this;
-
TopAbs_ShapeEnum shapeType;
string entry, attEntry, faceName, attName;
entry = (string) aFace->GetStudyEntry();