comparison layer/TimeValueLayer.cpp @ 73:ad1fe715b480

* Make the item-edit dialog do something useful
author Chris Cannam
date Mon, 03 Apr 2006 17:18:27 +0000
parents bf306158803d
children 45ba0b381c5d
comparison
equal deleted inserted replaced
72:1d176af87056 73:ad1fe715b480
858 858
859 ItemEditDialog *dialog = new ItemEditDialog 859 ItemEditDialog *dialog = new ItemEditDialog
860 (m_model->getSampleRate(), 860 (m_model->getSampleRate(),
861 ItemEditDialog::ShowTime | 861 ItemEditDialog::ShowTime |
862 ItemEditDialog::ShowValue | 862 ItemEditDialog::ShowValue |
863 ItemEditDialog::ShowText); 863 ItemEditDialog::ShowText,
864 m_model->getScaleUnits());
864 865
865 dialog->setFrameTime(point.frame); 866 dialog->setFrameTime(point.frame);
866 dialog->setValue(point.value); 867 dialog->setValue(point.value);
867 dialog->setText(point.label); 868 dialog->setText(point.label);
868 869