comparison main/main.cpp @ 180:98ba77e0d897

* Merge from sv-match-alignment branch (excluding alignment-specific document). - add aggregate wave model (not yet complete enough to be added as a true model in a layer, but there's potential) - add play solo mode - add alignment model -- unused in plain SV - fix two plugin leaks - add m3u playlist support (opens all files at once, potentially hazardous) - fix retrieval of pre-encoded URLs - add ability to resample audio files on import, so as to match rates with other files previously loaded; add preference for same - add preliminary support in transform code for range and rate of transform input - reorganise preferences dialog, move dark-background option to preferences, add option for temporary directory location
author Chris Cannam
date Fri, 28 Sep 2007 13:56:38 +0000
parents 4d762fe10919
children 77cd75905998
comparison
equal deleted inserted replaced
179:dab257bd9d2d 180:98ba77e0d897
298 if (i == args.begin()) continue; 298 if (i == args.begin()) continue;
299 if (i->startsWith('-')) continue; 299 if (i->startsWith('-')) continue;
300 300
301 if (i->startsWith("http:") || i->startsWith("ftp:")) { 301 if (i->startsWith("http:") || i->startsWith("ftp:")) {
302 std::cerr << "opening URL: \"" << i->toStdString() << "\"..." << std::endl; 302 std::cerr << "opening URL: \"" << i->toStdString() << "\"..." << std::endl;
303 status = gui.openURL(QUrl(*i)); 303 status = gui.openURL(*i);
304 continue; 304 continue;
305 } 305 }
306 306
307 QString path = *i; 307 QString path = *i;
308 308
338 if (status == MainWindow::FileOpenFailed) { 338 if (status == MainWindow::FileOpenFailed) {
339 QMessageBox::critical 339 QMessageBox::critical
340 (&gui, QMessageBox::tr("Failed to open file"), 340 (&gui, QMessageBox::tr("Failed to open file"),
341 QMessageBox::tr("File \"%1\" could not be opened").arg(path)); 341 QMessageBox::tr("File \"%1\" could not be opened").arg(path));
342 } 342 }
343 } 343 }
344
345
346
344 /* 347 /*
345 TipDialog tipDialog; 348 TipDialog tipDialog;
346 if (tipDialog.isOK()) { 349 if (tipDialog.isOK()) {
347 tipDialog.exec(); 350 tipDialog.exec();
348 } 351 }