#include <fileformats.h>
Public Types | |
| enum | CAFileFormatType { CanorusML = 0, Can = 1, LilyPond = 2, MusicXML = 3, ABCMusic = 4, NoteEdit = 5, MUP = 6, Finale = 7, Sibelius = 8, Noteworthy = 9, Igor = 10, Capella = 11, Midi = 12 } |
Static Public Member Functions | |
| static const QString | getFilter (const CAFileFormatType) |
| static const CAFileFormatType | getType (const QString) |
Static Public Attributes | |
| static const QString | LILYPOND_FILTER = QObject::tr("LilyPond document (*.ly)") |
| static const QString | CANORUSML_FILTER = QObject::tr("Canorus document (*.xml)") |
| static const QString | CAN_FILTER = QObject::tr("Canorus archive (*.can)") |
| static const QString | MUSICXML_FILTER = QObject::tr("MusicXML document (*.xml)") |
| static const QString | NOTEEDIT_FILTER = QObject::tr("NoteEdit document (*.not)") |
| static const QString | ABCMUSIC_FILTER = QObject::tr("ABC music document (*.abc)") |
| static const QString | FINALE_FILTER = QObject::tr("Finale document (*.mus)") |
| static const QString | SIBELIUS_FILTER = QObject::tr("Sibelius document (*.sib)") |
| static const QString | CAPELLA_FILTER = QObject::tr("Capella document (*.cap)") |
| static const QString | MIDI_FILTER = QObject::tr("Midi file (*.mid *.midi)") |
Copyright (c) 2006-2007, Matevž Jekovec, Canorus development team All Rights Reserved. See AUTHORS for a complete list of authors.
Licensed under the GNU GENERAL PUBLIC LICENSE. See COPYING for details.
Copyright (c) 2006-2007, Matevž Jekovec, Canorus development team All Rights Reserved. See AUTHORS for a complete list of authors.
Licensed under the GNU GENERAL PUBLIC LICENSE. See LICENSE.GPL for details.
Definition at line 13 of file fileformats.h.
| CanorusML | |
| Can | |
| LilyPond | |
| MusicXML | |
| ABCMusic | |
| NoteEdit | |
| MUP | |
| Finale | |
| Sibelius | |
| Noteworthy | |
| Igor | |
| Capella | |
| Midi |
Definition at line 15 of file fileformats.h.
| const QString CAFileFormats::getFilter | ( | const | CAFileFormatType | ) | [static] |
Converts the file format enumeration to filter as string.
Definition at line 32 of file fileformats.cpp.
References Can, CAN_FILTER, CanorusML, CANORUSML_FILTER, LilyPond, LILYPOND_FILTER, MusicXML, and MUSICXML_FILTER.
Referenced by CACanorus::initCommonGUI(), and CASettingsDialog::setupPages().

| const CAFileFormats::CAFileFormatType CAFileFormats::getType | ( | const | QString | ) | [static] |
Converts the file format filter string to enumeration appropriate for storing in config file.
Definition at line 50 of file fileformats.cpp.
References Can, CAN_FILTER, CanorusML, CANORUSML_FILTER, LilyPond, LILYPOND_FILTER, MusicXML, and MUSICXML_FILTER.
Referenced by CASettingsDialog::applySettings().

const QString CAFileFormats::LILYPOND_FILTER = QObject::tr("LilyPond document (*.ly)") [static] |
Definition at line 31 of file fileformats.h.
Referenced by getFilter(), getType(), and CACanorus::initCommonGUI().
const QString CAFileFormats::CANORUSML_FILTER = QObject::tr("Canorus document (*.xml)") [static] |
Definition at line 32 of file fileformats.h.
Referenced by getFilter(), getType(), CACanorus::initCommonGUI(), and CAMainWin::saveDocument().
const QString CAFileFormats::CAN_FILTER = QObject::tr("Canorus archive (*.can)") [static] |
Definition at line 33 of file fileformats.h.
Referenced by getFilter(), getType(), CACanorus::initCommonGUI(), and CAMainWin::saveDocument().
const QString CAFileFormats::MUSICXML_FILTER = QObject::tr("MusicXML document (*.xml)") [static] |
const QString CAFileFormats::NOTEEDIT_FILTER = QObject::tr("NoteEdit document (*.not)") [static] |
Definition at line 35 of file fileformats.h.
const QString CAFileFormats::ABCMUSIC_FILTER = QObject::tr("ABC music document (*.abc)") [static] |
Definition at line 36 of file fileformats.h.
const QString CAFileFormats::FINALE_FILTER = QObject::tr("Finale document (*.mus)") [static] |
Definition at line 37 of file fileformats.h.
const QString CAFileFormats::SIBELIUS_FILTER = QObject::tr("Sibelius document (*.sib)") [static] |
Definition at line 38 of file fileformats.h.
const QString CAFileFormats::CAPELLA_FILTER = QObject::tr("Capella document (*.cap)") [static] |
Definition at line 39 of file fileformats.h.
const QString CAFileFormats::MIDI_FILTER = QObject::tr("Midi file (*.mid *.midi)") [static] |
Definition at line 40 of file fileformats.h.
Referenced by CACanorus::initCommonGUI(), and CAMainWin::on_uiExportDocument_triggered().
1.5.3