#include <mainwin.h>

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.
Canorus supports multiple main windows pointing to the same document or separated document.
Canorus uses multiple inheritance approach. See http://doc.trolltech.com/4.2/designer-using-a-component.html#the-multiple-inheritance-approach Class members having _ prefix are general private properties. Private attributes with ui prefix are GUI-only widgets objects created in Qt designer or manually.
Definition at line 47 of file mainwin.h.
| enum CAMainWin::CAMode |
| CAMainWin::CAMainWin | ( | QMainWindow * | oParent = 0 |
) |
Default constructor. Creates Canorus main window with parent oParent. Parent is usually null.
Definition at line 118 of file mainwin.cpp.
References _animatedScroll, _lockScrollPlayback, _mode, _playback, _timeEditedTimer, CACanorus::addMainWin(), createCustomActions(), CAPluginManager::enablePlugins(), CACanorus::locateResourceDir(), CACanorus::midiDevice(), onMidiInEvent(), onTimeEditedTimerTimeout(), restartTimeEditedTime(), SelectMode, setDocument(), setRebuildUILock(), and setupCustomUi().
Referenced by on_uiNewWindow_triggered().

| CAMainWin::~CAMainWin | ( | ) |
Definition at line 160 of file mainwin.cpp.
References _musElementFactory, _playback, CACanorus::cleanUp(), CAUndo::deleteUndoStack(), document(), CACanorus::mainWinCount(), CACanorus::removeMainWin(), uiClefToolBar, uiDynamicToolBar, uiFermataToolBar, uiFMToolBar, uiInsertGroup, uiInsertToolBar, uiInstrumentToolBar, uiKeySigToolBar, uiPlayableToolBar, uiRepeatMarkToolBar, uiTempoToolBar, uiTimeSigToolBar, uiVoiceToolBar, and CACanorus::undo().

| void CAMainWin::clearUI | ( | ) |
Deletes all viewports (and their drawable content), disconnects all signals and resets all buttons and modes.
This function deletes the current main window's GUI only (drawable elements). All the data classes (staffs, notes, rests) should stay intact. Use delete document() to free the data part of Canorus as well.
Definition at line 835 of file mainwin.cpp.
References _sheetMap, _viewPortList, on_uiUnsplitAll_triggered(), and setCurrentViewPort().
Referenced by closeEvent(), newDocument(), rebuildUI(), and sourceViewPortCommit().


| void CAMainWin::rebuildUI | ( | CASheet * | sheet, | |
| bool | repaint = true | |||
| ) |
Rebuilds the GUI from data.
This method is called eg. when multiple viewports share the same data and a change has been made (eg. a note pitch has changed or a new element added). ViewPorts content is repositioned and redrawn (CAEngraver creates CADrawable elements for every score viewport, sources are updated in source viewports etc.).
sheet argument is a pointer to the data sheet where the change occured. This way only viewports showing the given sheet are updated which speeds up the process. If sheet argument is null, all viewports are rebuilt, but the viewports contents, number and locations remain the same.
If repaint is True (default) the rebuilt viewports are also repainted. If False, viewports content is only created but not yet drawn. This is useful when multiple operations which could potentially change the content are to happen and we want to actually draw it only at the end.
Definition at line 1287 of file mainwin.cpp.
References _viewPortList, clearUI(), document(), rebuildUILock(), CAViewPort::ScoreViewPort, setRebuildUILock(), and updateToolBars().
Referenced by newDocument(), on_uiCloseDocument_triggered(), on_uiNewWindow_triggered(), openDocument(), and CACanorus::rebuildUI().


| void CAMainWin::rebuildUI | ( | bool | repaint = true |
) |
Rebuilds the GUI from data.
This method is called eg. when multiple viewports share the same data and a change has been made (eg. a note pitch has changed or a new element added). ViewPorts content is repositioned and redrawn (CAEngraver creates CADrawable elements for every score viewport, sources are updated in source viewports etc.).
This method in comparison to CAMainWin::rebuildUI(CASheet *s, bool repaint) rebuilds the whole GUI from scratch and creates new viewports for the sheets. This method is called for example when a new document is created or opened.
If repaint is True (default) the rebuilt viewports are also repainted. If False, viewports content is only created but not yet drawn. This is useful when multiple operations which could potentially change the content are to happen and we want to actually draw it only at the end.
Definition at line 1329 of file mainwin.cpp.
References _viewPortList, addSheet(), clearUI(), document(), rebuildUILock(), CAViewPort::ScoreViewPort, setRebuildUILock(), CADocument::sheetCount(), and updateToolBars().

| bool CAMainWin::rebuildUILock | ( | ) | [inline] |
Definition at line 66 of file mainwin.h.
References _rebuildUILock.
Referenced by rebuildUI().

| void CAMainWin::newDocument | ( | ) |
Definition at line 777 of file mainwin.cpp.
References clearUI(), CAUndo::createUndoStack(), currentScoreViewPort(), CAUndo::deleteUndoStack(), document(), CACanorus::locateResource(), CACanorus::mainWinCount(), rebuildUI(), restartTimeEditedTime(), CAScoreViewPort::selectContext(), setDocument(), stopPlayback(), CACanorus::undo(), and updateToolBars().
Referenced by main(), and on_uiNewDocument_triggered().


| void CAMainWin::addSheet | ( | CASheet * | s | ) |
This adds a tab to tabWidget and creates a single score viewport of the sheet. It does not add the sheet to the document.
Definition at line 811 of file mainwin.cpp.
References _sheetMap, _viewPortContainerList, CAViewPortContainer::addViewPort(), initViewPort(), CASheet::name(), setCurrentViewPortContainer(), and updateToolBars().
Referenced by rebuildUI().


| void CAMainWin::removeSheet | ( | CASheet * | sheet | ) |
Removes the sheet from the GUI and deletes the viewports and viewport containers and tabs pointing to the given sheet.
Definition at line 3320 of file mainwin.cpp.
References _sheetMap, currentViewPort(), CASourceViewPort::lyricsContext(), CAViewPort::ScoreViewPort, setCurrentViewPort(), setCurrentViewPortContainer(), CAContext::sheet(), CAViewPort::SourceViewPort, CAVoice::staff(), viewPortList(), and CASourceViewPort::voice().
Referenced by on_uiRemoveSheet_triggered().

