MuseScore
3.4
Music composition and notation
|
#include <musescore.h>
Public Slots | |
virtual void | cmd (QAction *a) |
void | dirtyChanged (Score *) |
void | setPos (const Fraction &tick) |
void | pluginTriggered (int) |
void | pluginTriggered (QString path) |
void | handleMessage (const QString &message) |
void | setCurrentScoreView (ScoreView *) |
void | setCurrentScoreView (int) |
void | setCurrentScores (Score *s1, Score *s2=nullptr) |
void | setNormalState () |
void | setPlayState () |
void | setNoteEntryState () |
void | checkForUpdatesUI () |
void | checkForExtensionsUpdate () |
void | midiNoteReceived (int channel, int pitch, int velo) |
void | midiNoteReceived (int pitch, bool ctrl, int velo) |
void | instrumentChanged () |
void | showMasterPalette (const QString &=0) |
void | selectionChanged (SelState) |
void | createNewWorkspace () |
void | editWorkspace () |
void | changeWorkspace (Workspace *p, bool first=false) |
void | mixerPreferencesChanged (bool showMidiControls) |
void | checkForUpdates () |
void | restartAudioEngine () |
Signals | |
void | windowSplit (bool) |
void | musescoreWindowWasShown () |
void | workspacesChanged () |
void | scoreStateChanged (ScoreState state) |
Public Member Functions | |
MuseScore () | |
~MuseScore () | |
bool | checkDirty (MasterScore *) |
PlayPanel * | getPlayPanel () const |
Mixer * | getMixer () const |
QMenu * | genCreateMenu (QWidget *parent=0) |
virtual int | appendScore (MasterScore *) |
void | midiCtrlReceived (int controller, int value) |
void | showElementContext (Element *el) |
void | cmdAppendMeasures (int) |
bool | midiinEnabled () const |
void | incMag () |
void | decMag () |
void | readSettings () |
void | writeSettings () |
void | play (Element *e) const |
void | play (Element *e, int pitch) const |
bool | loadPlugin (const QString &filename) |
QString | createDefaultName () const |
void | startAutoSave () |
double | getMag (ScoreView *) const |
void | setMag (double) |
bool | noScore () const |
TextTools * | textTools () |
void | showDrumTools (const Drumset *, Staff *) |
void | updateDrumTools (const Drumset *ds) |
void | showPluginCreator (QAction *) |
void | showPluginManager () |
void | updatePaletteBeamMode () |
QProgressBar * | showProgressBar () |
void | hideProgressBar () |
void | addRecentScore (Score *) |
QFileDialog * | saveAsDialog () |
QFileDialog * | saveCopyDialog () |
EditStyle * | styleDlg () |
void | setStyleDlg (EditStyle *es) |
SynthControl * | getSynthControl () const |
void | editInPianoroll (Staff *staff, Position *p=0) |
void | editInDrumroll (Staff *staff) |
PianorollEditor * | getPianorollEditor () const |
DrumrollEditor * | getDrumrollEditor () const |
PianoTools * | pianoTools () const |
MsQmlEngine * | getQmlUiEngine () |
void | writeSessionFile (bool) |
bool | restoreSession (bool) |
bool | splitScreen () const |
void | setSplitScreen (bool val) |
virtual void | setCurrentView (int tabIdx, int idx) |
void | loadPlugins () |
void | unloadPlugins () |
ScoreState | state () const |
void | changeState (ScoreState) |
void | updateInputState (Score *) |
void | updateShadowNote () |
bool | readLanguages (const QString &path) |
void | setRevision (QString &r) |
Q_INVOKABLE QString | revision () |
Q_INVOKABLE QString | version () |
Q_INVOKABLE void | newFile () |
MasterScore * | getNewFile () |
Q_INVOKABLE void | loadFile (const QString &url) |
void | loadFile (const QUrl &) |
QTemporaryFile * | getTemporaryScoreFileCopy (const QFileInfo &info, const QString &baseNameTemplate) |
QNetworkAccessManager * | networkManager () |
virtual Score * | openScore (const QString &fn, bool switchTab=true) |
bool | hasToCheckForUpdate () |
bool | hasToCheckForExtensionsUpdate () |
bool | eventFilter (QObject *, QEvent *) |
void | setMidiRecordId (int id) |
int | midiRecordId () const |
void | setDefaultPalette () |
void | scorePageLayoutChanged () |
bool | processMidiRemote (MidiRemoteType type, int data, int value) |
ScoreTab * | getTab1 () const |
ScoreTab * | getTab2 () const |
QList< LanguageItem > & | languages () |
QStringList | getOpenScoreNames (const QString &filter, const QString &title, bool singleFile=false) |
QString | getSaveScoreName (const QString &title, QString &name, const QString &filter, bool folder=false) |
QString | getStyleFilename (bool open, const QString &title=QString()) |
QString | getFotoFilename (QString &filter, QString *selectedFilter) |
QString | getChordStyleFilename (bool open) |
QString | getScanFile (const QString &) |
QString | getAudioFile (const QString &) |
QString | getDrumsetFilename (bool open) |
QString | getPluginFilename (bool open) |
QString | getPaletteFilename (bool open, const QString &name="") |
QString | getWallpaper (const QString &caption) |
bool | hRaster () const |
bool | vRaster () const |
PaletteWorkspace * | getPaletteWorkspace () |
PaletteWidget * | getPaletteWidget () |
std::vector< QmlDockWidget * > | qmlDockWidgets () |
void | changeWorkspace (const QString &name) |
void | disableCommands (bool val) |
Tuplet * | tupletDialog () |
void | selectSimilar (Element *, bool) |
void | selectSimilarInRange (Element *e) |
void | selectElementDialog (Element *e) |
void | transpose () |
Q_INVOKABLE void | openExternalLink (const QString &) |
void | endCmd (bool undoRedo) |
void | endCmd () override |
void | printFile () |
void | exportFile () |
bool | exportParts () |
virtual bool | saveAs (Score *, bool saveCopy, const QString &path, const QString &ext) |
QString | saveFilename (QString fn) |
bool | savePdf (const QString &saveName) |
bool | savePdf (Score *cs, const QString &saveName) |
bool | savePdf (QList< Score *> cs, const QString &saveName) |
bool | savePdf (Score *cs, QPrinter &printer) |
MasterScore * | readScore (const QString &name) |
bool | saveAs (Score *, bool saveCopy=false) |
Save the current score using a different name or type. More... | |
bool | saveSelection (Score *) |
void | addImage (Score *, Element *) |
bool | saveAudio (Score *, QIODevice *, std::function< bool(float)> updateProgress=nullptr) |
Function to synthesize audio and output it into a generic QIODevice. More... | |
bool | saveAudio (Score *, const QString &name) |
bool | canSaveMp3 () |
bool | saveMp3 (Score *, const QString &name) |
bool | saveMp3 (Score *, QIODevice *, bool &wasCanceled) |
bool | saveSvg (Score *, const QString &name) |
bool | saveSvg (Score *, QIODevice *, int pageNum=0, bool drawPageBackground=false) |
Save a single page. More... | |
bool | savePng (Score *, QIODevice *, int pageNum=0, bool drawPageBackground=false) |
bool | savePng (Score *, const QString &name) |
bool | saveMidi (Score *, const QString &name) |
bool | saveMidi (Score *, QIODevice *) |
bool | savePositions (Score *, const QString &name, bool segments) |
bool | savePositions (Score *, QIODevice *, bool segments) |
bool | saveMetadataJSON (Score *, const QString &name) |
QJsonObject | saveMetadataJSON (Score *) |
bool | exportAllMediaFiles (const QString &inFilePath, const QString &outFilePath="/dev/stdout") |
bool | exportScoreMetadata (const QString &inFilePath, const QString &outFilePath="/dev/stdout") |
bool | exportMp3AsJSON (const QString &inFilePath, const QString &outFilePath="/dev/stdout") |
bool | exportPartsPdfsToJSON (const QString &inFilePath, const QString &outFilePath="/dev/stdout") |
bool | exportTransposedScoreToJSON (const QString &inFilePath, const QString &transposeOptions, const QString &outFilePath="/dev/stdout") |
void | scoreUnrolled (MasterScore *original) |
virtual void | closeScore (Score *score) |
void | addTempo () |
void | addMetronome () |
SynthesizerState | synthesizerState () const |
Q_INVOKABLE QString | getLocaleISOCode () const |
Navigator * | navigator () const |
NScrollArea * | navigatorScrollArea () const |
Timeline * | timeline () const |
TDockWidget * | timelineScrollArea () const |
QWidget * | searchDialog () const |
SelectionWindow * | getSelectionWindow () const |
void | updateLayer () |
void | updatePlayMode () |
bool | loop () const |
bool | metronome () const |
bool | countIn () const |
bool | panDuringPlayback () const |
void | noteTooShortForTupletDialog () |
void | loadFiles (bool switchTab=true, bool singleFile=false) |
Create a modal file open dialog. More... | |
void | midiPanelOnSwitchToFile (const QString &file) |
void | midiPanelOnCloseFile (const QString &file) |
void | allowShowMidiPanel (const QString &file) |
void | setMidiReopenInProgress (const QString &file) |
WorkspaceDialog * | workspaceDialog () |
void | updateIcons () |
void | updateMenus () |
Inspector * | inspector () |
PluginCreator * | pluginCreator () |
ScoreView * | currentScoreView () const |
ScoreTab * | currentScoreTab () const |
QToolButton * | playButton () |
void | showMessage (const QString &s, int timeout) |
void | showHelp (QString) |
void | showContextHelp () |
void | showHelp (const QUrl &) |
TourHandler * | tourHandler () |
Q_INVOKABLE void | showStartcenter (bool) |
void | reDisplayDockWidget (QDockWidget *widget, bool visible) |
void | showPlayPanel (bool) |
QFileInfoList | recentScores () const |
void | saveDialogState (const char *name, QFileDialog *d) |
void | restoreDialogState (const char *name, QFileDialog *d) |
QPixmap | extractThumbnail (const QString &name) |
void | showLoginDialog () |
void | showUploadScoreDialog () |
LoginManager * | loginManager () |
QHelpEngine * | helpEngine () const |
virtual void | updateInspector () override |
void | updateInstrumentDialog () |
void | reloadInstrumentTemplates () |
void | showSynthControl (bool) |
void | showMixer (bool) |
qreal | physicalDotsPerInch () const |
std::list< const char * > * | noteInputMenuEntries () |
void | setNoteInputMenuEntries (std::list< const char *> l) |
void | populateNoteInputMenu () |
std::list< const char * > * | fileOperationEntries () |
void | setFileOperationEntries (std::list< const char *> l) |
void | populateFileOperations () |
std::list< const char * > * | playbackControlEntries () |
void | setPlaybackControlEntries (std::list< const char *> l) |
void | populatePlaybackControls () |
bool | playPartOnly () const |
void | setPlayPartOnly (bool val) |
void | showError () |
void | updateWindowTitle (Score *score) |
bool | importExtension (QString path) |
bool | uninstallExtension (QString extensionId) |
Q_INVOKABLE bool | isInstalledExtension (QString extensionId) |
used from javascript in start center webview More... | |
void | focusScoreView () |
void | notifyElementDraggedToScoreView () |
ScriptRecorder * | getScriptRecorder () |
bool | runTestScripts (const QStringList &scripts) |
Public Member Functions inherited from Ms::MuseScoreCore | |
MuseScoreCore () | |
Score * | currentScore () const |
void | setCurrentScore (Score *score) |
virtual void | cmd (QAction *) |
QList< MasterScore * > & | scores () |
Public Attributes | |
QString | lastSaveCopyDirectory |
QString | lastSaveCopyFormat |
QString | lastSaveDirectory |
QString | lastSaveCaptureName |
Private Member Functions | |
virtual void | closeEvent (QCloseEvent *) |
virtual void | dragEnterEvent (QDragEnterEvent *) |
virtual void | dropEvent (QDropEvent *) |
virtual void | changeEvent (QEvent *e) |
virtual void | showEvent (QShowEvent *event) |
void | retranslate () |
void | setMenuTitles () |
void | updateMenu (QMenu *&menu, QString menu_id, QString objectName) |
void | playVisible (bool flag) |
void | launchBrowser (const QString whereTo) |
void | loadScoreList () |
void | editInstrList () |
void | symbolMenu () |
void | showKeyEditor () |
bool | saveFile () |
Save the current score. More... | |
bool | saveFile (MasterScore *score) |
Save the score. More... | |
void | fingeringMenu () |
void | startDebugger () |
void | midiinToggled (bool) |
void | undoRedo (bool undo) |
void | showPalette (bool) |
void | showInspector (bool) |
void | showOmrPanel (bool) |
void | showNavigator (bool) |
void | showTimeline (bool) |
void | showSelectionWindow (bool) |
void | showSearchDialog () |
void | showToolbarEditor () |
void | splitWindow (bool horizontal) |
void | removeSessionFile () |
void | editChordStyle () |
void | startExcerptsDialog () |
void | initOsc () |
void | editRaster () |
void | showPianoKeyboard (bool) |
void | showMediaDialog () |
void | showAlbumManager () |
void | showLayerManager () |
void | updateUndoRedo () |
void | changeScore (int) |
virtual void | resizeEvent (QResizeEvent *) |
void | showModeText (const QString &) |
void | addRecentScore (const QString &scorePath) |
void | updateViewModeCombo () |
void | switchLayoutMode (LayoutMode) |
void | setPlayRepeats (bool repeat) |
ScoreTab * | createScoreTab () |
void | askResetOldScorePositions (Score *score) |
QString | getUtmParameters (QString medium) const |
void | checkForUpdatesNoUI () |
Static Private Attributes | |
static const std::list< const char * > | _allNoteInputMenuEntries |
static const std::list< const char * > | _allFileOperationEntries |
static const std::list< const char * > | _allPlaybackControlEntries |
Friends | |
class | TestWorkspaces |
Additional Inherited Members | |
Static Public Attributes inherited from Ms::MuseScoreCore | |
static MuseScoreCore * | mscoreCore |
Protected Attributes inherited from Ms::MuseScoreCore | |
Score * | cs { 0 } |
QList< MasterScore * > | scoreList |
Ms::MuseScore::MuseScore | ( | ) |
Ms::MuseScore::~MuseScore | ( | ) |
|
privateslot |
|
privateslot |
|
privateslot |
void Ms::MuseScore::addMetronome | ( | ) |
|
private |
void Ms::MuseScore::addRecentScore | ( | Score * | score | ) |
void Ms::MuseScore::addTempo | ( | ) |
|
inlinestatic |
|
inlinestatic |
void Ms::MuseScore::allowShowMidiPanel | ( | const QString & | file | ) |
|
inlinestatic |
|
virtual |
Reimplemented from Ms::MuseScoreCore.
|
privateslot |
|
private |
|
privateslot |
bool Ms::MuseScore::canSaveMp3 | ( | ) |
|
privatevirtual |
|
private |
void Ms::MuseScore::changeState | ( | ScoreState | val | ) |
|
privateslot |
|
slot |
void Ms::MuseScore::changeWorkspace | ( | const QString & | name | ) |
bool Ms::MuseScore::checkDirty | ( | MasterScore * | s | ) |
|
slot |
|
slot |
|
private |
|
slot |
|
privateslot |
|
privatevirtual |
|
virtual |
Reimplemented from Ms::MuseScoreCore.
|
privateslot |
|
virtualslot |
|
privateslot |
void Ms::MuseScore::cmdAppendMeasures | ( | int | ) |
|
privateslot |
|
inline |
QString Ms::MuseScore::createDefaultName | ( | ) | const |
|
slot |
|
overrideprivatevirtualslot |
|
private |
|
inline |
|
inline |
void Ms::MuseScore::decMag | ( | ) |
|
privateslot |
|
slot |
|
inline |
|
privatevirtual |
|
privatevirtual |
|
private |
void Ms::MuseScore::editInDrumroll | ( | Staff * | staff | ) |
|
private |
|
private |
|
slot |
void Ms::MuseScore::endCmd | ( | bool | undoRedo | ) |
|
inlineoverridevirtual |
Reimplemented from Ms::MuseScoreCore.
|
privateslot |
bool Ms::MuseScore::eventFilter | ( | QObject * | obj, |
QEvent * | event | ||
) |
bool Ms::MuseScore::exportAllMediaFiles | ( | const QString & | inFilePath, |
const QString & | outFilePath = "/dev/stdout" |
||
) |
void Ms::MuseScore::exportFile | ( | ) |
bool Ms::MuseScore::exportMp3AsJSON | ( | const QString & | inFilePath, |
const QString & | outFilePath = "/dev/stdout" |
||
) |
bool Ms::MuseScore::exportParts | ( | ) |
bool Ms::MuseScore::exportPartsPdfsToJSON | ( | const QString & | inFilePath, |
const QString & | outFilePath = "/dev/stdout" |
||
) |
|
privateslot |
bool Ms::MuseScore::exportScoreMetadata | ( | const QString & | inFilePath, |
const QString & | outFilePath = "/dev/stdout" |
||
) |
bool Ms::MuseScore::exportTransposedScoreToJSON | ( | const QString & | inFilePath, |
const QString & | transposeOptions, | ||
const QString & | outFilePath = "/dev/stdout" |
||
) |
QPixmap Ms::MuseScore::extractThumbnail | ( | const QString & | name | ) |
|
inline |
|
private |
void Ms::MuseScore::focusScoreView | ( | ) |
|
static |
QMenu* Ms::MuseScore::genCreateMenu | ( | QWidget * | parent = 0 | ) |
QString Ms::MuseScore::getAudioFile | ( | const QString & | d | ) |
QString Ms::MuseScore::getChordStyleFilename | ( | bool | open | ) |
|
inline |
QString Ms::MuseScore::getDrumsetFilename | ( | bool | open | ) |
QString Ms::MuseScore::getFotoFilename | ( | QString & | filter, |
QString * | selectedFilter | ||
) |
QString Ms::MuseScore::getLocaleISOCode | ( | ) | const |
double Ms::MuseScore::getMag | ( | ScoreView * | canvas | ) | const |
|
inline |
MasterScore * Ms::MuseScore::getNewFile | ( | ) |
QStringList Ms::MuseScore::getOpenScoreNames | ( | const QString & | filter, |
const QString & | title, | ||
bool | singleFile = false |
||
) |
QString Ms::MuseScore::getPaletteFilename | ( | bool | open, |
const QString & | name = "" |
||
) |
|
inline |
PaletteWorkspace * Ms::MuseScore::getPaletteWorkspace | ( | ) |
|
inline |
|
inline |
QString Ms::MuseScore::getPluginFilename | ( | bool | open | ) |
MsQmlEngine * Ms::MuseScore::getQmlUiEngine | ( | ) |
QString Ms::MuseScore::getSaveScoreName | ( | const QString & | title, |
QString & | name, | ||
const QString & | filter, | ||
bool | folder = false |
||
) |
QString Ms::MuseScore::getScanFile | ( | const QString & | d | ) |
ScriptRecorder * Ms::MuseScore::getScriptRecorder | ( | ) |
|
inline |
QString Ms::MuseScore::getStyleFilename | ( | bool | open, |
const QString & | title = QString() |
||
) |
|
inline |
|
inline |
|
inline |
QTemporaryFile * Ms::MuseScore::getTemporaryScoreFileCopy | ( | const QFileInfo & | info, |
const QString & | baseNameTemplate | ||
) |
|
private |
QString Ms::MuseScore::getWallpaper | ( | const QString & | caption | ) |
|
slot |
bool Ms::MuseScore::hasToCheckForExtensionsUpdate | ( | ) |
bool Ms::MuseScore::hasToCheckForUpdate | ( | ) |
|
privateslot |
|
inline |
void Ms::MuseScore::hideProgressBar | ( | ) |
|
inline |
bool Ms::MuseScore::importExtension | ( | QString | path | ) |
void Ms::MuseScore::incMag | ( | ) |
|
static |
|
private |
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
|
inline |
|
slot |
bool Ms::MuseScore::isInstalledExtension | ( | QString | extensionId | ) |
used from javascript in start center webview
|
inline |
|
private |
|
privateslot |
void Ms::MuseScore::loadFile | ( | const QString & | url | ) |
void Ms::MuseScore::loadFile | ( | const QUrl & | url | ) |
void Ms::MuseScore::loadFiles | ( | bool | switchTab = true , |
bool | singleFile = false |
||
) |
Create a modal file open dialog.
If a file is selected, load it. Handles the GUI's file-open action.
bool Ms::MuseScore::loadPlugin | ( | const QString & | filename | ) |
void Ms::MuseScore::loadPlugins | ( | ) |
|
private |
|
inline |
|
inline |
|
privateslot |
|
inline |
void Ms::MuseScore::midiCtrlReceived | ( | int | controller, |
int | value | ||
) |
bool Ms::MuseScore::midiinEnabled | ( | ) | const |
|
private |
|
slot |
|
slot |
void Ms::MuseScore::midiPanelOnCloseFile | ( | const QString & | file | ) |
void Ms::MuseScore::midiPanelOnSwitchToFile | ( | const QString & | file | ) |
|
inline |
|
slot |
|
signal |
Navigator * Ms::MuseScore::navigator | ( | ) | const |
|
inline |
|
privateslot |
QNetworkAccessManager * Ms::MuseScore::networkManager | ( | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
void Ms::MuseScore::newFile | ( | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
inline |
|
inline |
void Ms::MuseScore::noteTooShortForTupletDialog | ( | ) |
void Ms::MuseScore::notifyElementDraggedToScoreView | ( | ) |
|
privateslot |
|
privateslot |
void Ms::MuseScore::openExternalLink | ( | const QString & | url | ) |
|
privateslot |
|
virtual |
Reimplemented from Ms::MuseScoreCore.
|
inline |
|
inline |
|
inline |
void Ms::MuseScore::play | ( | Element * | e | ) | const |
void Ms::MuseScore::play | ( | Element * | e, |
int | pitch | ||
) | const |
|
inline |
|
inline |
|
inline |
|
private |
|
inline |
|
slot |
|
slot |
void Ms::MuseScore::populateFileOperations | ( | ) |
void Ms::MuseScore::populateNoteInputMenu | ( | ) |
void Ms::MuseScore::populatePlaybackControls | ( | ) |
|
privateslot |
void Ms::MuseScore::printFile | ( | ) |
bool Ms::MuseScore::processMidiRemote | ( | MidiRemoteType | type, |
int | data, | ||
int | value | ||
) |
std::vector< QmlDockWidget * > Ms::MuseScore::qmlDockWidgets | ( | ) |
bool Ms::MuseScore::readLanguages | ( | const QString & | path | ) |
MasterScore * Ms::MuseScore::readScore | ( | const QString & | name | ) |
void Ms::MuseScore::readSettings | ( | ) |
QFileInfoList Ms::MuseScore::recentScores | ( | ) | const |
void Ms::MuseScore::reDisplayDockWidget | ( | QDockWidget * | widget, |
bool | visible | ||
) |
void Ms::MuseScore::reloadInstrumentTemplates | ( | ) |
|
private |
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
Reverts current workspace to the state of the source
workspace.
|
privatevirtual |
|
slot |
void Ms::MuseScore::restoreDialogState | ( | const char * | name, |
QFileDialog * | d | ||
) |
|
static |
bool Ms::MuseScore::restoreSession | ( | bool | always | ) |
|
private |
|
inline |
bool Ms::MuseScore::runTestScripts | ( | const QStringList & | scripts | ) |
|
virtual |
Reimplemented from Ms::MuseScoreCore.
bool Ms::MuseScore::saveAs | ( | Score * | cs_, |
bool | saveCopy = false |
||
) |
Save the current score using a different name or type.
Handles the GUI's file-save-as and file-save-a-copy actions. The saveCopy flag, if true, does not change the name of the active score nor marks it clean. Return true if OK and false on error.
QFileDialog* Ms::MuseScore::saveAsDialog | ( | ) |
bool Ms::MuseScore::saveAudio | ( | Score * | score, |
QIODevice * | device, | ||
std::function< bool(float)> | updateProgress = nullptr |
||
) |
Function to synthesize audio and output it into a generic QIODevice.
score | The score to output |
device | The output device |
updateProgress | An optional callback function that will be notified with the progress in range [0, 1] |
If the callback function is non zero an returns false the export will be canceled.
bool Ms::MuseScore::saveAudio | ( | Score * | , |
const QString & | name | ||
) |
QFileDialog* Ms::MuseScore::saveCopyDialog | ( | ) |
void Ms::MuseScore::saveDialogState | ( | const char * | name, |
QFileDialog * | d | ||
) |
|
private |
Save the current score.
Handles the GUI's file-save action.
|
private |
Save the score.
QString Ms::MuseScore::saveFilename | ( | QString | fn | ) |
|
static |
bool Ms::MuseScore::saveMetadataJSON | ( | Score * | score, |
const QString & | name | ||
) |
QJsonObject Ms::MuseScore::saveMetadataJSON | ( | Score * | score | ) |
bool Ms::MuseScore::saveMidi | ( | Score * | score, |
const QString & | name | ||
) |
bool Ms::MuseScore::saveMidi | ( | Score * | score, |
QIODevice * | device | ||
) |
bool Ms::MuseScore::saveMp3 | ( | Score * | score, |
const QString & | name | ||
) |
bool Ms::MuseScore::saveMp3 | ( | Score * | score, |
QIODevice * | device, | ||
bool & | wasCanceled | ||
) |
bool Ms::MuseScore::savePdf | ( | const QString & | saveName | ) |
bool Ms::MuseScore::savePdf | ( | Score * | cs, |
const QString & | saveName | ||
) |
bool Ms::MuseScore::savePdf | ( | QList< Score *> | cs, |
const QString & | saveName | ||
) |
bool Ms::MuseScore::savePdf | ( | Score * | cs, |
QPrinter & | printer | ||
) |
bool Ms::MuseScore::savePng | ( | Score * | score, |
QIODevice * | device, | ||
int | pageNum = 0 , |
||
bool | drawPageBackground = false |
||
) |
bool Ms::MuseScore::savePng | ( | Score * | score, |
const QString & | name | ||
) |
bool Ms::MuseScore::savePositions | ( | Score * | score, |
const QString & | name, | ||
bool | segments | ||
) |
bool Ms::MuseScore::savePositions | ( | Score * | score, |
QIODevice * | device, | ||
bool | segments | ||
) |
|
privateslot |
bool Ms::MuseScore::saveSelection | ( | Score * | cs_ | ) |
bool Ms::MuseScore::saveSvg | ( | Score * | score, |
const QString & | name | ||
) |
bool Ms::MuseScore::saveSvg | ( | Score * | score, |
QIODevice * | device, | ||
int | pageNum = 0 , |
||
bool | drawPageBackground = false |
||
) |
Save a single page.
void Ms::MuseScore::scorePageLayoutChanged | ( | ) |
|
signal |
void Ms::MuseScore::scoreUnrolled | ( | MasterScore * | original | ) |
QWidget * Ms::MuseScore::searchDialog | ( | ) | const |
void Ms::MuseScore::selectElementDialog | ( | Element * | e | ) |
|
slot |
|
privateslot |
void Ms::MuseScore::selectSimilar | ( | Element * | e, |
bool | sameStaff | ||
) |
void Ms::MuseScore::selectSimilarInRange | ( | Element * | e | ) |
|
privateslot |
|
privateslot |
|
slot |
|
slot |
|
virtual |
Reimplemented from Ms::MuseScoreCore.
void Ms::MuseScore::setDefaultPalette | ( | ) |
|
inline |
void Ms::MuseScore::setMag | ( | double | d | ) |
|
private |
|
inline |
void Ms::MuseScore::setMidiReopenInProgress | ( | const QString & | file | ) |
|
inlineslot |
|
inlineslot |
|
inline |
|
inline |
void Ms::MuseScore::setPlayPartOnly | ( | bool | val | ) |
|
private |
|
inlineslot |
|
slot |
|
inline |
void Ms::MuseScore::setSplitScreen | ( | bool | val | ) |
|
inline |
|
private |
void Ms::MuseScore::showContextHelp | ( | ) |
void Ms::MuseScore::showElementContext | ( | Element * | el | ) |
void Ms::MuseScore::showError | ( | ) |
|
privatevirtual |
void Ms::MuseScore::showHelp | ( | QString | s | ) |
void Ms::MuseScore::showHelp | ( | const QUrl & | url | ) |
|
private |
|
private |
|
private |
void Ms::MuseScore::showLoginDialog | ( | ) |
|
slot |
|
private |
void Ms::MuseScore::showMessage | ( | const QString & | s, |
int | timeout | ||
) |
|
privateslot |
void Ms::MuseScore::showMixer | ( | bool | visible | ) |
|
private |
|
private |
|
private |
|
privateslot |
|
private |
|
private |
void Ms::MuseScore::showPlayPanel | ( | bool | visible | ) |
void Ms::MuseScore::showPluginCreator | ( | QAction * | a | ) |
void Ms::MuseScore::showPluginManager | ( | ) |
QProgressBar * Ms::MuseScore::showProgressBar | ( | ) |
|
private |
|
private |
void Ms::MuseScore::showStartcenter | ( | bool | show | ) |
void Ms::MuseScore::showSynthControl | ( | bool | val | ) |
|
private |
|
private |
void Ms::MuseScore::showUploadScoreDialog | ( | ) |
|
privateslot |
|
inline |
|
private |
void Ms::MuseScore::startAutoSave | ( | ) |
|
private |
|
private |
|
privateslot |
|
inline |
|
inline |
|
privateslot |
|
private |
|
privateslot |
|
privateslot |
|
private |
|
static |
SynthesizerState Ms::MuseScore::synthesizerState | ( | ) | const |
TextTools * Ms::MuseScore::textTools | ( | ) |
Timeline * Ms::MuseScore::timeline | ( | ) | const |
|
inline |
|
inline |
void Ms::MuseScore::transpose | ( | ) |
Tuplet * Ms::MuseScore::tupletDialog | ( | ) |
|
private |
bool Ms::MuseScore::uninstallExtension | ( | QString | extensionId | ) |
void Ms::MuseScore::unloadPlugins | ( | ) |
|
static |
void Ms::MuseScore::updateDrumTools | ( | const Drumset * | ds | ) |
void Ms::MuseScore::updateIcons | ( | ) |
void Ms::MuseScore::updateInputState | ( | Score * | score | ) |
|
overridevirtual |
Reimplemented from Ms::MuseScoreCore.
void Ms::MuseScore::updateInstrumentDialog | ( | ) |
void Ms::MuseScore::updateLayer | ( | ) |
|
private |
void Ms::MuseScore::updateMenus | ( | ) |
void Ms::MuseScore::updatePaletteBeamMode | ( | ) |
void Ms::MuseScore::updatePlayMode | ( | ) |
void Ms::MuseScore::updateShadowNote | ( | ) |
|
static |
|
private |
|
private |
void Ms::MuseScore::updateWindowTitle | ( | Score * | score | ) |
|
inline |
|
inline |
|
signal |
|
inline |
|
signal |
void Ms::MuseScore::writeSessionFile | ( | bool | cleanExit | ) |
void Ms::MuseScore::writeSettings | ( | ) |
|
friend |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
QString Ms::MuseScore::lastSaveCaptureName |
QString Ms::MuseScore::lastSaveCopyDirectory |
QString Ms::MuseScore::lastSaveCopyFormat |
QString Ms::MuseScore::lastSaveDirectory |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |