comparison widgets/AudioDial.cpp @ 395:33c2f268c950

* reorganise tabular data editor model support
author Chris Cannam
date Wed, 11 Jun 2008 16:13:25 +0000
parents 06b5f110c5d2
children 1fe7951a61e8
comparison
equal deleted inserted replaced
394:592d692b4f8b 395:33c2f268c950
513 int newPosition = QInputDialog::getInteger 513 int newPosition = QInputDialog::getInteger
514 (this, 514 (this,
515 tr("Enter new value"), 515 tr("Enter new value"),
516 tr("Enter a new value from %1 to %2:") 516 tr("Enter a new value from %1 to %2:")
517 .arg(minimum()).arg(maximum()), 517 .arg(minimum()).arg(maximum()),
518 value(), minimum(), maximum(), pageStep(), &ok); 518 value(), minimum(), maximum(), singleStep(), &ok);
519 519
520 if (ok) { 520 if (ok) {
521 setValue(newPosition); 521 setValue(newPosition);
522 } 522 }
523 } 523 }