| void CAMainWin::insertMusElementAt | ( | const QPoint | coords, | |
| CAScoreViewPort * | v | |||
| ) |
This method places the currently prepared music element in CAMusElementFactory to the staff or voice, dependent on the music element type and the viewport coordinates.
Definition at line 1994 of file mainwin.cpp.
References CAMusElement::Barline, CADrawableStaff::calculatePitch(), CAMusElement::Clef, CARest::composeRests(), CAMusElementFactory::configureBarline(), CAMusElementFactory::configureClef(), CAMusElementFactory::configureFunctionMarking(), CAMusElementFactory::configureKeySignature(), CAMusElementFactory::configureMark(), CAMusElementFactory::configureNote(), CAMusElementFactory::configureRest(), CAMusElementFactory::configureSlur(), CAMusElementFactory::configureTimeSignature(), CAVoice::containsPitch(), CADrawableContext::context(), CAContext::contextType(), CAUndo::createUndoCommand(), CAScoreViewPort::currentContext(), currentScoreViewPort(), currentSheet(), currentVoice(), document(), CAMusElementFactory::emptyMusElem(), CAMusElement::FunctionMarking, CAContext::FunctionMarkingContext, CASheet::getChord(), CANote::getChord(), CAVoice::getNoteList(), CAVoice::insert(), CANote::isPartOfTheChord(), CAMusElement::isPlayable(), CAMusElement::KeySignature, CAVoice::lastTimeEnd(), CAMusElement::Mark, CADrawableMusElement::musElement(), musElementFactory(), CAScoreViewPort::musElementsAt(), CAMusElement::musElementType(), CAScoreViewPort::nearestLeftElement(), CAScoreViewPort::nearestRightElement(), CAVoice::next(), CARest::Normal, CAMusElement::Note, CANote::phrasingSlurEnd(), CANote::phrasingSlurStart(), CASlur::PhrasingSlurType, CANote::pitch(), CAPlayable::playableLengthToTimeLength(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAVoice::remove(), CAMusElement::Rest, CAScoreViewPort::selection(), CAScoreViewPort::selectMElement(), CAScoreViewPort::setDrawShadowNoteAccs(), CAMusElementFactory::setNoteExtraAccs(), CAScoreViewPort::setShadowNoteDotted(), CAScoreViewPort::sheet(), CAMusElement::Slur, CANote::slurEnd(), CANote::slurStart(), CASlur::SlurType, CAMusElementFactory::slurType(), CAStaff::synchronizeVoices(), CANote::tieStart(), CASlur::TieType, CAMusElement::timeEnd(), CAMusElement::timeLength(), CAMusElement::TimeSignature, CAMusElement::timeStart(), CACanorus::undo(), CAPlayable::voice(), CADrawable::width(), and CADrawable::xPos().
Referenced by on_uiSlurType_toggled(), and scoreViewPortMousePress().
| void CAMainWin::restartTimeEditedTime | ( | ) | [inline] |
Definition at line 72 of file mainwin.h.
References _timeEditedTime.
Referenced by CAMainWin(), newDocument(), and CACanorus::restartTimeEditedTimes().

| void CAMainWin::deleteSelection | ( | CAScoreViewPort * | v, | |
| bool | deleteSyllables, | |||
| bool | deleteNotes, | |||
| bool | doUndo | |||
| ) |
Delete action.
If deleteSyllables or deleteNotes is True, it completely removes the element. Otherwise it only replaces it with rest.
If doUndo is True, it also creates undo. doUndo should be False when cutting.
Definition at line 4013 of file mainwin.cpp.
References CAScoreViewPort::clearSelection(), CARest::composeRests(), CAMusElement::context(), CAUndo::createUndoCommand(), document(), CAMusElement::FunctionMarking, CAStaff::getChord(), CAVoice::insert(), CAVoice::lyricsContextList(), CAMusElement::Mark, CAMusElement::musElementType(), CARest::Normal, CAMusElement::Note, CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAContext::remove(), CAVoice::remove(), CAFunctionMarkingContext::repositFunctions(), CALyricsContext::repositSyllables(), CAMusElement::Rest, CAScoreViewPort::selection(), CAScoreViewPort::sheet(), CAMusElement::Slur, CAPlayable::staff(), CAMusElement::Syllable, CAMusElement::timeLength(), CAMusElement::timeStart(), CACanorus::undo(), and CAPlayable::voice().
Referenced by on_uiCut_triggered(), and scoreViewPortKeyPress().

| void CAMainWin::copySelection | ( | CAScoreViewPort * | v | ) |
Backend for Edit->Copy.
Definition at line 3991 of file mainwin.cpp.
References CAScoreViewPort::selection().
Referenced by on_uiCopy_triggered(), and on_uiCut_triggered().

| void CAMainWin::pasteAt | ( | const QPoint | coords, | |
| CAScoreViewPort * | v | |||
| ) |
Backend for Edit->Paste.
Definition at line 4116 of file mainwin.cpp.
References CAScoreViewPort::addToSelection(), CAScoreViewPort::clearSelection(), CAMusElement::clone(), CADrawableContext::context(), CAUndo::createUndoCommand(), CAScoreViewPort::currentContext(), currentScoreViewPort(), currentSheet(), document(), CADrawableContext::drawableContextType(), CADrawableContext::DrawableStaff, CALCDNumber::getRealValue(), CAVoice::insert(), CADrawableMusElement::musElement(), CAScoreViewPort::nearestRightElement(), CAMusElement::Note, CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAMusElement::setContext(), CAMusElement::setTimeStart(), CAStaff::synchronizeVoices(), CAMusElement::timeEnd(), uiVoiceNum, CACanorus::undo(), and CAStaff::voiceAt().
Referenced by on_uiPaste_triggered().

| CADocument * CAMainWin::openDocument | ( | const QString & | fileName | ) |
Opens a document with the given absolute file name. The previous document will be lost.
Returns a pointer to the opened document or null if opening the document has failed.
Definition at line 2391 of file mainwin.cpp.
References CAImport::importDocument(), CAImport::importedDocument(), CAImport::readableStatus(), CADocument::setFileName(), CAFile::setStreamFromFile(), CAFile::status(), and stopPlayback().
Referenced by on_uiOpenDocument_triggered(), onUiOpenRecentDocumentTriggered(), CAAutoRecovery::openRecovery(), and CACanorus::parseOpenFileArguments().


| CADocument * CAMainWin::openDocument | ( | CADocument * | doc | ) |
Opens the given document. The previous document will be lost.
Returns a pointer to the opened document or null if opening the document has failed.
Definition at line 2427 of file mainwin.cpp.
References CAUndo::createUndoStack(), currentScoreViewPort(), CAUndo::deleteUndoStack(), document(), CADocument::fileName(), CACanorus::insertRecentDocument(), CACanorus::mainWinCount(), rebuildUI(), CAScoreViewPort::selectContext(), setDocument(), CADocument::sheetCount(), stopPlayback(), CACanorus::undo(), and updateToolBars().

| bool CAMainWin::saveDocument | ( | QString | fileName | ) |
Saves the current document to a given absolute fileName. This function is usually called when the filename was entered and save document dialog successfully closed. If recovery is False (default), it changes the timeEdit, fileName and some other document properties before saving it.
Returns True, if the save was complete; False otherwise.
Definition at line 2464 of file mainwin.cpp.
References _timeEditedTime, CAFileFormats::CAN_FILTER, CAFileFormats::CANORUSML_FILTER, document(), CAExport::exportDocument(), CAExport::exportedDocument(), CACanorus::insertRecentDocument(), CACanorus::restartTimeEditedTimes(), CADocument::setDateLastModified(), CADocument::setFileName(), CAFile::setStreamToFile(), CADocument::setTimeEdited(), and uiSaveDialog.
Referenced by on_uiSaveDocument_triggered(), and on_uiSaveDocumentAs_triggered().

| CAMode CAMainWin::mode | ( | ) | [inline] |
Definition at line 81 of file mainwin.h.
References _mode.
Referenced by initViewPort(), on_uiClefOffset_valueChanged(), on_uiDynamicCustomText_returnPressed(), on_uiDynamicText_toggled(), on_uiDynamicVolume_valueChanged(), on_uiFermataType_toggled(), on_uiFinger_toggled(), on_uiFingeringOriginal_toggled(), on_uiFMChordArea_toggled(), on_uiFMEllipse_toggled(), on_uiFMFunction_toggled(), on_uiFMTonicDegree_toggled(), on_uiHiddenRest_toggled(), on_uiInstrumentChange_activated(), on_uiKeySig_activated(), on_uiNoteStemDirection_toggled(), on_uiPlayableLength_toggled(), on_uiRepeatMarkType_toggled(), on_uiTempoBeat_toggled(), on_uiTempoBpm_returnPressed(), on_uiTimeSigBeat_valueChanged(), on_uiTimeSigBeats_valueChanged(), playbackFinished(), scoreViewPortKeyPress(), scoreViewPortMouseMove(), scoreViewPortMousePress(), scoreViewPortMouseRelease(), updateClefToolBar(), updateContextToolBar(), updateDynamicToolBar(), updateFermataToolBar(), updateFingeringToolBar(), updateFMToolBar(), updateInsertToolBar(), updateInstrumentToolBar(), updateKeySigToolBar(), updatePlayableToolBar(), updateRepeatMarkToolBar(), updateTempoToolBar(), updateTimeSigToolBar(), and updateVoiceToolBar().

| QFileDialog* CAMainWin::exportDialog | ( | ) | [inline] |
Definition at line 82 of file mainwin.h.
References uiExportDialog.
Referenced by CAPluginManager::endElement().

| QFileDialog* CAMainWin::importDialog | ( | ) | [inline] |
Definition at line 83 of file mainwin.h.
References uiImportDialog.
Referenced by CAPluginManager::endElement().

| CAViewPort* CAMainWin::currentViewPort | ( | ) | [inline] |
Definition at line 84 of file mainwin.h.
References _currentViewPort.
Referenced by currentContext(), currentScoreViewPort(), on_uiCloseCurrentView_triggered(), on_uiNewViewport_triggered(), on_uiPlayFromSelection_toggled(), on_uiTabWidget_currentChanged(), on_uiUnsplitAll_triggered(), removeSheet(), scoreViewPortMousePress(), and setMode().

| void CAMainWin::removeViewPort | ( | CAViewPort * | v | ) | [inline] |
| QList<CAViewPort*> CAMainWin::viewPortList | ( | ) | [inline] |
Definition at line 86 of file mainwin.h.
References _viewPortList.
Referenced by on_uiCloseCurrentView_triggered(), and removeSheet().

| CAScoreViewPort* CAMainWin::currentScoreViewPort | ( | ) | [inline] |
Definition at line 88 of file mainwin.h.
References currentViewPort().
Referenced by CAPlugin::callAction(), currentSheet(), insertMusElementAt(), newDocument(), on_uiClefOffset_valueChanged(), on_uiCopy_triggered(), on_uiCut_triggered(), on_uiDynamicCustomText_returnPressed(), on_uiDynamicText_toggled(), on_uiDynamicVolume_valueChanged(), on_uiFermataType_toggled(), on_uiFinger_toggled(), on_uiFingeringOriginal_toggled(), on_uiFMChordArea_toggled(), on_uiFMEllipse_toggled(), on_uiFMFunction_toggled(), on_uiFMTonicDegree_toggled(), on_uiHiddenRest_toggled(), on_uiImportDocument_triggered(), on_uiInstrumentChange_activated(), on_uiKeySig_activated(), on_uiNoteStemDirection_toggled(), on_uiPaste_triggered(), on_uiPlayableLength_toggled(), on_uiPlayFromSelection_toggled(), on_uiRemoveVoice_triggered(), on_uiRepeatMarkType_toggled(), on_uiSlurType_toggled(), on_uiTempoBeat_toggled(), on_uiTempoBpm_returnPressed(), on_uiTimeSigBeat_valueChanged(), on_uiTimeSigBeats_valueChanged(), on_uiVoiceNum_valChanged(), onTextEditKeyPressEvent(), openDocument(), pasteAt(), scoreViewPortKeyPress(), scoreViewPortMousePress(), setMode(), updateClefToolBar(), updateDynamicToolBar(), updateFermataToolBar(), updateFingeringToolBar(), updateFMToolBar(), updateInstrumentToolBar(), updateKeySigToolBar(), updatePlayableToolBar(), updateRepeatMarkToolBar(), updateSheetToolBar(), updateTempoToolBar(), and updateTimeSigToolBar().


| CASheet* CAMainWin::currentSheet | ( | ) | [inline] |
Definition at line 93 of file mainwin.h.
References currentScoreViewPort(), and CAScoreViewPort::sheet().
Referenced by CAPlugin::callAction(), insertMusElementAt(), on_uiAssociatedVoice_activated(), on_uiClefOffset_valueChanged(), on_uiDynamicCustomText_returnPressed(), on_uiDynamicText_toggled(), on_uiDynamicVolume_valueChanged(), on_uiFermataType_toggled(), on_uiFinger_toggled(), on_uiFingeringOriginal_toggled(), on_uiFMChordArea_toggled(), on_uiFMEllipse_toggled(), on_uiFMFunction_toggled(), on_uiFMTonicDegree_toggled(), on_uiHiddenRest_toggled(), on_uiInstrumentChange_activated(), on_uiKeySig_activated(), on_uiNewVoice_triggered(), on_uiNoteStemDirection_toggled(), on_uiPlayableLength_toggled(), on_uiPlayFromSelection_toggled(), on_uiRemoveContext_triggered(), on_uiRemoveSheet_triggered(), on_uiRemoveVoice_triggered(), on_uiRepeatMarkType_toggled(), on_uiSheetName_returnPressed(), on_uiSheetProperties_triggered(), on_uiTempoBeat_toggled(), on_uiTempoBpm_returnPressed(), on_uiTimeSigBeat_valueChanged(), on_uiTimeSigBeats_valueChanged(), on_uiVoiceStemDirection_toggled(), onTextEditKeyPressEvent(), pasteAt(), scoreViewPortKeyPress(), updateContextToolBar(), and updateInsertToolBar().


| CAStaff* CAMainWin::currentStaff | ( | ) | [inline] |
Definition at line 99 of file mainwin.h.
References CAContext::contextType(), currentContext(), and CAContext::Staff.
Referenced by currentVoice(), on_uiLilyPondSource_triggered(), and on_uiNewVoice_triggered().


| CAContext * CAMainWin::currentContext | ( | ) |
Returns the currently selected context in the current view port or 0 if no contexts are selected.
Definition at line 1005 of file mainwin.cpp.
References currentViewPort(), and CAViewPort::ScoreViewPort.
Referenced by currentStaff(), on_uiAssociatedVoice_activated(), on_uiContextName_returnPressed(), on_uiContextProperties_triggered(), on_uiLilyPondSource_triggered(), on_uiRemoveContext_triggered(), on_uiStanzaNumber_valueChanged(), on_uiVoiceNum_valChanged(), updateContextToolBar(), updateInsertToolBar(), and updateVoiceToolBar().


| CAVoice * CAMainWin::currentVoice | ( | ) |
Returns the pointer to the currently active voice or 0, if All voices are selected or the current context is not a staff at all.
Definition at line 1018 of file mainwin.cpp.
References currentStaff(), CALCDNumber::getRealValue(), uiVoiceNum, CAStaff::voiceAt(), and CAStaff::voiceCount().
Referenced by insertMusElementAt(), on_uiRemoveVoice_triggered(), on_uiVoiceInstrument_activated(), on_uiVoiceName_returnPressed(), on_uiVoiceProperties_triggered(), on_uiVoiceStemDirection_toggled(), scoreViewPortKeyPress(), and updateVoiceToolBar().


| CAViewPortContainer* CAMainWin::currentViewPortContainer | ( | ) | [inline] |
Definition at line 107 of file mainwin.h.
References _currentViewPortContainer.
Referenced by on_uiCanorusMLSource_triggered(), on_uiCloseCurrentView_triggered(), on_uiLilyPondSource_triggered(), on_uiScoreView_triggered(), on_uiSplitHorizontally_triggered(), on_uiSplitVertically_triggered(), on_uiTabWidget_currentChanged(), on_uiUnsplitAll_triggered(), and scoreViewPortMousePress().
| CADocument* CAMainWin::document | ( | ) | [inline] |
Definition at line 108 of file mainwin.h.
References _document.
Referenced by deleteSelection(), CACanorus::findMainWin(), insertMusElementAt(), newDocument(), on_uiAssociatedVoice_activated(), on_uiCanorusMLSource_triggered(), on_uiClefOffset_valueChanged(), on_uiCloseDocument_triggered(), on_uiContextName_returnPressed(), on_uiCut_triggered(), on_uiDocumentProperties_triggered(), on_uiDynamicCustomText_returnPressed(), on_uiDynamicText_toggled(), on_uiDynamicVolume_valueChanged(), on_uiExportDocument_triggered(), on_uiFermataType_toggled(), on_uiFinger_toggled(), on_uiFingeringOriginal_toggled(), on_uiFMChordArea_toggled(), on_uiFMEllipse_toggled(), on_uiFMFunction_toggled(), on_uiFMTonicDegree_toggled(), on_uiHiddenRest_toggled(), on_uiImportDocument_triggered(), on_uiInstrumentChange_activated(), on_uiKeySig_activated(), on_uiNewSheet_triggered(), on_uiNewVoice_triggered(), on_uiNewWindow_triggered(), on_uiNoteStemDirection_toggled(), on_uiPlayableLength_toggled(), on_uiRedo_toggled(), on_uiRemoveContext_triggered(), on_uiRemoveSheet_triggered(), on_uiRemoveVoice_triggered(), on_uiRepeatMarkType_toggled(), on_uiSaveDocument_triggered(), on_uiSaveDocumentAs_triggered(), on_uiSheetName_returnPressed(), on_uiStanzaNumber_valueChanged(), on_uiTempoBeat_toggled(), on_uiTempoBpm_returnPressed(), on_uiTimeSigBeat_valueChanged(), on_uiTimeSigBeats_valueChanged(), on_uiUndo_toggled(), on_uiVoiceName_returnPressed(), on_uiVoiceStemDirection_toggled(), onTextEditKeyPressEvent(), openDocument(), pasteAt(), rebuildUI(), CACanorus::rebuildUI(), CACanorus::restartTimeEditedTimes(), saveDocument(), CAAutoRecovery::saveRecovery(), scoreViewPortKeyPress(), scoreViewPortMousePress(), scoreViewPortMouseRelease(), sourceViewPortCommit(), updateToolBars(), updateUndoRedoButtons(), and ~CAMainWin().

| void CAMainWin::setDocument | ( | CADocument * | document | ) | [inline] |
Definition at line 110 of file mainwin.h.
References _document.
Referenced by CAMainWin(), newDocument(), on_uiCloseDocument_triggered(), on_uiImportDocument_triggered(), on_uiNewWindow_triggered(), openDocument(), and sourceViewPortCommit().

| void CAMainWin::closeEvent | ( | QCloseEvent * | event | ) | [private, slot] |
| void CAMainWin::on_uiNewDocument_triggered | ( | ) | [private, slot] |
| void CAMainWin::on_uiOpenDocument_triggered | ( | ) | [private, slot] |
| void CAMainWin::on_uiSaveDocument_triggered | ( | ) | [private, slot] |
Definition at line 2358 of file mainwin.cpp.
References document(), on_uiSaveDocumentAs_triggered(), and saveDocument().
| void CAMainWin::on_uiSaveDocumentAs_triggered | ( | ) | [private, slot] |
Definition at line 2368 of file mainwin.cpp.
References document(), saveDocument(), and uiSaveDialog.
Referenced by on_uiSaveDocument_triggered().
| void CAMainWin::on_uiCloseDocument_triggered | ( | ) | [private, slot] |
Definition at line 928 of file mainwin.cpp.
References CAUndo::deleteUndoStack(), document(), CACanorus::mainWinCount(), rebuildUI(), setDocument(), and CACanorus::undo().
| void CAMainWin::on_uiExportDocument_triggered | ( | ) | [private, slot] |
Called when File->Export is clicked.
Definition at line 2502 of file mainwin.cpp.
References document(), CAPluginManager::exportAction(), CAExport::exportDocument(), CAPluginManager::exportFilterExists(), CAFileFormats::MIDI_FILTER, CAFile::setStreamToFile(), and uiExportDialog.
| void CAMainWin::on_uiImportDocument_triggered | ( | ) | [private, slot] |
Called when File->Import is clicked.
Definition at line 2543 of file mainwin.cpp.
References CAUndo::createUndoStack(), currentScoreViewPort(), CAUndo::deleteUndoStack(), document(), CAPluginManager::importAction(), CAPluginManager::importFilterExists(), CACanorus::mainWinCount(), CAScoreViewPort::selectContext(), setDocument(), stopPlayback(), uiImportDialog, CACanorus::undo(), and updateToolBars().
| void CAMainWin::on_uiOpenRecent_aboutToShow | ( | ) | [private, slot] |
Definition at line 4388 of file mainwin.cpp.
References onUiOpenRecentDocumentTriggered(), and CACanorus::recentDocumentList().
| void CAMainWin::onUiOpenRecentDocumentTriggered | ( | ) | [private, slot] |
Definition at line 4399 of file mainwin.cpp.
References openDocument(), CACanorus::recentDocumentList(), and CACanorus::removeRecentDocument().
Referenced by on_uiOpenRecent_aboutToShow().
| void CAMainWin::on_uiUndo_toggled | ( | bool | checked, | |
| int | row | |||
| ) | [private, slot] |
Definition at line 1043 of file mainwin.cpp.
References document(), CALCDNumber::getRealValue(), on_uiVoiceNum_valChanged(), CACanorus::rebuildUI(), stopPlayback(), uiVoiceNum, CAUndo::undo(), and CACanorus::undo().
| void CAMainWin::on_uiRedo_toggled | ( | bool | checked, | |
| int | row | |||
| ) | [private, slot] |
Definition at line 1054 of file mainwin.cpp.
References document(), CALCDNumber::getRealValue(), on_uiVoiceNum_valChanged(), CACanorus::rebuildUI(), CAUndo::redo(), stopPlayback(), uiVoiceNum, and CACanorus::undo().
| void CAMainWin::on_uiCopy_triggered | ( | ) | [private, slot] |
Action on Edit->Copy.
Definition at line 3960 of file mainwin.cpp.
References copySelection(), and currentScoreViewPort().
| void CAMainWin::on_uiCut_triggered | ( | ) | [private, slot] |
Action on Edit->Cut.
Definition at line 3969 of file mainwin.cpp.
References copySelection(), CAUndo::createUndoCommand(), currentScoreViewPort(), deleteSelection(), document(), CAUndo::pushUndoCommand(), stopPlayback(), and CACanorus::undo().
| void CAMainWin::on_uiPaste_triggered | ( | ) | [private, slot] |
Action on Edit->Paste.
Definition at line 3982 of file mainwin.cpp.
References currentScoreViewPort(), and pasteAt().
| void CAMainWin::on_uiDocumentProperties_triggered | ( | ) | [private, slot] |
Brings up the properties dialog.
Definition at line 3359 of file mainwin.cpp.
References document(), and CAPropertiesDialog::documentProperties().
| void CAMainWin::on_uiSelectMode_toggled | ( | bool | checked | ) | [private, slot] |
| void CAMainWin::on_uiEditMode_toggled | ( | bool | checked | ) | [private, slot] |
| void CAMainWin::on_uiNewSheet_triggered | ( | ) | [private, slot] |
Adds a new empty sheet.
Definition at line 1085 of file mainwin.cpp.
References CADocument::addSheetByName(), CAUndo::createUndoCommand(), document(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), stopPlayback(), and CACanorus::undo().
| void CAMainWin::on_uiNewVoice_triggered | ( | ) | [private, slot] |
Adds a new voice to the staff.
Definition at line 1097 of file mainwin.cpp.
References CAStaff::addVoice(), CAUndo::createUndoCommand(), currentSheet(), currentStaff(), document(), CAStaff::name(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CALCDNumber::setRealValue(), CAVoice::setStemDirection(), CANote::StemDown, CANote::StemNeutral, CANote::StemUp, CAStaff::synchronizeVoices(), uiVoiceNum, CACanorus::undo(), CAStaff::voiceAt(), and CAStaff::voiceCount().
| void CAMainWin::on_uiContextType_toggled | ( | bool | checked, | |
| int | buttonId | |||
| ) | [private, slot] |
| void CAMainWin::on_uiClefType_toggled | ( | bool | checked, | |
| int | buttonId | |||
| ) | [private, slot] |
Definition at line 2982 of file mainwin.cpp.
References CAMusElement::Clef, InsertMode, musElementFactory(), CAMusElementFactory::setClef(), setMode(), and CAMusElementFactory::setMusElementType().
| void CAMainWin::on_uiInsertKeySig_toggled | ( | bool | checked | ) | [private, slot] |
Definition at line 3142 of file mainwin.cpp.
References InsertMode, CAMusElement::KeySignature, musElementFactory(), setMode(), and CAMusElementFactory::setMusElementType().
| void CAMainWin::on_uiTimeSigType_toggled | ( | bool | checked, | |
| int | buttonId | |||
| ) | [private, slot] |
Definition at line 3104 of file mainwin.cpp.
References InsertMode, musElementFactory(), setMode(), CAMusElementFactory::setMusElementType(), CAMusElementFactory::setTimeSigBeat(), CAMusElementFactory::setTimeSigBeats(), CAMusElement::TimeSignature, uiTimeSigBeat, and uiTimeSigBeats.
| void CAMainWin::on_uiBarlineType_toggled | ( | bool | checked, | |
| int | buttonId | |||
| ) | [private, slot] |
Definition at line 3149 of file mainwin.cpp.
References CAMusElement::Barline, InsertMode, musElementFactory(), CAMusElementFactory::setBarlineType(), setMode(), and CAMusElementFactory::setMusElementType().
| void CAMainWin::on_uiInsertPlayable_toggled | ( | bool | checked | ) | [private, slot] |
Definition at line 2698 of file mainwin.cpp.
References CALCDNumber::getRealValue(), InsertMode, musElementFactory(), CAMusElement::Note, setMode(), CAMusElementFactory::setMusElementType(), CALCDNumber::setRealValue(), and uiVoiceNum.
| void CAMainWin::on_uiSlurType_toggled | ( | bool | checked, | |
| int | buttonId | |||
| ) | [private, slot] |
Definition at line 2963 of file mainwin.cpp.
References currentScoreViewPort(), insertMusElementAt(), musElementFactory(), CAMusElementFactory::musElementType(), CAMusElementFactory::setMusElementType(), CAMusElementFactory::setSlurType(), and CAMusElement::Slur.
| void CAMainWin::on_uiMarkType_toggled | ( | bool | checked, | |
| int | buttonId | |||
| ) | [private, slot] |
Definition at line 2997 of file mainwin.cpp.
References CARitardando::Accellerando, CACrescendo::Crescendo, CAMark::Crescendo, CACrescendo::Decrescendo, InsertMode, CAMusElement::Mark, musElementFactory(), CARitardando::Ritardando, CAMark::Ritardando, CAMusElementFactory::setCrescendoType(), CAMusElementFactory::setMarkType(), setMode(), CAMusElementFactory::setMusElementType(), and CAMusElementFactory::setRitardandoType().
| void CAMainWin::on_uiArticulationType_toggled | ( | bool | checked, | |
| int | buttonId | |||
| ) | [private, slot] |
Definition at line 3030 of file mainwin.cpp.
References CAMark::Articulation, InsertMode, CAMusElement::Mark, musElementFactory(), CAMusElementFactory::setArticulationType(), CAMusElementFactory::setMarkType(), setMode(), and CAMusElementFactory::setMusElementType().
| void CAMainWin::on_uiInsertSyllable_toggled | ( | bool | checked | ) | [private, slot] |
| void CAMainWin::on_uiInsertFM_toggled | ( | bool | checked | ) | [private, slot] |
Definition at line 2714 of file mainwin.cpp.
References CAMusElement::FunctionMarking, InsertMode, musElementFactory(), setMode(), and CAMusElementFactory::setMusElementType().
| void CAMainWin::on_uiFullscreen_toggled | ( | bool | checked | ) | [private, slot] |
Definition at line 867 of file mainwin.cpp.
| void CAMainWin::on_uiAnimatedScroll_toggled | ( | bool | val | ) | [private, slot] |
| void CAMainWin::on_uiLockScrollPlayback_toggled | ( | bool | val | ) | [private, slot] |
| void CAMainWin::on_uiZoomToSelection_triggered | ( | ) | [private, slot] |
Definition at line 2328 of file mainwin.cpp.
References _animatedScroll, _currentViewPort, CAViewPort::ScoreViewPort, and CAViewPort::viewPortType().
| void CAMainWin::on_uiZoomToFit_triggered | ( | ) | [private, slot] |
Definition at line 2333 of file mainwin.cpp.
References _currentViewPort, CAViewPort::ScoreViewPort, and CAViewPort::viewPortType().
| void CAMainWin::on_uiZoomToWidth_triggered | ( | ) | [private, slot] |
Definition at line 2338 of file mainwin.cpp.
References _currentViewPort, CAViewPort::ScoreViewPort, and CAViewPort::viewPortType().
| void CAMainWin::on_uiZoomToHeight_triggered | ( | ) | [private, slot] |
Definition at line 2343 of file mainwin.cpp.
References _currentViewPort, CAViewPort::ScoreViewPort, and CAViewPort::viewPortType().
| void CAMainWin::on_uiScoreView_triggered | ( | ) | [private, slot] |
Adds a new score viewport to default viewport container.
Definition at line 3287 of file mainwin.cpp.
References _sheetMap, CAViewPortContainer::addViewPort(), currentViewPortContainer(), initViewPort(), and CAScoreViewPort::rebuild().
| void CAMainWin::on_uiLilyPondSource_triggered | ( | ) | [private, slot] |
Definition at line 3261 of file mainwin.cpp.
References CAViewPortContainer::addViewPort(), CAContext::contextType(), currentContext(), currentStaff(), currentViewPortContainer(), CALCDNumber::getRealValue(), initViewPort(), CAContext::LyricsContext, uiVoiceNum, and CAStaff::voiceAt().
| void CAMainWin::on_uiCanorusMLSource_triggered | ( | ) | [private, slot] |
Shows the current score in CanorusML syntax in a new or the current viewport.
Definition at line 940 of file mainwin.cpp.
References CAViewPortContainer::addViewPort(), currentViewPortContainer(), document(), and initViewPort().
| void CAMainWin::on_uiRemoveSheet_triggered | ( | ) | [private, slot] |
Removes the sheet, all its contents and rebuilds the GUI.
Definition at line 3304 of file mainwin.cpp.
References CAUndo::createUndoCommand(), currentSheet(), document(), CAUndo::pushUndoCommand(), removeSheet(), CADocument::removeSheet(), stopPlayback(), and CACanorus::undo().
| void CAMainWin::on_uiSheetName_returnPressed | ( | ) | [private, slot] |
Definition at line 3363 of file mainwin.cpp.
References CAUndo::createUndoCommand(), currentSheet(), document(), CASheet::name(), CAUndo::pushUndoCommand(), CASheet::setName(), uiSheetName, CACanorus::undo(), and updateUndoRedoButtons().
| void CAMainWin::on_uiSheetProperties_triggered | ( | ) | [private, slot] |
Brings up properties dialog.
Definition at line 3377 of file mainwin.cpp.
References currentSheet(), and CAPropertiesDialog::sheetProperties().
| void CAMainWin::on_uiContextName_returnPressed | ( | ) | [private, slot] |
Sets the current context name.
Definition at line 3384 of file mainwin.cpp.
References CAUndo::createUndoCommand(), currentContext(), document(), CAUndo::pushUndoCommand(), CAContext::setName(), uiContextName, CACanorus::undo(), and updateUndoRedoButtons().
| void CAMainWin::on_uiRemoveContext_triggered | ( | ) | [private, slot] |
Removes the current context from the sheet and all its contents.
Definition at line 1155 of file mainwin.cpp.
References CAUndo::createUndoCommand(), currentContext(), currentSheet(), document(), CAContext::name(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CASheet::removeContext(), CAContext::sheet(), stopPlayback(), and CACanorus::undo().
| void CAMainWin::on_uiStanzaNumber_valueChanged | ( | int | stanzaNumber | ) | [private, slot] |
Sets the stanza number of the current lyrics context.
Definition at line 3404 of file mainwin.cpp.
References CAUndo::createUndoCommand(), currentContext(), document(), CAContext::LyricsContext, CAUndo::pushUndoCommand(), and CACanorus::undo().
| void CAMainWin::on_uiAssociatedVoice_activated | ( | int | idx | ) | [private, slot] |
Sets the associated voice of the current lyrics context.
Definition at line 3416 of file mainwin.cpp.
References CAUndo::createUndoCommand(), currentContext(), currentSheet(), document(), CAContext::LyricsContext, CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CACanorus::undo(), and CASheet::voiceList().
| void CAMainWin::on_uiContextProperties_triggered | ( | ) | [private, slot] |
Brings up the properties dialog.
Definition at line 3397 of file mainwin.cpp.
References CAPropertiesDialog::contextProperties(), and currentContext().
| void CAMainWin::on_uiPlayFromSelection_toggled | ( | bool | checked | ) | [private, slot] |
Connected with the play button which starts the playback.
Definition at line 2275 of file mainwin.cpp.
References _playback, _playbackViewPort, _prePlaybackSelection, _repaintTimer, CAScoreViewPort::clearSelection(), currentScoreViewPort(), currentSheet(), currentViewPort(), CACanorus::midiDevice(), onRepaintTimerTimeout(), CAMidiDevice::openOutputPort(), playbackFinished(), CAScoreViewPort::selection(), CAScoreViewPort::setBorder(), CAPlayback::setInitTimeStart(), CAScoreViewPort::setPlaying(), CACanorus::settings(), and CAPlayback::stop().
| void CAMainWin::on_uiPlayableLength_toggled | ( | bool | checked, | |
| int | buttonId | |||
| ) | [private, slot] |
Definition at line 2721 of file mainwin.cpp.
References CARest::composeRests(), CAUndo::createUndoCommand(), currentScoreViewPort(), currentSheet(), document(), EditMode, CAVoice::insert(), InsertMode, CAVoice::lyricsContextList(), mode(), musElementFactory(), CAMusElement::musElementType(), CAVoice::next(), CARest::Normal, CAMusElement::Note, CAPlayable::playableLengthToTimeLength(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAVoice::remove(), CAMusElement::Rest, CAScoreViewPort::selection(), CAPlayable::setPlayableLength(), CAMusElementFactory::setPlayableLength(), CAPlayable::staff(), CAStaff::synchronizeVoices(), CAMusElement::timeLength(), CAMusElement::timeStart(), CACanorus::undo(), and CAPlayable::voice().
| void CAMainWin::on_uiNoteStemDirection_toggled | ( | bool | checked, | |
| int | id | |||
| ) | [private, slot] |
Sets the currently selected note stem direction if in insert/edit mode or the music elements factory note stem direction if in insert mode.
Definition at line 3441 of file mainwin.cpp.
References CAUndo::createUndoCommand(), currentScoreViewPort(), currentSheet(), document(), EditMode, InsertMode, mode(), musElementFactory(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAScoreViewPort::selection(), SelectMode, CAMusElementFactory::setNoteStemDirection(), CANote::setStemDirection(), and CACanorus::undo().
| void CAMainWin::on_uiHiddenRest_toggled | ( | bool | checked | ) | [private, slot] |
Definition at line 874 of file mainwin.cpp.
References currentScoreViewPort(), currentSheet(), document(), EditMode, CARest::Hidden, InsertMode, mode(), musElementFactory(), CARest::Normal, CACanorus::rebuildUI(), CAScoreViewPort::selection(), SelectMode, CARest::setRestType(), and CAMusElementFactory::setRestType().
| void CAMainWin::onMidiInEvent | ( | QVector< unsigned char > | message | ) | [private, slot] |
| void CAMainWin::on_uiKeySig_activated | ( | int | row | ) | [private, slot] |
Changes the number of accidentals.
Definition at line 2615 of file mainwin.cpp.
References CAUndo::createUndoCommand(), currentScoreViewPort(), currentSheet(), document(), EditMode, InsertMode, CAKeySignature::keySignatureToString(), CAKeySignature::Major, CAKeySignature::MajorMinor, CAKeySignature::Minor, mode(), musElementFactory(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAScoreViewPort::selection(), CAFunctionMarking::setKey(), CAMusElementFactory::setKeySigGender(), CAKeySignature::setKeySignatureType(), CAMusElementFactory::setKeySigNumberOfAccs(), and CACanorus::undo().
Referenced by setupCustomUi().
| void CAMainWin::on_uiTimeSigBeats_valueChanged | ( | int | beats | ) | [private, slot] |
Definition at line 3046 of file mainwin.cpp.
References currentScoreViewPort(), currentSheet(), document(), EditMode, InsertMode, mode(), musElementFactory(), CACanorus::rebuildUI(), CAScoreViewPort::selection(), CATimeSignature::setBeats(), CAMenuToolButton::setCurrentId(), CAMusElementFactory::setTimeSigBeats(), uiTimeSigBeat, uiTimeSigBeats, and uiTimeSigType.
| void CAMainWin::on_uiTimeSigBeat_valueChanged | ( | int | beat | ) | [private, slot] |
Definition at line 3075 of file mainwin.cpp.
References currentScoreViewPort(), currentSheet(), document(), EditMode, InsertMode, mode(), musElementFactory(), CACanorus::rebuildUI(), CAScoreViewPort::selection(), CATimeSignature::setBeat(), CAMenuToolButton::setCurrentId(), CAMusElementFactory::setTimeSigBeat(), uiTimeSigBeat, uiTimeSigBeats, and uiTimeSigType.
| void CAMainWin::on_uiClefOffset_valueChanged | ( | int | newOffset | ) | [private, slot] |
Changes the offset of the clef.
Definition at line 2648 of file mainwin.cpp.
References CAUndo::createUndoCommand(), currentScoreViewPort(), currentSheet(), document(), EditMode, InsertMode, mode(), musElementFactory(), CAClef::offsetFromReadable(), oldUiClefOffsetValue, CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAScoreViewPort::selection(), CAMusElementFactory::setClefOffset(), CAClef::setOffset(), uiClefOffset, and CACanorus::undo().
| void CAMainWin::onTextEditKeyPressEvent | ( | QKeyEvent * | e | ) | [private, slot] |
Function called when user types the text of the syllable or hits control keys.
The following behaviour is implemented:
Definition at line 2792 of file mainwin.cpp.
References CALyricsContext::associatedVoice(), CASyllable::associatedVoice(), CAMark::BookMark, CADrawableContext::context(), CAScoreViewPort::createTextEdit(), CAUndo::createUndoCommand(), CAScoreViewPort::currentContext(), currentScoreViewPort(), currentSheet(), document(), CASettings::finaleLyricsBehaviour(), CASyllable::lyricsContext(), CAMusElement::Mark, CAMark::markType(), CAMusElement::musElementType(), CALyricsContext::next(), CALyricsContext::previous(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAScoreViewPort::removeTextEdit(), CAScoreViewPort::selection(), CAScoreViewPort::selectMElement(), CASyllable::setHyphenStart(), CASyllable::setMelismaStart(), CASyllable::setText(), CACanorus::settings(), CAMusElement::Syllable, CAMark::Text, CAScoreViewPort::textEdit(), and CACanorus::undo().
Referenced by initViewPort().
| void CAMainWin::on_uiFMFunction_toggled | ( | bool | checked, | |
| int | buttonId | |||
| ) | [private, slot] |
Definition at line 2873 of file mainwin.cpp.
References CAUndo::createUndoCommand(), currentScoreViewPort(), currentSheet(), document(), EditMode, InsertMode, mode(), musElementFactory(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAScoreViewPort::selection(), CAMusElementFactory::setFMFunction(), CAMusElementFactory::setFMFunctionMinor(), CAFunctionMarking::setFunction(), CAFunctionMarking::setMinor(), and CACanorus::undo().
| void CAMainWin::on_uiFMChordArea_toggled | ( | bool | checked, | |
| int | buttonId | |||
| ) | [private, slot] |
Definition at line 2896 of file mainwin.cpp.
References CAUndo::createUndoCommand(), currentScoreViewPort(), currentSheet(), document(), EditMode, InsertMode, mode(), musElementFactory(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAScoreViewPort::selection(), CAFunctionMarking::setChordArea(), CAFunctionMarking::setChordAreaMinor(), CAMusElementFactory::setFMChordArea(), CAMusElementFactory::setFMChordAreaMinor(), and CACanorus::undo().
| void CAMainWin::on_uiFMTonicDegree_toggled | ( | bool | checked, | |
| int | buttonId | |||
| ) | [private, slot] |
Definition at line 2919 of file mainwin.cpp.
References CAUndo::createUndoCommand(), currentScoreViewPort(), currentSheet(), document(), EditMode, InsertMode, mode(), musElementFactory(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAScoreViewPort::selection(), CAMusElementFactory::setFMTonicDegree(), CAMusElementFactory::setFMTonicDegreeMinor(), CAFunctionMarking::setTonicDegree(), CAFunctionMarking::setTonicDegreeMinor(), and CACanorus::undo().
| void CAMainWin::on_uiFMEllipse_toggled | ( | bool | checked | ) | [private, slot] |
Definition at line 2942 of file mainwin.cpp.
References CAUndo::createUndoCommand(), currentScoreViewPort(), currentSheet(), document(), EditMode, InsertMode, mode(), musElementFactory(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAScoreViewPort::selection(), CAFunctionMarking::setEllipse(), CAMusElementFactory::setFMEllipse(), and CACanorus::undo().
| void CAMainWin::on_uiDynamicText_toggled | ( | bool | checked, | |
| int | t | |||
| ) | [private, slot] |
Definition at line 4166 of file mainwin.cpp.
References currentScoreViewPort(), currentSheet(), CADynamic::Custom, document(), CADynamic::dynamicTextToString(), EditMode, InsertMode, mode(), musElementFactory(), CACanorus::rebuildUI(), CAScoreViewPort::selection(), CAMusElementFactory::setDynamicText(), CADynamic::setText(), and uiDynamicCustomText.
| void CAMainWin::on_uiDynamicVolume_valueChanged | ( | int | vol | ) | [private, slot] |
Definition at line 4186 of file mainwin.cpp.
References currentScoreViewPort(), currentSheet(), document(), EditMode, InsertMode, mode(), musElementFactory(), CACanorus::rebuildUI(), CAScoreViewPort::selection(), CAMusElementFactory::setDynamicVolume(), and CADynamic::setVolume().
| void CAMainWin::on_uiDynamicCustomText_returnPressed | ( | ) | [private, slot] |
Definition at line 4201 of file mainwin.cpp.
References currentScoreViewPort(), currentSheet(), document(), CADynamic::dynamicTextFromString(), EditMode, InsertMode, mode(), musElementFactory(), CACanorus::rebuildUI(), CAScoreViewPort::selection(), CAMenuToolButton::setCurrentId(), CAMusElementFactory::setDynamicText(), CADynamic::setText(), uiDynamicCustomText, and uiDynamicText.
| void CAMainWin::on_uiInstrumentChange_activated | ( | int | index | ) | [private, slot] |
Definition at line 4220 of file mainwin.cpp.
References CAUndo::createUndoCommand(), currentScoreViewPort(), currentSheet(), document(), EditMode, InsertMode, mode(), musElementFactory(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAScoreViewPort::selection(), CAInstrumentChange::setInstrument(), CAMusElementFactory::setInstrument(), and CACanorus::undo().
| void CAMainWin::on_uiFermataType_toggled | ( | bool | checked, | |
| int | t | |||
| ) | [private, slot] |
Definition at line 4240 of file mainwin.cpp.
References CAUndo::createUndoCommand(), currentScoreViewPort(), currentSheet(), document(), EditMode, InsertMode, mode(), musElementFactory(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAScoreViewPort::selection(), CAFermata::setFermataType(), CAMusElementFactory::setFermataType(), and CACanorus::undo().
| void CAMainWin::on_uiRepeatMarkType_toggled | ( | bool | checked, | |
| int | t | |||
| ) | [private, slot] |
Definition at line 4307 of file mainwin.cpp.
References CAUndo::createUndoCommand(), currentScoreViewPort(), currentSheet(), document(), EditMode, InsertMode, mode(), musElementFactory(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAScoreViewPort::selection(), CARepeatMark::setRepeatMarkType(), CAMusElementFactory::setRepeatMarkType(), CAMusElementFactory::setRepeatMarkVoltaNumber(), CARepeatMark::setVoltaNumber(), CACanorus::undo(), and CARepeatMark::Volta.
| void CAMainWin::on_uiFinger_toggled | ( | bool | checked, | |
| int | t | |||
| ) | [private, slot] |
Definition at line 4263 of file mainwin.cpp.
References CAUndo::createUndoCommand(), currentScoreViewPort(), currentSheet(), document(), EditMode, InsertMode, mode(), musElementFactory(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAScoreViewPort::selection(), CAFingering::setFinger(), CAMusElementFactory::setFingeringFinger(), and CACanorus::undo().
| void CAMainWin::on_uiFingeringOriginal_toggled | ( | bool | checked | ) | [private, slot] |
Definition at line 4286 of file mainwin.cpp.
References CAUndo::createUndoCommand(), currentScoreViewPort(), currentSheet(), document(), EditMode, InsertMode, mode(), musElementFactory(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAScoreViewPort::selection(), CAMusElementFactory::setFingeringOriginal(), CAFingering::setOriginal(), and CACanorus::undo().
| void CAMainWin::on_uiTempoBeat_toggled | ( | bool | checked, | |
| int | t | |||
| ) | [private, slot] |
Definition at line 4340 of file mainwin.cpp.
References CAUndo::createUndoCommand(), currentScoreViewPort(), currentSheet(), document(), EditMode, InsertMode, mode(), musElementFactory(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAScoreViewPort::selection(), CATempo::setBeat(), CATempo::setBeatDotted(), CAMusElementFactory::setTempoBeat(), CAMusElementFactory::setTempoBeatDotted(), and CACanorus::undo().
| void CAMainWin::on_uiTempoBpm_returnPressed | ( | ) | [private, slot] |
Definition at line 4365 of file mainwin.cpp.
References CAUndo::createUndoCommand(), currentScoreViewPort(), currentSheet(), document(), EditMode, InsertMode, mode(), musElementFactory(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAScoreViewPort::selection(), CATempo::setBpm(), CAMusElementFactory::setTempoBpm(), uiTempoBpm, and CACanorus::undo().
| void CAMainWin::on_uiSettings_triggered | ( | ) | [private, slot] |
Definition at line 3256 of file mainwin.cpp.
References CASettingsDialog::EditorSettings, and CACanorus::rebuildUI().
| void CAMainWin::on_uiVoiceNum_valChanged | ( | int | voiceNr | ) | [private, slot] |
Called when a user changes the current voice number.
Definition at line 2590 of file mainwin.cpp.
References currentContext(), currentScoreViewPort(), CAScoreViewPort::setSelectedVoice(), CAContext::Staff, and updateVoiceToolBar().
Referenced by on_uiRedo_toggled(), and on_uiUndo_toggled().
| void CAMainWin::on_uiVoiceName_returnPressed | ( | ) | [private, slot] |
Gets the current voice and sets its name.
Definition at line 2679 of file mainwin.cpp.
References CAUndo::createUndoCommand(), currentVoice(), document(), CAUndo::pushUndoCommand(), CAVoice::setName(), uiVoiceName, and CACanorus::undo().
| void CAMainWin::on_uiVoiceInstrument_activated | ( | int | index | ) | [private, slot] |
Changes voice instrument.
Definition at line 2691 of file mainwin.cpp.
References currentVoice(), and CAVoice::setMidiProgram().
| void CAMainWin::on_uiRemoveVoice_triggered | ( | ) | [private, slot] |
Removes the current voice from the staff and deletes its contents.
Definition at line 1122 of file mainwin.cpp.
References CAScoreViewPort::clearSelection(), CAUndo::createUndoCommand(), currentScoreViewPort(), currentSheet(), currentVoice(), document(), CAVoice::name(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CALCDNumber::setRealValue(), CAVoice::staff(), stopPlayback(), uiVoiceNum, CACanorus::undo(), and CAStaff::voiceCount().
| void CAMainWin::on_uiVoiceStemDirection_toggled | ( | bool | checked, | |
| int | direction | |||
| ) | [private, slot] |
Definition at line 3426 of file mainwin.cpp.
References CAUndo::createUndoCommand(), currentSheet(), currentVoice(), document(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAVoice::setStemDirection(), CAVoice::stemDirection(), and CACanorus::undo().
| void CAMainWin::on_uiVoiceProperties_triggered | ( | ) | [private, slot] |
Brings up the properties dialog.
Definition at line 2608 of file mainwin.cpp.
References currentVoice(), and CAPropertiesDialog::voiceProperties().
| void CAMainWin::on_uiSplitHorizontally_triggered | ( | ) | [private, slot] |
Definition at line 888 of file mainwin.cpp.
References currentViewPortContainer(), initViewPort(), and CAViewPortContainer::splitHorizontally().
| void CAMainWin::on_uiSplitVertically_triggered | ( | ) | [private, slot] |
Definition at line 899 of file mainwin.cpp.
References currentViewPortContainer(), initViewPort(), and CAViewPortContainer::splitVertically().
| void CAMainWin::on_uiUnsplitAll_triggered | ( | ) | [private, slot] |
Definition at line 910 of file mainwin.cpp.
References currentViewPort(), currentViewPortContainer(), setCurrentViewPort(), and CAViewPortContainer::unsplitAll().
Referenced by clearUI().
| void CAMainWin::on_uiCloseCurrentView_triggered | ( | ) | [private, slot] |
Definition at line 917 of file mainwin.cpp.
References currentViewPort(), currentViewPortContainer(), setCurrentViewPort(), CAViewPortContainer::unsplit(), and viewPortList().
| void CAMainWin::on_uiNewViewport_triggered | ( | ) | [private, slot] |
Definition at line 949 of file mainwin.cpp.
References CAViewPort::clone(), currentViewPort(), CAViewPort::DEFAULT_VIEWPORT_HEIGHT, CAViewPort::DEFAULT_VIEWPORT_WIDTH, and initViewPort().
| void CAMainWin::on_uiNewWindow_triggered | ( | ) | [private, slot] |
Creates a new main window sharing the current document.
Definition at line 1032 of file mainwin.cpp.
References CAMainWin(), document(), rebuildUI(), and setDocument().
| void CAMainWin::on_uiAboutCanorus_triggered | ( | ) | [private, slot] |
Definition at line 3245 of file mainwin.cpp.
| void CAMainWin::on_uiAboutQt_triggered | ( | ) | [private, slot] |
Definition at line 3241 of file mainwin.cpp.
| void CAMainWin::keyPressEvent | ( | QKeyEvent * | e | ) | [private, slot] |
Main window's key press event.
Definition at line 2225 of file mainwin.cpp.
| void CAMainWin::on_uiTabWidget_currentChanged | ( | int | idx | ) | [private, slot] |
Called when the current sheet is switched in the tab widget.
Definition at line 859 of file mainwin.cpp.
References currentViewPort(), currentViewPortContainer(), setCurrentViewPort(), setCurrentViewPortContainer(), and updateToolBars().
| void CAMainWin::scoreViewPortMousePress | ( | QMouseEvent * | e, | |
| const QPoint | coords, | |||
| CAScoreViewPort * | v | |||
| ) | [private, slot] |
Processes the mouse press event e with world coordinates coords of the score viewport v. Any action happened in any of the viewports are always linked to these main window slots.
Definition at line 1377 of file mainwin.cpp.
References CAPluginManager::action(), CAScoreViewPort::addToSelection(), CAMark::BookMark, CAScoreViewPort::clearSelection(), CAScoreViewPort::clearSelectionRegionList(), CAMusElement::context(), CADrawableContext::context(), CASheet::contextCount(), CAContext::contextType(), CAScoreViewPort::createTextEdit(), CAUndo::createUndoCommand(), CAScoreViewPort::currentContext(), CAToolButton::currentId(), currentScoreViewPort(), currentViewPort(), currentViewPortContainer(), document(), CADrawableMusElement::drawableContext(), EditMode, CAContext::FunctionMarkingContext, CADrawable::height(), CASheet::insertContextAfter(), InsertMode, insertMusElementAt(), CAMusElement::isPlayable(), CAContext::LyricsContext, CAMusElement::Mark, CAMusElementFactory::markType(), mode(), CADrawableMusElement::musElement(), musElementFactory(), CAScoreViewPort::musElementsAt(), CAMusElementFactory::musElementType(), CAMusElement::musElementType(), CAScoreViewPort::nearestUpContext(), CAMusElement::Note, CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAScoreViewPort::removeFromSelection(), CAScoreViewPort::removeTextEdit(), CAScoreViewPort::resizeDirection(), CAMusElement::Rest, CAScoreViewPort::selectCElement(), CAScoreViewPort::selectContext(), CAScoreViewPort::selection(), SelectMode, CAScoreViewPort::setCurrentContext(), CAViewPortContainer::setCurrentViewPort(), setCurrentViewPort(), CALCDNumber::setMax(), CAMusElementFactory::setMusElementType(), CALCDNumber::setRealValue(), CAScoreViewPort::setShadowNoteDotted(), CAScoreViewPort::sheet(), CAContext::Staff, CASheet::staffCount(), CAMusElement::Syllable, CAMark::Text, CAMusElement::timeEnd(), CAMusElement::timeStart(), uiContextType, uiMarkType, uiVoiceNum, CADrawable::Undefined, CACanorus::undo(), updateToolBars(), CASheet::voiceList(), CADrawable::width(), CADrawable::xPos(), and CADrawable::yPos().
Referenced by initViewPort().
| void CAMainWin::scoreViewPortMouseMove | ( | QMouseEvent * | e, | |
| const QPoint | coords, | |||
| CAScoreViewPort * | c | |||
| ) | [private, slot] |
Processes the mouse move event e with coordinates coords of the score viewport v. Any action happened in any of the viewports are always linked to its main window slots.
Definition at line 1556 of file mainwin.cpp.
References CAScoreViewPort::addSelectionRegion(), CADrawableStaff::calculatePitch(), CAScoreViewPort::clearSelectionRegionList(), CAScoreViewPort::coordsToTime(), CAScoreViewPort::currentContext(), CADrawableContext::drawableContextType(), CADrawableMusElement::DrawableSlur, CADrawableContext::DrawableStaff, CAScoreViewPort::findContextsInRegion(), CANote::generateNoteName(), CADrawableStaff::getAccs(), InsertMode, CAScoreViewPort::lastMousePressCoords(), CADrawable::Left, mode(), musElementFactory(), CAMusElement::Note, CAMusElementFactory::noteExtraAccs(), CAPlayable::playableLengthToTimeLength(), CAScoreViewPort::resizeDirection(), CAMusElement::Rest, CADrawable::Right, CAScoreViewPort::selection(), SelectMode, CAMusElementFactory::setNoteAccs(), CAScoreViewPort::setShadowNoteAccs(), CAScoreViewPort::setShadowNoteVisible(), CAPlayable::Sixteenth, CAScoreViewPort::timeToCoords(), and CADrawable::Undefined.
Referenced by initViewPort().
| void CAMainWin::scoreViewPortMouseRelease | ( | QMouseEvent * | e, | |
| const QPoint | coords, | |||
| CAScoreViewPort * | c | |||
| ) | [private, slot] |
Processes the mouse move event e with coordinates coords of the score viewport v. Any action happened in any of the viewports are always linked to its main window slots.
Definition at line 1625 of file mainwin.cpp.
References CAScoreViewPort::addToSelection(), CAScoreViewPort::clearSelection(), CAScoreViewPort::clearSelectionRegionList(), document(), CADrawableMusElement::DrawableSlur, CAScoreViewPort::findContextsInRegion(), InsertMode, CAScoreViewPort::lastMousePressCoords(), mode(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAScoreViewPort::resizeDirection(), CAScoreViewPort::selectedVoice(), CAScoreViewPort::sheet(), CAVoice::staff(), CADrawable::Undefined, and CACanorus::undo().
Referenced by initViewPort().
| void CAMainWin::scoreViewPortWheel | ( | QWheelEvent * | e, | |
| const QPoint | coords, | |||
| CAScoreViewPort * | sv | |||
| ) | [private, slot] |
Processes the mouse wheel event e with coordinates coords of the score viewport v. Any action happened in any of the viewports are always linked to its main window slots.
Definition at line 1668 of file mainwin.cpp.
References _animatedScroll, setCurrentViewPort(), CAScoreViewPort::setWorldX(), CAScoreViewPort::setWorldY(), CAScoreViewPort::setZoom(), CAScoreViewPort::worldX(), CAScoreViewPort::worldY(), and CAScoreViewPort::zoom().
Referenced by initViewPort().
| void CAMainWin::scoreViewPortKeyPress | ( | QKeyEvent * | e, | |
| CAScoreViewPort * | v | |||
| ) | [private, slot] |
Processes the key press event e of the score viewport v. Any action happened in any of the viewports are always linked to its main window slots.
Definition at line 1703 of file mainwin.cpp.
References CAMusElementFactory::addNoteAccs(), CAMusElementFactory::addNoteExtraAccs(), CAMusElementFactory::addPlayableDotted(), CAPlayable::Breve, CAScoreViewPort::clearSelection(), CARest::composeRests(), CADrawableContext::context(), CAContext::contextType(), CAUndo::createUndoCommand(), CAScoreViewPort::currentContext(), currentScoreViewPort(), currentSheet(), currentVoice(), deleteSelection(), document(), CAPlayable::dotted(), CADrawableMusElement::drawableMusElementType(), CADrawableMusElement::DrawableNote, EditMode, CAPlayable::Eighth, CAPlayable::Half, CAPlayable::HundredTwentyEighth, CAVoice::insert(), InsertMode, CAMusElement::isPlayable(), CAVoice::lyricsContextList(), mode(), CADrawableMusElement::musElement(), musElementFactory(), CAMusElement::musElementType(), CAVoice::next(), CAStaff::next(), CARest::Normal, CAMusElement::Note, CANote::pitch(), CAUndo::pushUndoCommand(), CAPlayable::Quarter, CACanorus::rebuildUI(), CAVoice::remove(), CAMusElement::Rest, CAScoreViewPort::selection(), CAScoreViewPort::selectMElement(), SelectMode, CAScoreViewPort::selectNextMusElement(), CAScoreViewPort::selectPrevMusElement(), CAScoreViewPort::selectUpMusElement(), CAScoreViewPort::setCurrentContext(), CAMenuToolButton::setCurrentId(), setCurrentViewPort(), CAPlayable::setDotted(), CAScoreViewPort::setDrawShadowNoteAccs(), CANote::setPitch(), CAMusElementFactory::setPlayableDotted(), CALCDNumber::setRealValue(), CAScoreViewPort::setShadowNoteAccs(), CAScoreViewPort::setShadowNoteDotted(), CAContext::sheet(), CAScoreViewPort::sheet(), CABarline::Single, CAPlayable::Sixteenth, CAPlayable::SixtyFourth, CAPlayable::staff(), CAContext::Staff, CAMusElementFactory::subNoteAccs(), CAMusElementFactory::subNoteExtraAccs(), CAStaff::synchronizeVoices(), CAPlayable::ThirtySecond, CAMusElement::timeLength(), CAMusElement::timeStart(), uiPlayableLength, uiVoiceNum, CACanorus::undo(), updateToolBars(), CAPlayable::voice(), CAStaff::voiceAt(), and CAPlayable::Whole.
Referenced by initViewPort().
| void CAMainWin::sourceViewPortCommit | ( | QString | inputString, | |
| CASourceViewPort * | v | |||
| ) | [private, slot] |
Called when a user clicks "Commit" button in source viewport.
Definition at line 3160 of file mainwin.cpp.
References _viewPortList, CAVoice::addLyricsContext(), CAStaff::addVoice(), CALyricsContext::associatedVoice(), CAUndo::changeDocument(), clearUI(), CALyricsContext::cloneLyricsContextProperties(), CAUndo::createUndoCommand(), document(), CASourceViewPort::document(), CAVoice::getSignList(), CAImport::importDocument(), CAImport::importedDocument(), CAImport::importedLyricsContext(), CAImport::importedVoice(), CAImport::importLyricsContext(), CAImport::importVoice(), CASheet::insertContextAfter(), CASourceViewPort::lyricsContext(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAVoice::remove(), CASheet::removeContext(), CAVoice::removeLyricsContext(), CAViewPort::ScoreViewPort, setCurrentViewPort(), setDocument(), CASourceViewPort::setLyricsContext(), CALilyPondImport::setTemplateVoice(), CASourceViewPort::setVoice(), CAContext::sheet(), CAVoice::staff(), stopPlayback(), CAStaff::synchronizeVoices(), CACanorus::undo(), CAViewPort::viewPortType(), and CASourceViewPort::voice().
Referenced by initViewPort().
| void CAMainWin::onTimeEditedTimerTimeout | ( | ) | [private, slot] |
Called every second when timeEditedTimer has timeout. Increases the locally stored time the document is being edited.
Definition at line 2245 of file mainwin.cpp.
References _timeEditedTime.
Referenced by CAMainWin().
| void CAMainWin::playbackFinished | ( | ) | [private, slot] |
Called when playback is finished or interrupted by the user. It stops the playback, closes ports etc.
Definition at line 2253 of file mainwin.cpp.
References _playback, _playbackViewPort, _prePlaybackSelection, _repaintTimer, CAMidiDevice::closeOutputPort(), CACanorus::midiDevice(), mode(), and setMode().
Referenced by on_uiPlayFromSelection_toggled().
| void CAMainWin::onScoreViewPortSelectionChanged | ( | ) | [private, slot] |
Called when selection in score viewports is changed.
Definition at line 2231 of file mainwin.cpp.
Referenced by initViewPort().
| void CAMainWin::onRepaintTimerTimeout | ( | ) | [private, slot] |
Called every few miliseconds during playback to repaint score viewport as the GUI can only be repainted from the main thread.
Definition at line 2312 of file mainwin.cpp.
References _playback, _playbackViewPort, CAScoreViewPort::addToSelection(), CAScoreViewPort::clearSelection(), and CAPlayback::curPlaying().
Referenced by on_uiPlayFromSelection_toggled().
| void CAMainWin::setMode | ( | CAMode | mode | ) | [private] |
Sets the current mode and updates the GUI and toolbars.
Definition at line 1194 of file mainwin.cpp.
References _mode, _viewPortList, CAMark::BookMark, CAScoreViewPort::createTextEdit(), currentScoreViewPort(), currentViewPort(), EditMode, InsertMode, CAMusElement::Mark, musElementFactory(), CAMusElement::musElementType(), CAMusElement::Note, CAScoreViewPort::playing(), CAScoreViewPort::removeTextEdit(), CAViewPort::ScoreViewPort, CAScoreViewPort::selection(), SelectMode, CAScoreViewPort::setBorder(), CAMusElementFactory::setMusElementType(), CALCDNumber::setRealValue(), CAScoreViewPort::setShadowNoteVisible(), CAMusElement::Syllable, CAMark::Text, CAScoreViewPort::textEditVisible(), uiVoiceNum, CAMusElement::Undefined, CAScoreViewPort::unsetBorder(), and updateToolBars().
Referenced by initViewPort(), on_uiArticulationType_toggled(), on_uiBarlineType_toggled(), on_uiClefType_toggled(), on_uiContextType_toggled(), on_uiEditMode_toggled(), on_uiInsertFM_toggled(), on_uiInsertKeySig_toggled(), on_uiInsertPlayable_toggled(), on_uiInsertSyllable_toggled(), on_uiMarkType_toggled(), on_uiSelectMode_toggled(), on_uiTimeSigType_toggled(), and playbackFinished().


| void CAMainWin::setCurrentViewPort | ( | CAViewPort * | viewPort | ) | [inline, private] |
Definition at line 283 of file mainwin.h.
References _currentViewPort.
Referenced by clearUI(), initViewPort(), on_uiCloseCurrentView_triggered(), on_uiTabWidget_currentChanged(), on_uiUnsplitAll_triggered(), removeSheet(), scoreViewPortKeyPress(), scoreViewPortMousePress(), scoreViewPortWheel(), and sourceViewPortCommit().

| void CAMainWin::setCurrentViewPortContainer | ( | CAViewPortContainer * | vpc | ) | [inline, private] |
Definition at line 284 of file mainwin.h.
References _currentViewPortContainer.
Referenced by addSheet(), on_uiTabWidget_currentChanged(), and removeSheet().

| void CAMainWin::setRebuildUILock | ( | bool | l | ) | [inline, private] |
Definition at line 299 of file mainwin.h.
References _rebuildUILock.
Referenced by CAMainWin(), and rebuildUI().

| CAMusElementFactory* CAMainWin::musElementFactory | ( | ) | [inline, private] |
Definition at line 305 of file mainwin.h.
References _musElementFactory.
Referenced by insertMusElementAt(), on_uiArticulationType_toggled(), on_uiBarlineType_toggled(), on_uiClefOffset_valueChanged(), on_uiClefType_toggled(), on_uiDynamicCustomText_returnPressed(), on_uiDynamicText_toggled(), on_uiDynamicVolume_valueChanged(), on_uiFermataType_toggled(), on_uiFinger_toggled(), on_uiFingeringOriginal_toggled(), on_uiFMChordArea_toggled(), on_uiFMEllipse_toggled(), on_uiFMFunction_toggled(), on_uiFMTonicDegree_toggled(), on_uiHiddenRest_toggled(), on_uiInsertFM_toggled(), on_uiInsertKeySig_toggled(), on_uiInsertPlayable_toggled(), on_uiInstrumentChange_activated(), on_uiKeySig_activated(), on_uiMarkType_toggled(), on_uiNoteStemDirection_toggled(), on_uiPlayableLength_toggled(), on_uiRepeatMarkType_toggled(), on_uiSlurType_toggled(), on_uiTempoBeat_toggled(), on_uiTempoBpm_returnPressed(), on_uiTimeSigBeat_valueChanged(), on_uiTimeSigBeats_valueChanged(), on_uiTimeSigType_toggled(), scoreViewPortKeyPress(), scoreViewPortMouseMove(), scoreViewPortMousePress(), setMode(), updateClefToolBar(), updateDynamicToolBar(), updateFermataToolBar(), updateFingeringToolBar(), updateFMToolBar(), updateInstrumentToolBar(), updateKeySigToolBar(), updatePlayableToolBar(), updateRepeatMarkToolBar(), updateTempoToolBar(), and updateTimeSigToolBar().

| bool CAMainWin::stopPlayback | ( | ) | [inline, private] |
Definition at line 306 of file mainwin.h.
References _playback, and CAPlayback::stopNow().
Referenced by newDocument(), on_uiCut_triggered(), on_uiImportDocument_triggered(), on_uiNewSheet_triggered(), on_uiRedo_toggled(), on_uiRemoveContext_triggered(), on_uiRemoveSheet_triggered(), on_uiRemoveVoice_triggered(), on_uiUndo_toggled(), openDocument(), and sourceViewPortCommit().

| void CAMainWin::createCustomActions | ( | ) | [private] |
Definition at line 192 of file mainwin.cpp.
References CAArticulation::Accent, CAMenuToolButton::addButton(), CAClef::Alto, CAClef::Baritone, CAClef::Bass, CAMark::BookMark, CAPlayable::Breve, CARepeatMark::Coda, CAMark::Crescendo, CADynamic::Custom, CAFunctionMarking::D, CARepeatMark::DalCoda, CARepeatMark::DalSegno, CARepeatMark::DalVarCoda, CABarline::Dotted, CABarline::Double, CAArticulation::DownBow, CAArticulation::DownMordent, CAArticulation::DownPrall, CAMark::Dynamic, CAPlayable::Eighth, CABarline::End, CAArticulation::Espressivo, CADynamic::f, CAFunctionMarking::F, CAMark::Fermata, CADynamic::ff, CADynamic::fff, CADynamic::ffff, CADynamic::fffff, CAFingering::Fifth, CAMark::Fingering, CAFingering::First, CAArticulation::Flageolet, CAFingering::Fourth, CADynamic::fp, CAClef::French, CAContext::FunctionMarkingContext, CAPlayable::Half, CAFunctionMarking::II, CAFunctionMarking::III, CAMark::InstrumentChange, CAFunctionMarking::IV, CAFunctionMarking::K, CAFunctionMarking::L, CAFingering::LHeel, CAArticulation::LinePrall, CAFermata::LongFermata, CAFingering::LToe, CAContext::LyricsContext, CAArticulation::Marcato, CAClef::Mezzosoprano, CADynamic::mf, CACanorus::midiDevice(), CAArticulation::Mordent, CADynamic::mp, CAFunctionMarking::N, CAFermata::NormalFermata, oldUiClefOffsetValue, CAArticulation::Open, CADynamic::p, CAMark::Pedal, CASlur::PhrasingSlurType, CAArticulation::Portato, CADynamic::pp, CADynamic::ppp, CADynamic::pppp, CADynamic::ppppp, CAArticulation::Prall, CAArticulation::PrallDown, CAArticulation::PrallMordent, CAArticulation::PrallPrall, CAArticulation::PrallUp, CAPlayable::Quarter, CAUndoToolButton::Redo, CAMark::RehersalMark, CABarline::RepeatClose, CABarline::RepeatCloseOpen, CAMark::RepeatMark, CABarline::RepeatOpen, CAArticulation::ReverseTurn, CADynamic::rfz, CAFingering::RHeel, CAMark::Ritardando, CAFingering::RToe, CAFunctionMarking::S, CAFingering::Second, CARepeatMark::Segno, CADynamic::sf, CADynamic::sff, CADynamic::sfz, CAFermata::ShortFermata, CABarline::Single, CAPlayable::Sixteenth, CAPlayable::SixtyFourth, CASlur::SlurType, CAClef::Soprano, CADynamic::sp, CADynamic::spp, CAArticulation::Staccatissimo, CAArticulation::Staccato, CAContext::Staff, CANote::StemDown, CANote::StemNeutral, CANote::StemPreferred, CANote::StemUp, CAArticulation::Stopped, CAClef::Subbass, CAFunctionMarking::T, CAMark::Tempo, CAClef::Tenor, CAArticulation::Tenuto, CAMark::Text, CAFingering::Third, CAPlayable::ThirtySecond, CAFingering::Thumb, CASlur::TieType, CAClef::Treble, CAArticulation::Trill, CAArticulation::Turn, uiArticulationType, uiAssociatedVoice, uiBarlineType, uiClefOffset, uiClefToolBar, uiClefType, uiContextName, uiContextToolBar, uiContextType, uiDynamicCustomText, uiDynamicText, uiDynamicToolBar, uiDynamicVolume, uiFermataToolBar, uiFermataType, uiFinger, uiFingeringOriginal, uiFingeringToolBar, uiFMChordArea, uiFMFunction, uiFMKeySig, uiFMTonicDegree, uiFMToolBar, uiInsertToolBar, uiInstrumentChange, uiInstrumentToolBar, uiKeySig, uiKeySigToolBar, uiMarkType, uiNoteStemDirection, uiPlayableLength, uiPlayableToolBar, uiRedo, uiRepeatMarkToolBar, uiRepeatMarkType, uiSheetName, uiSheetToolBar, uiSlurType, uiStanzaNumber, uiTempoBeat, uiTempoBpm, uiTempoEquals, uiTempoToolBar, uiTimeSigBeat, uiTimeSigBeats, uiTimeSigSlash, uiTimeSigToolBar, uiTimeSigType, uiUndo, uiVoiceInstrument, uiVoiceName, uiVoiceNum, uiVoiceStemDirection, uiVoiceToolBar, CAFunctionMarking::Undefined, CAUndoToolButton::Undo, CAArticulation::UpBow, CAArticulation::UpMordent, CAArticulation::UpPrall, CAFunctionMarking::V, CAClef::Varbaritone, CARepeatMark::VarCoda, CAFermata::VeryLongFermata, CAFunctionMarking::VI, CAFunctionMarking::VII, and CAPlayable::Whole.
Referenced by CAMainWin().


| void CAMainWin::setupCustomUi | ( | ) | [private] |
Creates more complex widgets and layouts that cannot be created using Qt Designer (like adding custom toolbars to main window, button boxes etc.).
Definition at line 563 of file mainwin.cpp.
References _musElementFactory, CAArticulation::Accent, CAMark::Dynamic, CABarline::End, CAToolButton::hide(), CADynamic::mf, on_uiKeySig_activated(), CAPlayable::Quarter, CAMenuToolButton::setCurrentId(), CAToolButton::setDefaultAction(), CAUndoToolButton::setDefaultAction(), CAContext::Staff, CANote::StemPreferred, CAFunctionMarking::T, CASlur::TieType, CAClef::Treble, uiArticulationType, uiAssociatedVoice, uiAssociatedVoiceAction, uiBarlineType, uiClefOffset, uiClefToolBar, uiClefType, uiContextName, uiContextToolBar, uiContextType, uiDynamicCustomText, uiDynamicText, uiDynamicToolBar, uiDynamicVolume, uiFermataToolBar, uiFermataType, uiFinger, uiFingeringOriginal, uiFingeringToolBar, uiFMChordArea, uiFMFunction, uiFMKeySig, uiFMTonicDegree, uiFMToolBar, uiInsertGroup, uiInsertToolBar, uiInstrumentChange, uiInstrumentToolBar, uiKeySig, uiKeySigToolBar, uiMarkType, uiNoteStemDirection, uiPlayableLength, uiPlayableToolBar, uiRedo, uiRepeatMarkToolBar, uiRepeatMarkType, uiSheetName, uiSheetToolBar, uiSlurType, uiStanzaNumber, uiStanzaNumberAction, uiTempoBeat, uiTempoBpm, uiTempoEquals, uiTempoToolBar, uiTimeSigBeat, uiTimeSigBeats, uiTimeSigSlash, uiTimeSigToolBar, uiTimeSigType, uiUndo, uiVoiceInstrument, uiVoiceName, uiVoiceNum, uiVoiceStemDirection, and uiVoiceToolBar.
Referenced by CAMainWin().


| void CAMainWin::initViewPort | ( | CAViewPort * | v | ) | [private] |
Links the newly created viewport with the main window:
Definition at line 963 of file mainwin.cpp.
References _viewPortList, CACanorus::locateResource(), mode(), onScoreViewPortSelectionChanged(), onTextEditKeyPressEvent(), CAViewPort::ScoreViewPort, scoreViewPortKeyPress(), scoreViewPortMouseMove(), scoreViewPortMousePress(), scoreViewPortMouseRelease(), scoreViewPortWheel(), setCurrentViewPort(), setMode(), CAViewPort::SourceViewPort, and sourceViewPortCommit().
Referenced by addSheet(), on_uiCanorusMLSource_triggered(), on_uiLilyPondSource_triggered(), on_uiNewViewport_triggered(), on_uiScoreView_triggered(), on_uiSplitHorizontally_triggered(), and on_uiSplitVertically_triggered().


| void CAMainWin::updateUndoRedoButtons | ( | ) | [private] |
Enables or Disabled undo/redo buttons if there are undo/redo commands on the undo stack.
Definition at line 1070 of file mainwin.cpp.
References document(), uiRedo, uiUndo, and CACanorus::undo().
Referenced by on_uiContextName_returnPressed(), on_uiSheetName_returnPressed(), and updateToolBars().


| void CAMainWin::updateToolBars | ( | ) | [private] |
Updates all the toolbars according to the current state of the main window.
Definition at line 3466 of file mainwin.cpp.
References document(), updateClefToolBar(), updateContextToolBar(), updateDynamicToolBar(), updateFermataToolBar(), updateFingeringToolBar(), updateFMToolBar(), updateInsertToolBar(), updateInstrumentToolBar(), updateKeySigToolBar(), updatePlayableToolBar(), updateRepeatMarkToolBar(), updateSheetToolBar(), updateTempoToolBar(), updateTimeSigToolBar(), updateUndoRedoButtons(), and updateVoiceToolBar().
Referenced by addSheet(), newDocument(), on_uiImportDocument_triggered(), on_uiTabWidget_currentChanged(), openDocument(), rebuildUI(), scoreViewPortKeyPress(), scoreViewPortMousePress(), and setMode().


| void CAMainWin::updateSheetToolBar | ( | ) | [private] |
Shows sheet tool bar if nothing selected. Otherwise hides it.
Definition at line 3494 of file mainwin.cpp.
References CAScoreViewPort::currentContext(), currentScoreViewPort(), CASheet::name(), CAScoreViewPort::selection(), CAScoreViewPort::sheet(), uiSheetName, and uiSheetToolBar.
Referenced by updateToolBars().


| void CAMainWin::updateContextToolBar | ( | ) | [private] |
Shows/Hides context tool bar according to the selected context (if any) and hides/shows specific actions in the toolbar for the current context.
Definition at line 3545 of file mainwin.cpp.
References CALyricsContext::associatedVoice(), CAContext::contextType(), currentContext(), currentSheet(), CAContext::FunctionMarkingContext, CAContext::LyricsContext, mode(), CAContext::name(), SelectMode, CAContext::Staff, CALyricsContext::stanzaNumber(), uiAssociatedVoice, uiAssociatedVoiceAction, uiContextName, uiContextToolBar, uiStanzaNumber, uiStanzaNumberAction, and CASheet::voiceList().
Referenced by updateToolBars().


| void CAMainWin::updateVoiceToolBar | ( | ) | [private] |
Shows/Hides the Voice properties tool bar according to the currently selected context and updates its properties.
Definition at line 3507 of file mainwin.cpp.
References CAContext::contextType(), currentContext(), currentVoice(), CALCDNumber::getRealValue(), mode(), CAVoice::name(), SelectMode, CAMenuToolButton::setCurrentId(), CALCDNumber::setMax(), CAContext::Staff, CAVoice::stemDirection(), uiVoiceInstrument, uiVoiceName, uiVoiceNum, uiVoiceStemDirection, uiVoiceToolBar, CAStaff::voiceAt(), and CAStaff::voiceCount().
Referenced by on_uiVoiceNum_valChanged(), and updateToolBars().


| void CAMainWin::updateInsertToolBar | ( | ) | [private] |
Shows/Hides music elements which cannot be placed in the selected context.
Definition at line 3584 of file mainwin.cpp.
References CAContext::contextType(), currentContext(), currentSheet(), EditMode, CAContext::FunctionMarkingContext, CAContext::LyricsContext, mode(), CAContext::Staff, uiArticulationType, uiBarlineType, uiClefType, uiInsertToolBar, uiMarkType, uiSlurType, and uiTimeSigType.
Referenced by updateToolBars().


| void CAMainWin::updatePlayableToolBar | ( | ) | [private] |
Show/Hides the playable tool bar and its properties according to the current state.
Definition at line 3686 of file mainwin.cpp.
References currentScoreViewPort(), EditMode, CARest::Hidden, InsertMode, mode(), musElementFactory(), CAMusElement::musElementType(), CAMusElement::Note, CAPlayable::playableLength(), CAMusElement::Rest, CARest::restType(), CAScoreViewPort::selection(), CAMenuToolButton::setCurrentId(), CALCDNumber::setRealValue(), CANote::stemDirection(), uiNoteStemDirection, uiPlayableLength, uiPlayableToolBar, uiVoiceNum, CAPlayable::voice(), and CAVoice::voiceNumber().
Referenced by updateToolBars().


| void CAMainWin::updateKeySigToolBar | ( | ) | [private] |
Shows/Hides the key signature properties tool bar according to the current state.
Definition at line 3746 of file mainwin.cpp.
References currentScoreViewPort(), EditMode, InsertMode, CAKeySignature::majorMinorGender(), CAKeySignature::Minor, mode(), musElementFactory(), CAKeySignature::numberOfAccidentals(), CAScoreViewPort::selection(), uiKeySig, and uiKeySigToolBar.
Referenced by updateToolBars().


| void CAMainWin::updateTimeSigToolBar | ( | ) | [private] |
Shows/Hides the time signature properties tool bar according to the current state.
Definition at line 3723 of file mainwin.cpp.
References CATimeSignature::beat(), CATimeSignature::beats(), currentScoreViewPort(), EditMode, InsertMode, mode(), musElementFactory(), CAScoreViewPort::selection(), uiTimeSigBeat, uiTimeSigBeats, uiTimeSigToolBar, and uiTimeSigType.
Referenced by updateToolBars().


| void CAMainWin::updateClefToolBar | ( | ) | [private] |
Shows/Hides the clef properties tool bar according to the current state.
Definition at line 3767 of file mainwin.cpp.
References currentScoreViewPort(), EditMode, InsertMode, mode(), musElementFactory(), CAClef::offset(), CAClef::offsetToReadable(), CAScoreViewPort::selection(), uiClefOffset, uiClefToolBar, and uiClefType.
Referenced by updateToolBars().


| void CAMainWin::updateFMToolBar | ( | ) | [private] |
Shows/Hides the function marking properties tool bar according to the current state.
Definition at line 3788 of file mainwin.cpp.
References CAFunctionMarking::chordArea(), currentScoreViewPort(), EditMode, CAFunctionMarking::function(), InsertMode, CAFunctionMarking::isChordAreaMinor(), CAFunctionMarking::isMinor(), CAFunctionMarking::isPartOfEllipse(), CAFunctionMarking::isTonicDegreeMinor(), CAFunctionMarking::key(), CAKeySignature::keySigAccsFromString(), CAKeySignature::keySigGenderFromString(), CAKeySignature::Minor, mode(), musElementFactory(), CAScoreViewPort::selection(), CAMenuToolButton::setCurrentId(), CAFunctionMarking::tonicDegree(), uiFMChordArea, uiFMFunction, uiFMKeySig, uiFMTonicDegree, and uiFMToolBar.
Referenced by updateToolBars().


| void CAMainWin::updateDynamicToolBar | ( | ) | [private] |
Shows/Hides the dynamic marks properties tool bar according to the current state.
Definition at line 3819 of file mainwin.cpp.
References CAToolButton::currentId(), currentScoreViewPort(), CAMark::Dynamic, CADynamic::dynamicTextFromString(), EditMode, InsertMode, mode(), musElementFactory(), CAScoreViewPort::selection(), CAMenuToolButton::setCurrentId(), CADynamic::text(), uiDynamicCustomText, uiDynamicText, uiDynamicToolBar, uiDynamicVolume, uiMarkType, and CADynamic::volume().
Referenced by updateToolBars().


| void CAMainWin::updateInstrumentToolBar | ( | ) | [private] |
Shows/Hides the instrument marks properties tool bar according to the current state.
Definition at line 3938 of file mainwin.cpp.
References CAToolButton::currentId(), currentScoreViewPort(), EditMode, InsertMode, CAInstrumentChange::instrument(), CAMark::InstrumentChange, mode(), musElementFactory(), CAScoreViewPort::selection(), uiInstrumentChange, uiInstrumentToolBar, and uiMarkType.
Referenced by updateToolBars().


| void CAMainWin::updateTempoToolBar | ( | ) | [private] |
Shows/Hides the tempo marks properties tool bar according to the current state.
Definition at line 3915 of file mainwin.cpp.
References CATempo::beat(), CATempo::beatDotted(), CATempo::bpm(), CAToolButton::currentId(), currentScoreViewPort(), EditMode, InsertMode, mode(), musElementFactory(), CAScoreViewPort::selection(), CAMenuToolButton::setCurrentId(), CAMark::Tempo, uiMarkType, uiTempoBeat, uiTempoBpm, and uiTempoToolBar.
Referenced by updateToolBars().


| void CAMainWin::updateFermataToolBar | ( | ) | [private] |
Shows/Hides the fermata properties tool bar according to the current state.
Definition at line 3844 of file mainwin.cpp.
References CAToolButton::currentId(), currentScoreViewPort(), EditMode, CAMark::Fermata, CAFermata::fermataType(), InsertMode, mode(), musElementFactory(), CAScoreViewPort::selection(), CAMenuToolButton::setCurrentId(), uiFermataToolBar, uiFermataType, and uiMarkType.
Referenced by updateToolBars().


| void CAMainWin::updateRepeatMarkToolBar | ( | ) | [private] |
Shows/Hides the repeat mark properties tool bar according to the current state.
Definition at line 3865 of file mainwin.cpp.
References CAToolButton::currentId(), currentScoreViewPort(), EditMode, InsertMode, mode(), musElementFactory(), CAMark::RepeatMark, CARepeatMark::repeatMarkType(), CAMusElementFactory::repeatMarkType(), CAScoreViewPort::selection(), CAMenuToolButton::setCurrentId(), uiMarkType, uiRepeatMarkToolBar, uiRepeatMarkType, CARepeatMark::Volta, and CARepeatMark::voltaNumber().
Referenced by updateToolBars().


| void CAMainWin::updateFingeringToolBar | ( | ) | [private] |
Shows/Hides the fingering properties tool bar according to the current state.
Definition at line 3892 of file mainwin.cpp.
References CAToolButton::currentId(), currentScoreViewPort(), EditMode, CAFingering::finger(), CAMark::Fingering, InsertMode, CAFingering::isOriginal(), mode(), musElementFactory(), CAScoreViewPort::selection(), CAMenuToolButton::setCurrentId(), uiFinger, uiFingeringOriginal, uiFingeringToolBar, and uiMarkType.
Referenced by updateToolBars().


QFileDialog * CAMainWin::uiSaveDialog = 0 [static] |
Definition at line 113 of file mainwin.h.
Referenced by CASettingsDialog::applySettings(), CACanorus::cleanUp(), CACanorus::initCommonGUI(), on_uiSaveDocumentAs_triggered(), saveDocument(), and CASettingsDialog::setupPages().
QFileDialog * CAMainWin::uiOpenDialog = 0 [static] |
Definition at line 114 of file mainwin.h.
Referenced by CASettingsDialog::applySettings(), CACanorus::cleanUp(), CACanorus::initCommonGUI(), and on_uiOpenDocument_triggered().
QFileDialog * CAMainWin::uiExportDialog = 0 [static] |
Definition at line 115 of file mainwin.h.
Referenced by CASettingsDialog::applySettings(), CACanorus::cleanUp(), exportDialog(), CACanorus::initCommonGUI(), and on_uiExportDocument_triggered().
QFileDialog * CAMainWin::uiImportDialog = 0 [static] |
Definition at line 116 of file mainwin.h.
Referenced by CASettingsDialog::applySettings(), CACanorus::cleanUp(), importDialog(), CACanorus::initCommonGUI(), and on_uiImportDocument_triggered().
CADocument * CAMainWin::_document [private] |
Pointer to the main window's document it represents. Null if no document opened.
Definition at line 279 of file mainwin.h.
Referenced by document(), and setDocument().
CAMode CAMainWin::_mode [private] |
Definition at line 287 of file mainwin.h.
Referenced by currentViewPortContainer(), and setCurrentViewPortContainer().
QList<CAViewPortContainer *> CAMainWin::_viewPortContainerList [private] |
QList< CAViewPort * > CAMainWin::_viewPortList [private] |
List of all available viewports for any sheet in this main window.
Definition at line 290 of file mainwin.h.
Referenced by clearUI(), initViewPort(), rebuildUI(), removeViewPort(), setMode(), sourceViewPortCommit(), and viewPortList().
QHash<CAViewPortContainer*, CASheet*> CAMainWin::_sheetMap [private] |
Definition at line 291 of file mainwin.h.
Referenced by addSheet(), clearUI(), on_uiScoreView_triggered(), and removeSheet().
CAViewPort* CAMainWin::_currentViewPort [private] |
Definition at line 292 of file mainwin.h.
Referenced by currentViewPort(), on_uiZoomToFit_triggered(), on_uiZoomToHeight_triggered(), on_uiZoomToSelection_triggered(), on_uiZoomToWidth_triggered(), and setCurrentViewPort().
bool CAMainWin::_animatedScroll [private] |
Definition at line 293 of file mainwin.h.
Referenced by CAMainWin(), on_uiAnimatedScroll_toggled(), on_uiZoomToSelection_triggered(), and scoreViewPortWheel().
bool CAMainWin::_lockScrollPlayback [private] |
Definition at line 294 of file mainwin.h.
Referenced by CAMainWin(), and on_uiLockScrollPlayback_toggled().
CAViewPort * CAMainWin::_playbackViewPort [private] |
Viewport needed to be updated when playback is active.
Definition at line 295 of file mainwin.h.
Referenced by on_uiPlayFromSelection_toggled(), onRepaintTimerTimeout(), and playbackFinished().
QList<CADrawableMusElement*> CAMainWin::_prePlaybackSelection [private] |
Definition at line 296 of file mainwin.h.
Referenced by on_uiPlayFromSelection_toggled(), and playbackFinished().
QTimer* CAMainWin::_repaintTimer [private] |
Definition at line 297 of file mainwin.h.
Referenced by on_uiPlayFromSelection_toggled(), and playbackFinished().
bool CAMainWin::_rebuildUILock [private] |
Lock to avoid recursive rebuilds of the GUI viewports.
Definition at line 298 of file mainwin.h.
Referenced by rebuildUILock(), and setRebuildUILock().
CAPlayback* CAMainWin::_playback [private] |
Definition at line 301 of file mainwin.h.
Referenced by CAMainWin(), on_uiPlayFromSelection_toggled(), onRepaintTimerTimeout(), playbackFinished(), stopPlayback(), and ~CAMainWin().
QTimer CAMainWin::_timeEditedTimer [private] |
unsigned int CAMainWin::_timeEditedTime [private] |
Definition at line 303 of file mainwin.h.
Referenced by onTimeEditedTimerTimeout(), restartTimeEditedTime(), and saveDocument().
CAMusElementFactory* CAMainWin::_musElementFactory [private] |
Definition at line 304 of file mainwin.h.
Referenced by musElementFactory(), setupCustomUi(), and ~CAMainWin().
CAUndoToolButton* CAMainWin::uiUndo [private] |
Definition at line 340 of file mainwin.h.
Referenced by createCustomActions(), setupCustomUi(), and updateUndoRedoButtons().
CAUndoToolButton* CAMainWin::uiRedo [private] |
Definition at line 341 of file mainwin.h.
Referenced by createCustomActions(), setupCustomUi(), and updateUndoRedoButtons().
QToolBar* CAMainWin::uiInsertToolBar [private] |
Definition at line 344 of file mainwin.h.
Referenced by createCustomActions(), setupCustomUi(), updateInsertToolBar(), and ~CAMainWin().
QActionGroup* CAMainWin::uiInsertGroup [private] |
CAMenuToolButton* CAMainWin::uiContextType [private] |
Definition at line 348 of file mainwin.h.
Referenced by createCustomActions(), scoreViewPortMousePress(), and setupCustomUi().
CAMenuToolButton* CAMainWin::uiClefType [private] |
Definition at line 351 of file mainwin.h.
Referenced by createCustomActions(), setupCustomUi(), updateClefToolBar(), and updateInsertToolBar().
CAMenuToolButton* CAMainWin::uiTimeSigType [private] |
Definition at line 353 of file mainwin.h.
Referenced by createCustomActions(), on_uiTimeSigBeat_valueChanged(), on_uiTimeSigBeats_valueChanged(), setupCustomUi(), updateInsertToolBar(), and updateTimeSigToolBar().
CAMenuToolButton* CAMainWin::uiBarlineType [private] |
Definition at line 354 of file mainwin.h.
Referenced by createCustomActions(), setupCustomUi(), and updateInsertToolBar().
CAMenuToolButton* CAMainWin::uiMarkType [private] |
Definition at line 355 of file mainwin.h.
Referenced by createCustomActions(), scoreViewPortMousePress(), setupCustomUi(), updateDynamicToolBar(), updateFermataToolBar(), updateFingeringToolBar(), updateInsertToolBar(), updateInstrumentToolBar(), updateRepeatMarkToolBar(), and updateTempoToolBar().
CAMenuToolButton* CAMainWin::uiArticulationType [private] |
Definition at line 356 of file mainwin.h.
Referenced by createCustomActions(), setupCustomUi(), and updateInsertToolBar().
QToolBar* CAMainWin::uiSheetToolBar [private] |
Definition at line 360 of file mainwin.h.
Referenced by createCustomActions(), setupCustomUi(), and updateSheetToolBar().
QLineEdit* CAMainWin::uiSheetName [private] |
Definition at line 362 of file mainwin.h.
Referenced by createCustomActions(), on_uiSheetName_returnPressed(), setupCustomUi(), and updateSheetToolBar().
QToolBar* CAMainWin::uiContextToolBar [private] |
Definition at line 366 of file mainwin.h.
Referenced by createCustomActions(), setupCustomUi(), and updateContextToolBar().
QLineEdit* CAMainWin::uiContextName [private] |
Definition at line 368 of file mainwin.h.
Referenced by createCustomActions(), on_uiContextName_returnPressed(), setupCustomUi(), and updateContextToolBar().
QSpinBox* CAMainWin::uiStanzaNumber [private] |
Definition at line 373 of file mainwin.h.
Referenced by createCustomActions(), setupCustomUi(), and updateContextToolBar().
QAction* CAMainWin::uiStanzaNumberAction [private] |
Definition at line 374 of file mainwin.h.
Referenced by setupCustomUi(), and updateContextToolBar().
QComboBox* CAMainWin::uiAssociatedVoice [private] |
Definition at line 375 of file mainwin.h.
Referenced by createCustomActions(), setupCustomUi(), and updateContextToolBar().
QAction* CAMainWin::uiAssociatedVoiceAction [private] |
Definition at line 376 of file mainwin.h.
Referenced by setupCustomUi(), and updateContextToolBar().
QToolBar* CAMainWin::uiVoiceToolBar [private] |
Definition at line 379 of file mainwin.h.
Referenced by createCustomActions(), setupCustomUi(), updateVoiceToolBar(), and ~CAMainWin().
CALCDNumber* CAMainWin::uiVoiceNum [private] |
Definition at line 381 of file mainwin.h.
Referenced by createCustomActions(), currentVoice(), on_uiInsertPlayable_toggled(), on_uiLilyPondSource_triggered(), on_uiNewVoice_triggered(), on_uiRedo_toggled(), on_uiRemoveVoice_triggered(), on_uiUndo_toggled(), pasteAt(), scoreViewPortKeyPress(), scoreViewPortMousePress(), setMode(), setupCustomUi(), updatePlayableToolBar(), and updateVoiceToolBar().
QLineEdit* CAMainWin::uiVoiceName [private] |
Definition at line 382 of file mainwin.h.
Referenced by createCustomActions(), on_uiVoiceName_returnPressed(), setupCustomUi(), and updateVoiceToolBar().
QComboBox* CAMainWin::uiVoiceInstrument [private] |
Definition at line 383 of file mainwin.h.
Referenced by createCustomActions(), setupCustomUi(), and updateVoiceToolBar().
CAMenuToolButton* CAMainWin::uiVoiceStemDirection [private] |
Definition at line 385 of file mainwin.h.
Referenced by createCustomActions(), setupCustomUi(), and updateVoiceToolBar().
QToolBar* CAMainWin::uiPlayableToolBar [private] |
Definition at line 388 of file mainwin.h.
Referenced by createCustomActions(), setupCustomUi(), updatePlayableToolBar(), and ~CAMainWin().
CAMenuToolButton* CAMainWin::uiPlayableLength [private] |
Definition at line 390 of file mainwin.h.
Referenced by createCustomActions(), scoreViewPortKeyPress(), setupCustomUi(), and updatePlayableToolBar().
CAMenuToolButton* CAMainWin::uiNoteAccs [private] |
CAMenuToolButton* CAMainWin::uiSlurType [private] |
Definition at line 392 of file mainwin.h.
Referenced by createCustomActions(), setupCustomUi(), and updateInsertToolBar().
CAMenuToolButton* CAMainWin::uiNoteStemDirection [private] |
Definition at line 394 of file mainwin.h.
Referenced by createCustomActions(), setupCustomUi(), and updatePlayableToolBar().
QToolBar* CAMainWin::uiKeySigToolBar [private] |
Definition at line 400 of file mainwin.h.
Referenced by createCustomActions(), setupCustomUi(), updateKeySigToolBar(), and ~CAMainWin().
QComboBox* CAMainWin::uiKeySig [private] |
Definition at line 402 of file mainwin.h.
Referenced by createCustomActions(), setupCustomUi(), and updateKeySigToolBar().
QToolBar* CAMainWin::uiClefToolBar [private] |
Definition at line 405 of file mainwin.h.
Referenced by createCustomActions(), setupCustomUi(), updateClefToolBar(), and ~CAMainWin().
QSpinBox* CAMainWin::uiClefOffset [private] |
Definition at line 406 of file mainwin.h.
Referenced by createCustomActions(), on_uiClefOffset_valueChanged(), setupCustomUi(), and updateClefToolBar().
int CAMainWin::oldUiClefOffsetValue [private] |
Definition at line 407 of file mainwin.h.
Referenced by createCustomActions(), and on_uiClefOffset_valueChanged().
QToolBar* CAMainWin::uiTimeSigToolBar [private] |
Definition at line 409 of file mainwin.h.
Referenced by createCustomActions(), setupCustomUi(), updateTimeSigToolBar(), and ~CAMainWin().
QSpinBox* CAMainWin::uiTimeSigBeats [private] |
Definition at line 410 of file mainwin.h.
Referenced by createCustomActions(), on_uiTimeSigBeat_valueChanged(), on_uiTimeSigBeats_valueChanged(), on_uiTimeSigType_toggled(), setupCustomUi(), and updateTimeSigToolBar().
QLabel* CAMainWin::uiTimeSigSlash [private] |
QSpinBox* CAMainWin::uiTimeSigBeat [private] |
Definition at line 412 of file mainwin.h.
Referenced by createCustomActions(), on_uiTimeSigBeat_valueChanged(), on_uiTimeSigBeats_valueChanged(), on_uiTimeSigType_toggled(), setupCustomUi(), and updateTimeSigToolBar().
QToolBar* CAMainWin::uiFMToolBar [private] |
Definition at line 415 of file mainwin.h.
Referenced by createCustomActions(), setupCustomUi(), updateFMToolBar(), and ~CAMainWin().
CAMenuToolButton* CAMainWin::uiFMFunction [private] |
Definition at line 416 of file mainwin.h.
Referenced by createCustomActions(), setupCustomUi(), and updateFMToolBar().
CAMenuToolButton* CAMainWin::uiFMChordArea [private] |
Definition at line 417 of file mainwin.h.
Referenced by createCustomActions(), setupCustomUi(), and updateFMToolBar().
CAMenuToolButton* CAMainWin::uiFMTonicDegree [private] |
Definition at line 418 of file mainwin.h.
Referenced by createCustomActions(), setupCustomUi(), and updateFMToolBar().
QComboBox* CAMainWin::uiFMKeySig [private] |
Definition at line 419 of file mainwin.h.
Referenced by createCustomActions(), setupCustomUi(), and updateFMToolBar().
QToolBar* CAMainWin::uiDynamicToolBar [private] |
Definition at line 425 of file mainwin.h.
Referenced by createCustomActions(), setupCustomUi(), updateDynamicToolBar(), and ~CAMainWin().
CAMenuToolButton* CAMainWin::uiDynamicText [private] |
Definition at line 426 of file mainwin.h.
Referenced by createCustomActions(), on_uiDynamicCustomText_returnPressed(), setupCustomUi(), and updateDynamicToolBar().
QSpinBox* CAMainWin::uiDynamicVolume [private] |
Definition at line 427 of file mainwin.h.
Referenced by createCustomActions(), setupCustomUi(), and updateDynamicToolBar().
QLineEdit* CAMainWin::uiDynamicCustomText [private] |
Definition at line 428 of file mainwin.h.
Referenced by createCustomActions(), on_uiDynamicCustomText_returnPressed(), on_uiDynamicText_toggled(), setupCustomUi(), and updateDynamicToolBar().
QToolBar* CAMainWin::uiInstrumentToolBar [private] |
Definition at line 429 of file mainwin.h.
Referenced by createCustomActions(), setupCustomUi(), updateInstrumentToolBar(), and ~CAMainWin().
QComboBox* CAMainWin::uiInstrumentChange [private] |
Definition at line 430 of file mainwin.h.
Referenced by createCustomActions(), setupCustomUi(), and updateInstrumentToolBar().
QToolBar* CAMainWin::uiTempoToolBar [private] |
Definition at line 431 of file mainwin.h.
Referenced by createCustomActions(), setupCustomUi(), updateTempoToolBar(), and ~CAMainWin().
CAMenuToolButton* CAMainWin::uiTempoBeat [private] |
Definition at line 432 of file mainwin.h.
Referenced by createCustomActions(), setupCustomUi(), and updateTempoToolBar().
QLabel* CAMainWin::uiTempoEquals [private] |
QLineEdit* CAMainWin::uiTempoBpm [private] |
Definition at line 434 of file mainwin.h.
Referenced by createCustomActions(), on_uiTempoBpm_returnPressed(), setupCustomUi(), and updateTempoToolBar().
QToolBar* CAMainWin::uiFermataToolBar [private] |
Definition at line 435 of file mainwin.h.
Referenced by createCustomActions(), setupCustomUi(), updateFermataToolBar(), and ~CAMainWin().
CAMenuToolButton* CAMainWin::uiFermataType [private] |
Definition at line 436 of file mainwin.h.
Referenced by createCustomActions(), setupCustomUi(), and updateFermataToolBar().
QToolBar* CAMainWin::uiRepeatMarkToolBar [private] |
Definition at line 437 of file mainwin.h.
Referenced by createCustomActions(), setupCustomUi(), updateRepeatMarkToolBar(), and ~CAMainWin().
CAMenuToolButton* CAMainWin::uiRepeatMarkType [private] |
Definition at line 438 of file mainwin.h.
Referenced by createCustomActions(), setupCustomUi(), and updateRepeatMarkToolBar().
QToolBar* CAMainWin::uiFingeringToolBar [private] |
Definition at line 439 of file mainwin.h.
Referenced by createCustomActions(), setupCustomUi(), and updateFingeringToolBar().
CAMenuToolButton* CAMainWin::uiFinger [private] |
Definition at line 440 of file mainwin.h.
Referenced by createCustomActions(), setupCustomUi(), and updateFingeringToolBar().
QCheckBox* CAMainWin::uiFingeringOriginal [private] |
Definition at line 441 of file mainwin.h.
Referenced by createCustomActions(), setupCustomUi(), and updateFingeringToolBar().
1.5.3