|
Canorus
0.7
|
File formats supported by Canorus This class contains the filters shown in file dialogs (eg. when opening/saving a document) and its internal enumeration values used when storing settings for default or last used filter. More...
#include <fileformats.h>
Public Types | |
| enum | CAFileFormatType { CanorusML = 1, Can = 2, LilyPond = 3, MusicXML = 4, ABCMusic = 5, NoteEdit = 6, MUP = 7, Finale = 8, Sibelius = 9, Noteworthy = 10, Igor = 11, Capella = 12, Midi = 13, PDF = 14, SVG = 15 } |
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)") |
| static const QString | PDF_FILTER = QObject::tr("PDF file (*.pdf)") |
| static const QString | SVG_FILTER = QObject::tr("SVG file (*.svg)") |
File formats supported by Canorus This class contains the filters shown in file dialogs (eg. when opening/saving a document) and its internal enumeration values used when storing settings for default or last used filter.
Copyright (c) 2006-2008, Reinhard Katzmann, 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-2008, Reinhard Katzmann, 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.
| const QString CAFileFormats::getFilter | ( | const CAFileFormatType | t | ) | [static] |
Converts the file format enumeration to filter as string.
References Can, CAN_FILTER, CanorusML, CANORUSML_FILTER, LilyPond, LILYPOND_FILTER, MusicXML, MUSICXML_FILTER, PDF, PDF_FILTER, SVG, and SVG_FILTER.
Referenced by CACanorus::initCommonGUI(), and CASettingsDialog::setupPages().

| const CAFileFormats::CAFileFormatType CAFileFormats::getType | ( | const QString | t | ) | [static] |
Converts the file format filter string to enumeration appropriate for storing in config file.
References Can, CAN_FILTER, CanorusML, CANORUSML_FILTER, LilyPond, LILYPOND_FILTER, MusicXML, MUSICXML_FILTER, PDF, PDF_FILTER, SVG, and SVG_FILTER.
Referenced by CASettingsDialog::applySettings().

const QString CAFileFormats::ABCMUSIC_FILTER = QObject::tr("ABC music document (*.abc)") [static] |
const QString CAFileFormats::CAN_FILTER = QObject::tr("Canorus archive (*.can)") [static] |
Referenced by getFilter(), getType(), CACanorus::initCommonGUI(), CAMainWin::openDocument(), and CAMainWin::saveDocument().
const QString CAFileFormats::CANORUSML_FILTER = QObject::tr("Canorus document (*.xml)") [static] |
Referenced by getFilter(), getType(), CACanorus::initCommonGUI(), CAMainWin::openDocument(), and CAMainWin::saveDocument().
const QString CAFileFormats::CAPELLA_FILTER = QObject::tr("Capella document (*.cap)") [static] |
const QString CAFileFormats::FINALE_FILTER = QObject::tr("Finale document (*.mus)") [static] |
const QString CAFileFormats::LILYPOND_FILTER = QObject::tr("LilyPond document (*.ly)") [static] |
Referenced by getFilter(), getType(), CACanorus::initCommonGUI(), and CAMainWin::on_uiExportDocument_triggered().
const QString CAFileFormats::MIDI_FILTER = QObject::tr("Midi file (*.mid *.midi)") [static] |
const QString CAFileFormats::MUSICXML_FILTER = QObject::tr("MusicXML document (*.xml)") [static] |
const QString CAFileFormats::NOTEEDIT_FILTER = QObject::tr("NoteEdit document (*.not)") [static] |
const QString CAFileFormats::PDF_FILTER = QObject::tr("PDF file (*.pdf)") [static] |
const QString CAFileFormats::SIBELIUS_FILTER = QObject::tr("Sibelius document (*.sib)") [static] |
const QString CAFileFormats::SVG_FILTER = QObject::tr("SVG file (*.svg)") [static] |
Referenced by getFilter(), getType(), CACanorus::initCommonGUI(), and CAMainWin::on_uiExportDocument_triggered().
1.8.0