Exemple #1
0
void LH_MonitoringDial::updateNeedlesList(QStringList *names)
{
    if(names!=NULL)
        setNeedles(*names);
    else
    {
        bool ok;
        QStringList namesList;
        SensorItem si = this->selectedSensor(&ok);
        if(ok)
        {
            if(!si.group)
                namesList.append(setup_value_item_->valueText());
            else
                getValuesVector(false, 0, ok, &namesList);            
        }
        setNeedles(namesList);
    }
}
			BM(string needles){
				setNeedles(needles);
			}