comparison layer/TimeValueLayer.cpp @ 640:c6d705bf1672

Merge from branch "qt5". This revision actually builds with Qt4 (late releases) or Qt5, though it will warn on configure with Qt4.
author Chris Cannam
date Tue, 14 May 2013 12:36:43 +0100
parents 9d8f6552014d d632a1e87018
children 62330d542e1d
comparison
equal deleted inserted replaced
632:9d8f6552014d 640:c6d705bf1672
1838 1838
1839 labeller.setType(generation); 1839 labeller.setType(generation);
1840 1840
1841 if (generation == Labeller::ValueFromCyclicalCounter || 1841 if (generation == Labeller::ValueFromCyclicalCounter ||
1842 generation == Labeller::ValueFromTwoLevelCounter) { 1842 generation == Labeller::ValueFromTwoLevelCounter) {
1843 int cycleSize = QInputDialog::getInteger 1843 int cycleSize = QInputDialog::getInt
1844 (0, tr("Select cycle size"), 1844 (0, tr("Select cycle size"),
1845 tr("Cycle size:"), 4, 2, 16, 1); 1845 tr("Cycle size:"), 4, 2, 16, 1);
1846 labeller.setCounterCycleSize(cycleSize); 1846 labeller.setCounterCycleSize(cycleSize);
1847 } 1847 }
1848 1848