//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
this->addPropertyLink(this, "timeSteps", SIGNAL(timeStepsChanged()),
smproxy, smproperty);
this->addPropertyLink(this, "timeSteps", SIGNAL(timeStepsChanged()),
smproxy, smproperty);
const QMap<QString, VectBoolItem*>& items(this->TimesVectWidget->getItems());
QMap<QString, VectBoolItem*>::const_iterator it;
for (it = items.begin(); it != items.end(); it++)
const QMap<QString, VectBoolItem*>& items(this->TimesVectWidget->getItems());
QMap<QString, VectBoolItem*>::const_iterator it;
for (it = items.begin(); it != items.end(); it++)
// Put together a TimeStep list, using ItemMap
QList< QList< QVariant> > ret;
QList< QVariant > timeStep;
// Put together a TimeStep list, using ItemMap
QList< QList< QVariant> > ret;
QList< QVariant > timeStep;
const QMap<QString, VectBoolItem*>& items(this->TimesVectWidget->getItems());
QMap<QString, VectBoolItem*>::const_iterator it;
for (it = items.begin(); it != items.end(); it++)
const QMap<QString, VectBoolItem*>& items(this->TimesVectWidget->getItems());
QMap<QString, VectBoolItem*>::const_iterator it;
for (it = items.begin(); it != items.end(); it++)
// (Re)cretate widget
this->TimesVectWidget = new VectBoolWidget(this,
pqMedReaderGraphUtils::getMaxNumberOfTS(graph));
// (Re)cretate widget
this->TimesVectWidget = new VectBoolWidget(this,
pqMedReaderGraphUtils::getMaxNumberOfTS(graph));
const char* leafString = prop->GetElement(i - 1);
const char* tmp = strchr(leafString, '/');
size_t num = tmp - leafString;
const char* leafString = prop->GetElement(i - 1);
const char* tmp = strchr(leafString, '/');
size_t num = tmp - leafString;
strncpy(dest, leafString, num);
dest[num] = '\0';
tsId = strtol(dest + 2, NULL, 10);
strncpy(dest, leafString, num);
dest[num] = '\0';
tsId = strtol(dest + 2, NULL, 10);