comparison main/MainWindow.cpp @ 153:d2cc3b10e26f

* a bit more work on measurement tool mode * use arrow cursors on thumbwheels and panner in pane HUD
author Chris Cannam
date Thu, 14 Jun 2007 15:20:49 +0000
parents 152619d379e0
children 7310316bf74b
comparison
equal deleted inserted replaced
152:f0c47d8988bc 153:d2cc3b10e26f
131 { 131 {
132 setWindowTitle(tr("Sonic Visualiser")); 132 setWindowTitle(tr("Sonic Visualiser"));
133 133
134 UnitDatabase::getInstance()->registerUnit("Hz"); 134 UnitDatabase::getInstance()->registerUnit("Hz");
135 UnitDatabase::getInstance()->registerUnit("dB"); 135 UnitDatabase::getInstance()->registerUnit("dB");
136 UnitDatabase::getInstance()->registerUnit("s");
136 137
137 connect(CommandHistory::getInstance(), SIGNAL(commandExecuted()), 138 connect(CommandHistory::getInstance(), SIGNAL(commandExecuted()),
138 this, SLOT(documentModified())); 139 this, SLOT(documentModified()));
139 connect(CommandHistory::getInstance(), SIGNAL(documentRestored()), 140 connect(CommandHistory::getInstance(), SIGNAL(documentRestored()),
140 this, SLOT(documentRestored())); 141 this, SLOT(documentRestored()));