|
Canorus 0.0
|
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 , MXL = 16 , 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 (*.musicxml)") |
| static const QString | MXL_FILTER = QObject::tr("Compressed MusicXML document (*.mxl)") |
| 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.
Converts the file format enumeration to filter as string.
References Can, CAN_FILTER, CanorusML, CANORUSML_FILTER, LilyPond, LILYPOND_FILTER, MusicXML, MUSICXML_FILTER, MXL, MXL_FILTER, PDF, PDF_FILTER, SVG, and SVG_FILTER.
Referenced by CACanorus::initCommonGUI(), and CASettingsDialog::setupPages().

|
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, MXL, MXL_FILTER, PDF, PDF_FILTER, SVG, and SVG_FILTER.
Referenced by CASettingsDialog::applySettings().

|
static |
|
static |
Referenced by getFilter(), getType(), CACanorus::initCommonGUI(), and CAMainWin::openDocument().
|
static |
Referenced by getFilter(), getType(), CACanorus::initCommonGUI(), and CAMainWin::openDocument().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Referenced by getFilter(), getType(), CACanorus::initCommonGUI(), and CAMainWin::on_uiImportDocument_triggered().
|
static |
|
static |
|
static |
|
static |
Referenced by getFilter(), getType(), CACanorus::initCommonGUI(), and CAMainWin::on_uiExportDocument_triggered().