hiho
> After a few tries I can say that works fine: "bravo".
> The only change I suggest is to show only audio files in the list.

i have tried this with something like this:

        QStringList filters;
        filters << "*.wav" << "*.WAV" << "*.flac"<< "*.FLAC" << "*.aiff" << 
"*.AIFF"<< "*.au" << "*.AU" ;

        model = new QDirModel();
        model->setNameFilters(filters);
        model->setFilter( QDir::AllEntries | QDir::NoDotAndDotDot );
        model->setSorting( QDir::DirsFirst |QDir::Name );
        QModelIndex index = model->index( QDir::currentPath() );

but i get no god result.
seems that you can not merge two filter types in qdirmodel
i try to show all directories and only files with extensions from QStringList 
filters.
but it only shows files with correct extensions but no dirs.

wolke


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Hydrogen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel

Reply via email to