|
Canorus
0.7
|
Canorus main window Class CAMainWin represents Canorus main window. The core layout is generated using the Qt designer's ui/mainwin.ui file. Other widgets (specific toolbars, viewports, plugin menus) are generated manually in-code. More...
#include <plugins_swig.h>

Public Types | |
| enum | CAMode { NoDocumentMode, InsertMode, SelectMode, EditMode, ReadOnlyMode } |
Public Slots | |
| void | on_uiUsersGuide_triggered () |
Public Attributes | |
| CAPyConsoleInterface * | pyConsoleIface |
| CAPyConsole * | pyConsole |
| CAMenuToolButton * | uiTupletType |
| QSpinBox * | uiTupletNumber |
| QSpinBox * | uiTupletActualNumber |
Static Public Attributes | |
| static QFileDialog * | uiSaveDialog = 0 |
| static QFileDialog * | uiOpenDialog = 0 |
| static QFileDialog * | uiExportDialog = 0 |
| static QFileDialog * | uiImportDialog = 0 |
Private Member Functions | |
| void | playImmediately (QList< CAMusElement * > elements) |
| void | setMode (CAMode mode) |
| void | setCurrentViewPort (CAViewPort *viewPort) |
| void | setCurrentViewPortContainer (CAViewPortContainer *vpc) |
| void | setRebuildUILock (bool l) |
| bool | stopPlayback () |
| bool | handleUnsavedChanges () |
| void | createCustomActions () |
| void | setupCustomUi () |
| void | initViewPort (CAViewPort *) |
| void | updateUndoRedoButtons () |
| void | updateToolBars () |
| void | updateSheetToolBar () |
| void | updateContextToolBar () |
| void | updateVoiceToolBar () |
| void | updateInsertToolBar () |
| void | updatePlayableToolBar () |
| void | updateKeySigToolBar () |
| void | updateTimeSigToolBar () |
| void | updateClefToolBar () |
| void | updateFMToolBar () |
| void | updateDynamicToolBar () |
| void | updateInstrumentToolBar () |
| void | updateTempoToolBar () |
| void | updateFermataToolBar () |
| void | updateRepeatMarkToolBar () |
| void | updateFingeringToolBar () |
Canorus main window Class CAMainWin represents Canorus main window. The core layout is generated using the Qt designer's ui/mainwin.ui file. Other widgets (specific toolbars, viewports, plugin menus) are generated manually in-code.
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.
| enum CAMainWin::CAMode |
|
inline |
References pyConsoleIface.
Referenced by on_uiNewWindow_triggered().

| CAMainWin::CAMainWin | ( | QMainWindow * | oParent = 0 | ) |
Default constructor. Creates Canorus main window with parent oParent. Parent is usually null.
References _animatedScroll, _keybdInput, _lockScrollPlayback, _midiRecorderView, _mode, _playback, _playbackViewPort, _poExp, _repaintTimer, _resourceView, _timeEditedTimer, _transposeView, CACanorus::addMainWin(), createCustomActions(), CAPluginManager::enablePlugins(), CACanorus::midiDevice(), onMidiInEvent(), onTimeEditedTimerTimeout(), restartTimeEditedTime(), SelectMode, setDocument(), setRebuildUILock(), setupCustomUi(), and Ui_uiMainWindow::setupUi().

| CAMainWin::~CAMainWin | ( | ) |
References _midiRecorderView, _musElementFactory, _playback, _poExp, _poPrintCtl, _poPrintPreviewCtl, _resourceView, _transposeView, 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::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.
References _sheetMap, _viewPortContainerList, CAViewPortContainer::addViewPort(), initViewPort(), CASheet::name(), setCurrentViewPortContainer(), Ui_uiMainWindow::uiTabWidget, and updateToolBars().
Referenced by rebuildUI().


| 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.
First call clearUI() and then delete model when clearing the document, because cleraUI() still needs the model alive.
References _midiRecorderView, _sheetMap, _viewPortList, setCurrentViewPort(), Ui_uiMainWindow::uiSelectMode, and Ui_uiMainWindow::uiTabWidget.
Referenced by closeEvent(), newDocument(), openDocument(), rebuildUI(), and sourceViewPortCommit().


|
privateslot |
| void CAMainWin::copySelection | ( | CAScoreViewPort * | v | ) |
Backend for Edit->Copy.
References CALyricsContext::addSyllable(), CAStaff::addVoice(), CAVoice::append(), CALyricsContext::associatedVoice(), CATuplet::clone(), CAPlayable::clone(), CAMusElement::clone(), CASlur::clone(), CAMusElement::context(), CASheet::contextCount(), CASheet::contextList(), CAContext::contextType(), currentSheet(), CAMusElement::isPlayable(), CAContext::LyricsContext, CAMusElement::Mark, CADrawableMusElement::musElement(), CAMusElement::musElementType(), CAMusElement::Note, CATuplet::noteList(), CAStaff::numberOfLines(), CANote::phrasingSlurEnd(), CANote::phrasingSlurStart(), CASlur::PhrasingSlurType, CAScoreViewPort::selection(), CANote::setPhrasingSlurStart(), CANote::setSlurStart(), CANote::setTieStart(), CAScoreViewPort::sheet(), CAMusElement::Slur, CANote::slurEnd(), CANote::slurStart(), CASlur::SlurType, CASlur::slurType(), CAContext::Staff, CANote::tieEnd(), CANote::tieStart(), CASlur::TieType, CAMusElement::timeStart(), CAPlayable::tuplet(), CAMusElement::Tuplet, CAPlayable::voice(), CAStaff::voiceCount(), and CAStaff::voiceIndex().
Referenced by on_uiCopy_triggered(), and on_uiCut_triggered().


|
private |
References CAArticulation::Accent, CAMenuToolButton::addButton(), CAClef::Alto, CAClef::Baritone, CAClef::Bass, CAMark::BookMark, CAPlayableLength::Breve, CARepeatMark::Coda, CAMark::Crescendo, CADynamic::Custom, CAFunctionMark::D, CARepeatMark::DalCoda, CARepeatMark::DalSegno, CARepeatMark::DalVarCoda, document(), CABarline::Dotted, CABarline::Double, CAArticulation::DownBow, CAArticulation::DownMordent, CAArticulation::DownPrall, CAMark::Dynamic, CAPlayableLength::Eighth, CABarline::End, CAArticulation::Espressivo, CADynamic::f, CAFunctionMark::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::FunctionMarkContext, CAPlayableLength::Half, CAPlayableLength::HundredTwentyEighth, CAFunctionMark::II, CAFunctionMark::III, CAMark::InstrumentChange, CAFunctionMark::IV, CAFunctionMark::K, CAFunctionMark::L, CAFingering::LHeel, CAArticulation::LinePrall, CAFermata::LongFermata, CAFingering::LToe, CAContext::LyricsContext, CAArticulation::Marcato, CAClef::Mezzosoprano, CADynamic::mf, CACanorus::midiDevice(), CAArticulation::Mordent, CADynamic::mp, CAFunctionMark::N, CAFermata::NormalFermata, oldUiClefOffsetValue, CAArticulation::Open, CADynamic::p, CAMark::Pedal, CASlur::PhrasingSlurType, CADrawableKeySignature::populateComboBox(), CAArticulation::Portato, CADynamic::pp, CADynamic::ppp, CADynamic::pppp, CADynamic::ppppp, CAArticulation::Prall, CAArticulation::PrallDown, CAArticulation::PrallMordent, CAArticulation::PrallPrall, CAArticulation::PrallUp, pyConsole, pyConsoleIface, CAPlayableLength::Quarter, CAUndoToolButton::Redo, CAMark::RehersalMark, CABarline::RepeatClose, CABarline::RepeatCloseOpen, CAMark::RepeatMark, CABarline::RepeatOpen, CAArticulation::ReverseTurn, CADynamic::rfz, CAFingering::RHeel, CAMark::Ritardando, CAFingering::RToe, CAFunctionMark::S, CAFingering::Second, CARepeatMark::Segno, CADynamic::sf, CADynamic::sff, CADynamic::sfz, CAFermata::ShortFermata, CABarline::Single, CAPlayableLength::Sixteenth, CAPlayableLength::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, CAFunctionMark::T, CAMark::Tempo, CAClef::Tenor, CAArticulation::Tenuto, CAMark::Text, CAFingering::Third, CAPlayableLength::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, uiHelpDock, uiHelpWidget, uiInsertToolBar, uiInstrumentChange, uiInstrumentToolBar, uiKeySig, uiKeySigToolBar, uiMarkType, uiNoteStemDirection, uiPlayableLength, uiPlayableToolBar, uiPyConsoleDock, uiRedo, uiRepeatMarkToolBar, uiRepeatMarkType, uiSheetName, uiSheetToolBar, uiSlurType, uiStanzaNumber, uiTempoBeat, uiTempoBpm, uiTempoEquals, uiTempoToolBar, uiTimeSigBeat, uiTimeSigBeats, uiTimeSigSlash, uiTimeSigToolBar, uiTimeSigType, uiTupletActualNumber, uiTupletInsteadOf, uiTupletNumber, uiTupletType, uiUndo, uiVoiceInstrument, uiVoiceName, uiVoiceNum, uiVoiceStemDirection, uiVoiceToolBar, CAFunctionMark::Undefined, CAUndoToolButton::Undo, CAArticulation::UpBow, CAArticulation::UpMordent, CAArticulation::UpPrall, CAFunctionMark::V, CAClef::Varbaritone, CARepeatMark::VarCoda, CAFermata::VeryLongFermata, CAFunctionMark::VI, CAFunctionMark::VII, and CAPlayableLength::Whole.
Referenced by CAMainWin().


| CAContext * CAMainWin::currentContext | ( | ) |
Returns the currently selected context in the current view port or 0 if no contexts are selected.
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(), pasteAt(), updateContextToolBar(), updateInsertToolBar(), and updateVoiceToolBar().


|
inline |
References currentViewPort().
Referenced by CAPlugin::callAction(), currentSheet(), insertMusElementAt(), CAKeybdInput::midiInEventToScore(), 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_uiTupletType_toggled(), on_uiVoiceNum_valChanged(), CAKeybdInput::onMidiInEvent(), onTextEditKeyPressEvent(), openDocument(), pasteAt(), scoreViewPortKeyPress(), scoreViewPortMousePress(), setMode(), updateClefToolBar(), updateDynamicToolBar(), updateFermataToolBar(), updateFingeringToolBar(), updateFMToolBar(), updateInstrumentToolBar(), updateKeySigToolBar(), updatePlayableToolBar(), updateRepeatMarkToolBar(), updateSheetToolBar(), updateTempoToolBar(), and updateTimeSigToolBar().

|
inline |
Referenced by CAPlugin::callAction(), copySelection(), insertMusElementAt(), CAKeybdInput::midiInEventToScore(), on_uiAssociatedVoice_activated(), on_uiClefOffset_valueChanged(), on_uiContextName_returnPressed(), 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_uiMidiRecorder_triggered(), 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_uiTupletType_toggled(), on_uiVoiceInstrument_activated(), on_uiVoiceName_returnPressed(), on_uiVoiceStemDirection_toggled(), onTextEditKeyPressEvent(), pasteAt(), scoreViewPortKeyPress(), updateContextToolBar(), and updateInsertToolBar().

|
inline |
References currentScoreViewPort(), and CAScoreViewPort::sheet().

|
inline |
References CAContext::contextType(), currentContext(), and CAContext::Staff.
Referenced by currentVoice(), on_uiLilyPondSource_triggered(), and on_uiNewVoice_triggered().


|
inline |
References _currentViewPort.
Referenced by currentContext(), currentScoreViewPort(), floatViewPortClosed(), on_uiCloseCurrentView_triggered(), on_uiInvertSelection_triggered(), on_uiNewViewport_triggered(), on_uiPlayFromSelection_toggled(), on_uiSelectAll_triggered(), on_uiTabWidget_currentChanged(), on_uiUnsplitAll_triggered(), removeSheet(), setMode(), and viewPortClicked().

|
inline |
References _currentViewPortContainer.
Referenced by floatViewPortClosed(), 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 viewPortClicked().

| 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.
References currentStaff(), CALCDNumber::getRealValue(), uiVoiceNum, CAStaff::voiceAt(), and CAStaff::voiceCount().
Referenced by insertMusElementAt(), CAKeybdInput::midiInEventToScore(), on_uiRemoveVoice_triggered(), on_uiVoiceInstrument_activated(), on_uiVoiceName_returnPressed(), on_uiVoiceProperties_triggered(), on_uiVoiceStemDirection_toggled(), scoreViewPortKeyPress(), and updateVoiceToolBar().


| 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.
References _playback, CATuplet::addNote(), CATuplet::assignTimes(), CASyllable::clear(), CAFunctionMark::clear(), CAScoreViewPort::clearSelection(), CARest::composeRests(), CAUndo::createUndoCommand(), CAPlayback::curPlaying(), document(), CAMusElement::FunctionMark, CAStaff::getChord(), CAVoice::insert(), CAVoice::lyricsContextList(), CAMusElement::Mark, CAMusElement::musElementType(), CAVoice::next(), CAVoice::nextPlayable(), CARest::Normal, CAPlayable::playableLength(), CAPlayableLength::playableLengthToTimeLength(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CALyricsContext::remove(), CAFunctionMarkContext::remove(), CAVoice::remove(), CATuplet::removeNote(), CAFunctionMarkContext::repositFunctions(), CALyricsContext::repositSyllables(), CAMusElement::Rest, CAScoreViewPort::selection(), CAPlayable::setTuplet(), CAScoreViewPort::sheet(), CAMusElement::Slur, CAPlayable::staff(), CAPlayback::stopNow(), CAMusElement::Syllable, CAMusElement::timeEnd(), CAMusElement::timeLength(), CAMusElement::timeStart(), CAPlayable::tuplet(), CAMusElement::Tuplet, CACanorus::undo(), and CAPlayable::voice().
Referenced by on_uiCut_triggered(), and scoreViewPortKeyPress().


|
inline |
References _document.
Referenced by createCustomActions(), deleteSelection(), CACanorus::findMainWin(), handleUnsavedChanges(), insertMusElementAt(), CAKeybdInput::midiInEventToScore(), 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_uiMidiRecorder_triggered(), on_uiNewSheet_triggered(), on_uiNewVoice_triggered(), on_uiNewWindow_triggered(), on_uiNoteStemDirection_toggled(), on_uiPlayableLength_toggled(), CAPreviewCtl::on_uiPrintPreview_triggered(), 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_uiTranspose_triggered(), on_uiTupletType_toggled(), on_uiUndo_toggled(), on_uiVoiceInstrument_activated(), on_uiVoiceName_returnPressed(), on_uiVoiceStemDirection_toggled(), onScoreViewPortSelectionChanged(), onTextEditKeyPressEvent(), openDocument(), pasteAt(), CAPrintCtl::printDocument(), CACanorus::rebuildUI(), rebuildUI(), CACanorus::restartTimeEditedTimes(), saveDocument(), CAAutoRecovery::saveRecovery(), scoreViewPortKeyPress(), scoreViewPortMousePress(), scoreViewPortMouseRelease(), setDocument(), sourceViewPortCommit(), updateToolBars(), updateUndoRedoButtons(), updateWindowTitle(), and ~CAMainWin().
|
inline |
References uiExportDialog.
Referenced by CAPluginManager::endElement().

|
privateslot |
Called when a floating view port is closed
References currentViewPort(), currentViewPortContainer(), and setCurrentViewPort().
Referenced by on_uiNewViewport_triggered().


|
private |
Checks for any unsaved modifications and returns True, to continue with closing the current document. Returns False only, if user clicks Cancel button.
This method looks at CADocument::_modified property. The property is changed in undo/redo code.
References document(), and on_uiSaveDocument_triggered().
Referenced by closeEvent(), newDocument(), on_uiCloseDocument_triggered(), on_uiImportDocument_triggered(), and on_uiOpenDocument_triggered().


|
inline |
References uiHelpDock.
|
inline |
References uiHelpWidget.
|
inline |
References uiImportDialog.
Referenced by CAPluginManager::endElement().

|
private |
Links the newly created viewport with the main window:
References _viewPortList, mode(), onScoreViewPortSelectionChanged(), onTextEditKeyPressEvent(), CAViewPort::ScoreViewPort, scoreViewPortDoubleClick(), scoreViewPortKeyPress(), scoreViewPortMouseMove(), scoreViewPortMousePress(), scoreViewPortMouseRelease(), scoreViewPortTripleClick(), scoreViewPortWheel(), setCurrentViewPort(), setMode(), CAViewPort::SourceViewPort, sourceViewPortCommit(), and viewPortClicked().
Referenced by addSheet(), on_uiCanorusMLSource_triggered(), on_uiLilyPondSource_triggered(), on_uiNewViewport_triggered(), on_uiScoreView_triggered(), on_uiSplitHorizontally_triggered(), and on_uiSplitVertically_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.
References CATuplet::actualNumber(), CASettings::autoBar(), CAMusElement::Barline, CADrawableStaff::calculatePitch(), CAMusElement::Clef, CARest::composeRests(), CAMusElementFactory::configureBarline(), CAMusElementFactory::configureClef(), CAMusElementFactory::configureFunctionMark(), 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(), CANote::diatonicPitch(), document(), CAMusElementFactory::emptyMusElem(), CAMusElement::FunctionMark, CAContext::FunctionMarkContext, CASheet::getChord(), CANote::getChord(), CAVoice::getNoteList(), CAVoice::insert(), CANote::isPartOfChord(), CAMusElement::isPlayable(), CAMusElement::KeySignature, CAVoice::lastTimeEnd(), CAMusElement::Mark, CADrawableMusElement::musElement(), CAMusElementFactory::musElement(), musElementFactory(), CAScoreViewPort::musElementsAt(), CAMusElement::musElementType(), CAScoreViewPort::nearestLeftElement(), CAScoreViewPort::nearestRightElement(), CAVoice::next(), CARest::Normal, CAMusElement::Note, CATuplet::noteList(), CATuplet::number(), CANote::phrasingSlurEnd(), CANote::phrasingSlurStart(), CASlur::PhrasingSlurType, CAMusElementFactory::placeAutoBar(), CAPlayableLength::playableLengthToTimeLength(), playImmediately(), CASettings::playInsertedNotes(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAVoice::remove(), CAMusElement::Rest, CAScoreViewPort::selection(), CAScoreViewPort::selectMElement(), CAScoreViewPort::setDrawShadowNoteAccs(), CAMusElementFactory::setMusElement(), CAMusElementFactory::setNoteExtraAccs(), CAScoreViewPort::setShadowNoteLength(), CACanorus::settings(), 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(), uiTupletActualNumber, uiTupletNumber, uiTupletType, CACanorus::undo(), CAScoreViewPort::updateHelpers(), CAPlayable::voice(), CADrawable::width(), and CADrawable::xPos().
Referenced by on_uiSlurType_toggled(), and scoreViewPortMousePress().

|
privateslot |
Main window's key press event.
|
inline |
References _midiRecorderView.
|
inline |
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(), on_uiTupletType_toggled(), playbackFinished(), scoreViewPortDoubleClick(), scoreViewPortKeyPress(), scoreViewPortMouseMove(), scoreViewPortMousePress(), scoreViewPortMouseRelease(), scoreViewPortTripleClick(), setMode(), updateClefToolBar(), updateContextToolBar(), updateDynamicToolBar(), updateFermataToolBar(), updateFingeringToolBar(), updateFMToolBar(), updateInsertToolBar(), updateInstrumentToolBar(), updateKeySigToolBar(), updatePlayableToolBar(), updateRepeatMarkToolBar(), updateTempoToolBar(), updateTimeSigToolBar(), and updateVoiceToolBar().

|
inline |
References _musElementFactory.
Referenced by insertMusElementAt(), CAKeybdInput::midiInEventToScore(), 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(), on_uiTupletActualNumber_valueChanged(), on_uiTupletNumber_valueChanged(), scoreViewPortKeyPress(), scoreViewPortMouseMove(), scoreViewPortMousePress(), setMode(), updateClefToolBar(), updateDynamicToolBar(), updateFermataToolBar(), updateFingeringToolBar(), updateFMToolBar(), updateInstrumentToolBar(), updateKeySigToolBar(), updatePlayableToolBar(), updateRepeatMarkToolBar(), updateTempoToolBar(), and updateTimeSigToolBar().

| void CAMainWin::newDocument | ( | ) |
References clearUI(), CAUndo::createUndoStack(), currentScoreViewPort(), CAUndo::deleteUndoStack(), document(), handleUnsavedChanges(), CACanorus::mainWinCount(), rebuildUI(), restartTimeEditedTime(), CAScoreViewPort::selectContext(), setDocument(), stopPlayback(), Ui_uiMainWindow::uiCloseDocument, CACanorus::undo(), and updateToolBars().
Referenced by main(), and on_uiNewDocument_triggered().


|
privateslot |
|
privateslot |
|
privateslot |
References _animatedScroll.
|
privateslot |
References CAMark::Articulation, InsertMode, CAMusElement::Mark, musElementFactory(), CAMusElementFactory::setArticulationType(), CAMusElementFactory::setMarkType(), setMode(), and CAMusElementFactory::setMusElementType().

|
privateslot |
Sets the associated voice of the current lyrics context.
References CAUndo::createUndoCommand(), currentContext(), currentSheet(), document(), CAContext::LyricsContext, CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CACanorus::undo(), and CASheet::voiceList().

|
privateslot |
References CAMusElement::Barline, InsertMode, musElementFactory(), CAMusElementFactory::setBarlineType(), setMode(), and CAMusElementFactory::setMusElementType().

|
privateslot |
Shows the current score in CanorusML syntax in a new or the current viewport.
References CAViewPortContainer::addViewPort(), currentViewPortContainer(), document(), initViewPort(), Ui_uiMainWindow::uiCloseCurrentView, and Ui_uiMainWindow::uiUnsplitAll.

|
privateslot |
Changes the offset of the clef.
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().

|
privateslot |
References CAMusElement::Clef, InsertMode, musElementFactory(), CAMusElementFactory::setClef(), setMode(), and CAMusElementFactory::setMusElementType().

|
privateslot |
References _viewPortList, currentViewPort(), currentViewPortContainer(), setCurrentViewPort(), Ui_uiMainWindow::uiCloseCurrentView, Ui_uiMainWindow::uiUnsplitAll, CAViewPortContainer::unsplit(), and viewPortList().

|
privateslot |
References CAUndo::deleteUndoStack(), document(), handleUnsavedChanges(), CACanorus::mainWinCount(), rebuildUI(), setDocument(), Ui_uiMainWindow::uiCloseDocument, and CACanorus::undo().

|
privateslot |
Sets the current context name.
References CAUndo::createUndoCommand(), currentContext(), currentSheet(), document(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAContext::setName(), uiContextName, and CACanorus::undo().

|
privateslot |
Brings up the properties dialog.
References CAPropertiesDialog::contextProperties(), and currentContext().

|
privateslot |
|
privateslot |
Action on Edit->Copy.
References copySelection(), and currentScoreViewPort().

|
privateslot |
Action on Edit->Cut.
References copySelection(), CAUndo::createUndoCommand(), currentScoreViewPort(), deleteSelection(), document(), CAUndo::pushUndoCommand(), stopPlayback(), and CACanorus::undo().

|
privateslot |
Brings up the properties dialog.
References document(), and CAPropertiesDialog::documentProperties().

|
privateslot |
References currentScoreViewPort(), currentSheet(), document(), CADynamic::dynamicTextFromString(), EditMode, InsertMode, mode(), musElementFactory(), CACanorus::rebuildUI(), CAScoreViewPort::selection(), CAMenuToolButton::setCurrentId(), CAMusElementFactory::setDynamicText(), CADynamic::setText(), uiDynamicCustomText, and uiDynamicText.

|
privateslot |
References currentScoreViewPort(), currentSheet(), CADynamic::Custom, document(), CADynamic::dynamicTextToString(), EditMode, InsertMode, mode(), musElementFactory(), CACanorus::rebuildUI(), CAScoreViewPort::selection(), CAMusElementFactory::setDynamicText(), CADynamic::setText(), and uiDynamicCustomText.

|
privateslot |
References currentScoreViewPort(), currentSheet(), document(), EditMode, InsertMode, mode(), musElementFactory(), CACanorus::rebuildUI(), CAScoreViewPort::selection(), CAMusElementFactory::setDynamicVolume(), and CADynamic::setVolume().

|
privateslot |
|
privateslot |
Called when File->Export is clicked.
References _poExp, document(), CAPluginManager::exportAction(), CAExport::exportDocument(), CAPluginManager::exportFilterExists(), CAFileFormats::LILYPOND_FILTER, CAFileFormats::MIDI_FILTER, CAFileFormats::MUSICXML_FILTER, CAFileFormats::PDF_FILTER, CAExport::setStreamToFile(), CAFileFormats::SVG_FILTER, uiExportDialog, and CAExport::wait().
Referenced by on_uiExportToPdf_triggered().


|
privateslot |
Called when Export directly to PDF action is clicked.
References on_uiExportDocument_triggered(), CAFileFormats::PDF_FILTER, and uiExportDialog.

|
privateslot |
References CAUndo::createUndoCommand(), currentScoreViewPort(), currentSheet(), document(), EditMode, InsertMode, mode(), musElementFactory(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAScoreViewPort::selection(), CAFermata::setFermataType(), CAMusElementFactory::setFermataType(), and CACanorus::undo().

|
privateslot |
References CAUndo::createUndoCommand(), currentScoreViewPort(), currentSheet(), document(), EditMode, InsertMode, mode(), musElementFactory(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAScoreViewPort::selection(), CAFingering::setFinger(), CAMusElementFactory::setFingeringFinger(), and CACanorus::undo().

|
privateslot |
References CAUndo::createUndoCommand(), currentScoreViewPort(), currentSheet(), document(), EditMode, InsertMode, mode(), musElementFactory(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAScoreViewPort::selection(), CAMusElementFactory::setFingeringOriginal(), CAFingering::setOriginal(), and CACanorus::undo().

|
privateslot |
References CAUndo::createUndoCommand(), currentScoreViewPort(), currentSheet(), document(), EditMode, InsertMode, mode(), musElementFactory(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAScoreViewPort::selection(), CAFunctionMark::setChordArea(), CAFunctionMark::setChordAreaMinor(), CAMusElementFactory::setFMChordArea(), CAMusElementFactory::setFMChordAreaMinor(), and CACanorus::undo().

|
privateslot |
References CAUndo::createUndoCommand(), currentScoreViewPort(), currentSheet(), document(), EditMode, InsertMode, mode(), musElementFactory(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAScoreViewPort::selection(), CAFunctionMark::setEllipse(), CAMusElementFactory::setFMEllipse(), and CACanorus::undo().

|
privateslot |
References CAUndo::createUndoCommand(), currentScoreViewPort(), currentSheet(), document(), EditMode, InsertMode, mode(), musElementFactory(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAScoreViewPort::selection(), CAMusElementFactory::setFMFunction(), CAMusElementFactory::setFMFunctionMinor(), CAFunctionMark::setFunction(), CAFunctionMark::setMinor(), and CACanorus::undo().

|
privateslot |
References CAUndo::createUndoCommand(), currentScoreViewPort(), currentSheet(), document(), EditMode, InsertMode, mode(), musElementFactory(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAScoreViewPort::selection(), CAMusElementFactory::setFMTonicDegree(), CAMusElementFactory::setFMTonicDegreeMinor(), CAFunctionMark::setTonicDegree(), CAFunctionMark::setTonicDegreeMinor(), and CACanorus::undo().

|
privateslot |
|
privateslot |
References CAUndo::createUndoCommand(), currentScoreViewPort(), currentSheet(), document(), EditMode, CARest::Hidden, InsertMode, mode(), musElementFactory(), CARest::Normal, CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAScoreViewPort::selection(), CARest::setRestType(), CAMusElementFactory::setRestType(), and CACanorus::undo().

|
privateslot |
Called when File->Import is clicked.
References CASheet::contextCount(), CAUndo::createUndoStack(), currentScoreViewPort(), document(), handleUnsavedChanges(), CAPluginManager::importAction(), CAPluginManager::importFilterExists(), CAFileFormats::MIDI_FILTER, CAFileFormats::MUSICXML_FILTER, openDocument(), CACanorus::rebuildUI(), CAScoreViewPort::selectContext(), setDocument(), CADocument::sheetAt(), CADocument::sheetCount(), stopPlayback(), Ui_uiMainWindow::uiCloseDocument, uiImportDialog, CACanorus::undo(), and updateToolBars().

|
privateslot |
References CAMusElement::FunctionMark, InsertMode, musElementFactory(), setMode(), and CAMusElementFactory::setMusElementType().

|
privateslot |
References InsertMode, CAMusElement::KeySignature, musElementFactory(), setMode(), and CAMusElementFactory::setMusElementType().

|
privateslot |
References CALCDNumber::getRealValue(), InsertMode, musElementFactory(), CAMusElement::Note, setMode(), CAMusElementFactory::setMusElementType(), CALCDNumber::setRealValue(), and uiVoiceNum.

|
privateslot |
|
privateslot |
References CAUndo::createUndoCommand(), currentScoreViewPort(), currentSheet(), document(), EditMode, InsertMode, mode(), musElementFactory(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAScoreViewPort::selection(), CAInstrumentChange::setInstrument(), CAMusElementFactory::setInstrument(), and CACanorus::undo().

|
privateslot |
References currentViewPort(), and CAViewPort::ScoreViewPort.

|
privateslot |
Changes the number of accidentals.
References CADrawableKeySignature::comboBoxRowToDiatonicKey(), CAUndo::createUndoCommand(), currentScoreViewPort(), currentSheet(), CADiatonicKey::diatonicKeyToString(), document(), EditMode, CADiatonicKey::gender(), InsertMode, mode(), musElementFactory(), CADiatonicKey::numberOfAccs(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAScoreViewPort::selection(), CAKeySignature::setDiatonicKey(), CAMusElementFactory::setDiatonicKeyGender(), CAMusElementFactory::setDiatonicKeyNumberOfAccs(), CAFunctionMark::setKey(), and CACanorus::undo().
Referenced by setupCustomUi().


|
privateslot |
References CAViewPortContainer::addViewPort(), CAContext::contextType(), currentContext(), currentStaff(), currentViewPortContainer(), CALCDNumber::getRealValue(), initViewPort(), CAContext::LyricsContext, Ui_uiMainWindow::uiCloseCurrentView, Ui_uiMainWindow::uiUnsplitAll, uiVoiceNum, and CAStaff::voiceAt().

|
privateslot |
References _lockScrollPlayback.
|
privateslot |
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().

|
privateslot |
References _midiRecorderView, CAResourceCtl::createEmptyResource(), currentSheet(), document(), CACanorus::midiDevice(), CACanorus::rebuildUI(), and CAResource::Sound.

|
privateslot |
|
privateslot |
Adds a new empty sheet.
References CADocument::addSheet(), CAUndo::createUndoCommand(), document(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), stopPlayback(), Ui_uiMainWindow::uiTabWidget, and CACanorus::undo().

|
privateslot |
References CAViewPort::clone(), currentViewPort(), CAViewPort::DEFAULT_VIEWPORT_HEIGHT, CAViewPort::DEFAULT_VIEWPORT_WIDTH, floatViewPortClosed(), and initViewPort().

|
privateslot |
Adds a new voice to the staff.
References CAStaff::addVoice(), CAUndo::createUndoCommand(), currentSheet(), currentStaff(), document(), CAContext::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().

|
privateslot |
Creates a new main window sharing the current document.
References CAMainWin(), document(), rebuildUI(), and setDocument().

|
privateslot |
Sets the currently selected note stem direction if in insert/edit mode or the music elements factory note stem direction if in insert mode.
References CAUndo::createUndoCommand(), currentScoreViewPort(), currentSheet(), document(), EditMode, InsertMode, mode(), musElementFactory(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAScoreViewPort::selection(), SelectMode, CAMusElementFactory::setNoteStemDirection(), CANote::setStemDirection(), and CACanorus::undo().

|
privateslot |
References handleUnsavedChanges(), openDocument(), and uiOpenDialog.

|
privateslot |
References onUiOpenRecentDocumentTriggered(), CACanorus::recentDocumentList(), and Ui_uiMainWindow::uiOpenRecent.

|
privateslot |
Action on Edit->Paste.
References currentScoreViewPort(), and pasteAt().

|
privateslot |
References CAPlayable::calculateTimeLength(), CARest::composeRests(), CAUndo::createUndoCommand(), currentScoreViewPort(), currentSheet(), document(), EditMode, CAVoice::insert(), InsertMode, CAVoice::lyricsContextList(), mode(), musElementFactory(), CAMusElement::musElementType(), CAVoice::next(), CARest::Normal, CAMusElement::Note, CAPlayableLength::playableLengthToTimeLength(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAVoice::remove(), CAMusElement::Rest, CAScoreViewPort::selection(), CAPlayable::setPlayableLength(), CAMusElementFactory::setPlayableLength(), CAScoreViewPort::setShadowNoteLength(), CAPlayable::staff(), CAStaff::synchronizeVoices(), CAMusElement::timeLength(), CAMusElement::timeStart(), CACanorus::undo(), CAScoreViewPort::updateHelpers(), and CAPlayable::voice().

|
privateslot |
Connected with the play button which starts the playback.
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().

|
privateslot |
References document(), CALCDNumber::getRealValue(), on_uiVoiceNum_valChanged(), CACanorus::rebuildUI(), CAUndo::redo(), stopPlayback(), uiVoiceNum, and CACanorus::undo().

|
privateslot |
Removes the current context from the sheet and all its contents.
References CAUndo::createUndoCommand(), currentContext(), currentSheet(), document(), CAContext::name(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CASheet::removeContext(), CAContext::sheet(), stopPlayback(), and CACanorus::undo().

|
privateslot |
Removes the sheet, all its contents and rebuilds the GUI.
References CAUndo::createUndoCommand(), currentSheet(), document(), CAUndo::pushUndoCommand(), CADocument::removeSheet(), removeSheet(), stopPlayback(), and CACanorus::undo().

|
privateslot |
Removes the current voice from the staff and deletes its contents.
References CAStaff::addVoice(), CAScoreViewPort::clearSelection(), CAUndo::createUndoCommand(), currentScoreViewPort(), currentSheet(), currentVoice(), document(), CAVoice::name(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAStaff::removeVoice(), CALCDNumber::setRealValue(), CAVoice::staff(), stopPlayback(), uiVoiceNum, CACanorus::undo(), and CAStaff::voiceCount().

|
privateslot |
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.

|
privateslot |
Toggles the visibility of the resource view window.
References _resourceView.
|
privateslot |
References document(), on_uiSaveDocumentAs_triggered(), and saveDocument().
Referenced by handleUnsavedChanges().


|
privateslot |
References document(), saveDocument(), and uiSaveDialog.
Referenced by on_uiSaveDocument_triggered().


|
privateslot |
Adds a new score viewport to default viewport container.
References _sheetMap, CAViewPortContainer::addViewPort(), currentViewPortContainer(), initViewPort(), CAScoreViewPort::rebuild(), Ui_uiMainWindow::uiCloseCurrentView, and Ui_uiMainWindow::uiUnsplitAll.

|
privateslot |
References currentViewPort(), CAViewPort::ScoreViewPort, CAViewPort::SourceViewPort, and CAViewPort::viewPortType().

|
privateslot |
|
privateslot |
References CASettingsDialog::EditorSettings, and CACanorus::rebuildUI().

|
privateslot |
References CAUndo::createUndoCommand(), currentSheet(), document(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CASheet::setName(), uiSheetName, and CACanorus::undo().

|
privateslot |
Brings up properties dialog.
References currentSheet(), and CAPropertiesDialog::sheetProperties().

|
privateslot |
References currentScoreViewPort(), insertMusElementAt(), musElementFactory(), CAMusElementFactory::musElementType(), CAMusElementFactory::setMusElementType(), CAMusElementFactory::setSlurType(), and CAMusElement::Slur.

|
privateslot |
References currentViewPortContainer(), initViewPort(), CAViewPortContainer::splitHorizontally(), Ui_uiMainWindow::uiCloseCurrentView, and Ui_uiMainWindow::uiUnsplitAll.

|
privateslot |
References currentViewPortContainer(), initViewPort(), CAViewPortContainer::splitVertically(), Ui_uiMainWindow::uiCloseCurrentView, and Ui_uiMainWindow::uiUnsplitAll.

|
privateslot |
Sets the stanza number of the current lyrics context.
References CAUndo::createUndoCommand(), currentContext(), document(), CAContext::LyricsContext, CAUndo::pushUndoCommand(), and CACanorus::undo().

|
privateslot |
Called when the current sheet is switched in the tab widget.
References currentViewPort(), currentViewPortContainer(), setCurrentViewPort(), setCurrentViewPortContainer(), Ui_uiMainWindow::uiTabWidget, and updateToolBars().

|
privateslot |
References CAUndo::createUndoCommand(), currentScoreViewPort(), currentSheet(), document(), EditMode, InsertMode, mode(), musElementFactory(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAScoreViewPort::selection(), CATempo::setBeat(), CAMusElementFactory::setTempoBeat(), and CACanorus::undo().

|
privateslot |
References CAUndo::createUndoCommand(), currentScoreViewPort(), currentSheet(), document(), EditMode, InsertMode, mode(), musElementFactory(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAScoreViewPort::selection(), CATempo::setBpm(), CAMusElementFactory::setTempoBpm(), uiTempoBpm, and CACanorus::undo().

|
privateslot |
References currentScoreViewPort(), currentSheet(), document(), EditMode, InsertMode, mode(), musElementFactory(), CACanorus::rebuildUI(), CAScoreViewPort::selection(), CATimeSignature::setBeat(), CAMenuToolButton::setCurrentId(), CAMusElementFactory::setTimeSigBeat(), uiTimeSigBeat, uiTimeSigBeats, and uiTimeSigType.

|
privateslot |
References currentScoreViewPort(), currentSheet(), document(), EditMode, InsertMode, mode(), musElementFactory(), CACanorus::rebuildUI(), CAScoreViewPort::selection(), CATimeSignature::setBeats(), CAMenuToolButton::setCurrentId(), CAMusElementFactory::setTimeSigBeats(), uiTimeSigBeat, uiTimeSigBeats, and uiTimeSigType.

|
privateslot |
References InsertMode, musElementFactory(), setMode(), CAMusElementFactory::setMusElementType(), CAMusElementFactory::setTimeSigBeat(), CAMusElementFactory::setTimeSigBeats(), CAMusElement::TimeSignature, uiTimeSigBeat, and uiTimeSigBeats.

|
privateslot |
References _transposeView, document(), and CATransposeView::show().

|
privateslot |
References musElementFactory(), and CAMusElementFactory::setTupletActualNumber().

|
privateslot |
References musElementFactory(), and CAMusElementFactory::setTupletNumber().

|
privateslot |
References CAUndo::createUndoCommand(), currentScoreViewPort(), currentSheet(), document(), EditMode, mode(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAScoreViewPort::selection(), uiTupletActualNumber, uiTupletNumber, CACanorus::undo(), and updatePlayableToolBar().

|
privateslot |
References document(), CALCDNumber::getRealValue(), on_uiVoiceNum_valChanged(), CACanorus::rebuildUI(), stopPlayback(), uiVoiceNum, CAUndo::undo(), and CACanorus::undo().

|
privateslot |
References _viewPortList, currentViewPort(), currentViewPortContainer(), setCurrentViewPort(), Ui_uiMainWindow::uiCloseCurrentView, Ui_uiMainWindow::uiUnsplitAll, and CAViewPortContainer::unsplitAll().

|
slot |
References CACanorus::help(), and CAHelpCtl::showUsersGuide().
Referenced by main().


|
privateslot |
Changes voice instrument.
References CAUndo::createUndoCommand(), currentSheet(), currentVoice(), document(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAVoice::setMidiProgram(), and CACanorus::undo().

|
privateslot |
Gets the current voice and sets its name.
References CAUndo::createUndoCommand(), currentSheet(), currentVoice(), document(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAVoice::setName(), uiVoiceName, and CACanorus::undo().

|
privateslot |
Called when a user changes the current voice number.
References currentContext(), currentScoreViewPort(), CAScoreViewPort::setSelectedVoice(), CAContext::Staff, and updateVoiceToolBar().
Referenced by on_uiRedo_toggled(), and on_uiUndo_toggled().


|
privateslot |
Brings up the properties dialog.
References currentVoice(), and CAPropertiesDialog::voiceProperties().

|
privateslot |
References CAUndo::createUndoCommand(), currentSheet(), currentVoice(), document(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAVoice::setStemDirection(), CAVoice::stemDirection(), and CACanorus::undo().

|
privateslot |
References _currentViewPort, CAViewPort::ScoreViewPort, and CAViewPort::viewPortType().

|
privateslot |
References _currentViewPort, CAViewPort::ScoreViewPort, and CAViewPort::viewPortType().

|
privateslot |
References _animatedScroll, _currentViewPort, CAViewPort::ScoreViewPort, and CAViewPort::viewPortType().

|
privateslot |
References _currentViewPort, CAViewPort::ScoreViewPort, and CAViewPort::viewPortType().

|
privateslot |
References _keybdInput, and CAKeybdInput::onMidiInEvent().
Referenced by CAMainWin().


|
privateslot |
Called every few miliseconds during playback to repaint score viewport as the GUI can only be repainted from the main thread.
References _playback, _playbackViewPort, CAScoreViewPort::addToSelection(), CAScoreViewPort::clearSelection(), CAPlayback::curPlaying(), and CAMusElement::Note.
Referenced by on_uiPlayFromSelection_toggled().


|
privateslot |
Called when selection in score viewports is changed.
References CAPluginManager::action(), document(), Ui_uiMainWindow::uiCopy, and Ui_uiMainWindow::uiCut.
Referenced by initViewPort().


|
privateslot |
Function called when user types the text of the syllable or hits control keys.
The following behaviour is implemented:
References CASyllable::associatedVoice(), CALyricsContext::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().


|
privateslot |
Called every second when timeEditedTimer has timeout. Increases the locally stored time the document is being edited.
References _timeEditedTime.
Referenced by CAMainWin().

|
privateslot |
References openDocument(), CACanorus::recentDocumentList(), CACanorus::removeRecentDocument(), and Ui_uiMainWindow::uiOpenRecent.
Referenced by on_uiOpenRecent_aboutToShow().


| 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.
References CAFileFormats::CAN_FILTER, CAFileFormats::CANORUSML_FILTER, CAImport::importDocument(), CAImport::importedDocument(), CAImport::readableStatus(), CADocument::setFileName(), CAFile::setStreamFromFile(), CAFile::status(), stopPlayback(), and uiSaveDialog.
Referenced by on_uiImportDocument_triggered(), 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.
References clearUI(), CAUndo::createUndoStack(), currentScoreViewPort(), CAUndo::deleteUndoStack(), document(), CADocument::fileName(), CACanorus::insertRecentDocument(), CACanorus::mainWinCount(), rebuildUI(), CAScoreViewPort::selectContext(), setDocument(), CADocument::sheetCount(), stopPlayback(), Ui_uiMainWindow::uiCloseDocument, Ui_uiMainWindow::uiTabWidget, CACanorus::undo(), and updateToolBars().

| void CAMainWin::pasteAt | ( | const QPoint | coords, |
| CAScoreViewPort * | v | ||
| ) |
Backend for Edit->Paste.
References CASheet::addContext(), CALyricsContext::addEmptySyllable(), CALyricsContext::addSyllable(), CAScoreViewPort::addToSelection(), CAStaff::addVoice(), CAScoreViewPort::clearSelection(), CATuplet::clone(), CASyllable::clone(), CAMusElement::clone(), CASlur::clone(), CAVoice::contains(), CADrawableContext::context(), CAMusElement::context(), CASheet::contextAt(), CASheet::contextCount(), CASheet::contextIndex(), CASheet::contextList(), CAContext::contextType(), CAUndo::createUndoCommand(), CAScoreViewPort::currentContext(), currentContext(), currentScoreViewPort(), currentSheet(), document(), CAContext::FunctionMarkContext, CALCDNumber::getRealValue(), CAVoice::insert(), CASheet::insertContextAfter(), CAMusElement::isPlayable(), CAVoice::lastNote(), CAContext::LyricsContext, CAVoice::lyricsContextList(), CADrawableMusElement::musElement(), CAMusElement::musElementType(), CAScoreViewPort::nearestRightElement(), CAMusElement::Note, CASlur::noteEnd(), CATuplet::noteList(), CANote::phrasingSlurEnd(), CANote::phrasingSlurStart(), CASlur::PhrasingSlurType, CAVoice::previous(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CALyricsContext::repositSyllables(), CAScoreViewPort::setLastMousePressCoordsAfter(), CANote::setPhrasingSlurStart(), CANote::setSlurStart(), CANote::setTieStart(), CAMusElement::setTimeStart(), CAContext::sheet(), CAScoreViewPort::sheet(), CANote::slurEnd(), CANote::slurStart(), CASlur::SlurType, CASlur::slurType(), CAContext::Staff, CASheet::staffCount(), CALyricsContext::syllableAt(), CALyricsContext::syllableList(), CAStaff::synchronizeVoices(), CANote::tieEnd(), CANote::tieStart(), CASlur::TieType, CAMusElement::timeStart(), CAPlayable::tuplet(), uiVoiceNum, CACanorus::undo(), CAStaff::voiceAt(), and CAStaff::voiceCount().
Referenced by on_uiPaste_triggered().

|
privateslot |
Called when playback is finished or interrupted by the user. It stops the playback, closes ports etc.
References _playback, _playbackViewPort, _prePlaybackSelection, _repaintTimer, CAMidiDevice::closeOutputPort(), CACanorus::midiDevice(), mode(), setMode(), and Ui_uiMainWindow::uiPlayFromSelection.
Referenced by on_uiPlayFromSelection_toggled(), and playImmediately().


|
private |
Immediately plays the notes. This is usually called when inserting new notes or changing the pitch of existing notes.
References _playback, CACanorus::midiDevice(), playbackFinished(), CAPlayback::playImmediately(), and CACanorus::settings().
Referenced by insertMusElementAt(), and scoreViewPortKeyPress().


| 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.
References _resourceView, _viewPortList, clearUI(), document(), CAResourceView::rebuildUi(), rebuildUILock(), CAViewPort::ScoreViewPort, setRebuildUILock(), updateToolBars(), and updateWindowTitle().
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.
References _resourceView, _viewPortList, addSheet(), clearUI(), document(), CAResourceView::rebuildUi(), rebuildUILock(), CAViewPort::ScoreViewPort, setRebuildUILock(), CADocument::sheetCount(), Ui_uiMainWindow::uiTabWidget, updateToolBars(), and updateWindowTitle().

|
inline |
| 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.
References _sheetMap, currentViewPort(), CASourceViewPort::lyricsContext(), CAViewPort::ScoreViewPort, setCurrentViewPort(), setCurrentViewPortContainer(), CAContext::sheet(), CAViewPort::SourceViewPort, CAVoice::staff(), Ui_uiMainWindow::uiTabWidget, viewPortList(), and CASourceViewPort::voice().
Referenced by on_uiRemoveSheet_triggered().


|
inline |
References _viewPortList.
|
inline |
References _resourceView.
|
inline |
References Ui_uiMainWindow::uiResourceView.
|
inline |
References _timeEditedTime.
Referenced by CAMainWin(), newDocument(), and CACanorus::restartTimeEditedTimes().

| 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.
References _timeEditedTime, CAFileFormats::CAN_FILTER, CAFileFormats::CANORUSML_FILTER, document(), CAExport::exportDocument(), CAExport::exportedDocument(), CACanorus::insertRecentDocument(), CACanorus::restartTimeEditedTimes(), CADocument::setDateLastModified(), CADocument::setFileName(), CADocument::setModified(), CAExport::setStreamToFile(), CADocument::setTimeEdited(), uiSaveDialog, updateWindowTitle(), and CAExport::wait().
Referenced by on_uiSaveDocument_triggered(), and on_uiSaveDocumentAs_triggered().


|
privateslot |
Processes the mouse double click event. Currently this selects the current bar.
References mode(), and SelectMode.
Referenced by initViewPort().


|
privateslot |
Processes the key press event e. Any action happened in any of the viewports are always linked to its main window slots.
References CAMusElementFactory::addNoteAccs(), CAMusElementFactory::addNoteExtraAccs(), CAMusElementFactory::addPlayableDotted(), CAPlayableLength::Breve, CAPlayable::calculateTimeLength(), CAScoreViewPort::clearSelection(), CARest::composeRests(), CADrawableContext::context(), CAContext::contextType(), CAUndo::createUndoCommand(), CAScoreViewPort::currentContext(), currentScoreViewPort(), currentSheet(), currentVoice(), deleteSelection(), CAKeySignature::diatonicKey(), CANote::diatonicPitch(), document(), CAPlayableLength::dotted(), CADrawableMusElement::drawableMusElementType(), CADrawableMusElement::DrawableNote, EditMode, CAPlayableLength::Eighth, CAVoice::getKeySig(), CAPlayableLength::Half, CAPlayableLength::HundredTwentyEighth, CAVoice::insert(), InsertMode, CAMusElement::isPlayable(), CAVoice::lyricsContextList(), mode(), CADrawableMusElement::musElement(), musElementFactory(), CAMusElement::musElementType(), CAStaff::next(), CAVoice::next(), CARest::Normal, CAMusElement::Note, CADiatonicKey::noteAccs(), CADiatonicPitch::noteName(), CAPlayable::playableLength(), CAMusElementFactory::playableLength(), playImmediately(), CAUndo::pushUndoCommand(), CAPlayableLength::Quarter, CACanorus::rebuildUI(), CAVoice::remove(), CAMusElement::Rest, CAScoreViewPort::selection(), CAScoreViewPort::selectMElement(), SelectMode, CAScoreViewPort::selectNextMusElement(), CAScoreViewPort::selectPrevMusElement(), CAScoreViewPort::selectUpMusElement(), CAScoreViewPort::setCurrentContext(), CAMenuToolButton::setCurrentId(), setCurrentViewPort(), CANote::setDiatonicPitch(), CAPlayableLength::setDotted(), CAScoreViewPort::setDrawShadowNoteAccs(), CALCDNumber::setRealValue(), CAScoreViewPort::setShadowNoteAccs(), CAScoreViewPort::setShadowNoteLength(), CACanorus::settings(), CAContext::sheet(), CAScoreViewPort::sheet(), CABarline::Single, CAPlayableLength::Sixteenth, CAPlayableLength::SixtyFourth, CAContext::Staff, CAPlayable::staff(), CAMusElementFactory::subNoteAccs(), CAMusElementFactory::subNoteExtraAccs(), CAStaff::synchronizeVoices(), CAPlayableLength::ThirtySecond, CAMusElement::timeLength(), CAMusElement::timeStart(), Ui_uiMainWindow::uiEditMode, Ui_uiMainWindow::uiInsertPlayable, uiPlayableLength, Ui_uiMainWindow::uiPlayFromSelection, Ui_uiMainWindow::uiSelectMode, uiVoiceNum, CACanorus::undo(), CAScoreViewPort::updateHelpers(), updateToolBars(), CAPlayable::voice(), CAStaff::voiceAt(), and CAPlayableLength::Whole.
Referenced by initViewPort().

|
privateslot |
Processes the mouse move event e with coordinates coords. Any action happened in any of the viewports are always linked to its main window slots.
References CAScoreViewPort::addSelectionRegion(), CADrawableStaff::calculatePitch(), CAScoreViewPort::clearSelectionRegionList(), CAScoreViewPort::coordsToTime(), CAScoreViewPort::currentContext(), CADrawableContext::drawableContextType(), CADrawableMusElement::DrawableSlur, CADrawableContext::DrawableStaff, CAScoreViewPort::findContextsInRegion(), CADrawableStaff::getAccs(), InsertMode, CAScoreViewPort::lastMousePressCoords(), CADrawable::Left, mode(), musElementFactory(), CAPlayableLength::musicLengthToTimeLength(), CAMusElement::Note, CAMusElementFactory::noteExtraAccs(), CAScoreViewPort::resizeDirection(), CAMusElement::Rest, CADrawable::Right, CAScoreViewPort::selection(), SelectMode, CAMusElementFactory::setNoteAccs(), CAScoreViewPort::setShadowNoteAccs(), CAScoreViewPort::setShadowNoteVisible(), CAPlayableLength::Sixteenth, CAScoreViewPort::timeToCoords(), CADrawable::Undefined, and CAScoreViewPort::updateHelpers().
Referenced by initViewPort().


|
privateslot |
Processes the mouse press event e with world coordinates coords. Any action happened in any of the viewports are always linked to these main window slots.
References CAPluginManager::action(), CAScoreViewPort::addToSelection(), CAMark::BookMark, CAScoreViewPort::clearSelection(), CAScoreViewPort::clearSelectionRegionList(), CADrawableContext::context(), CAMusElement::context(), CASheet::contextCount(), CAContext::contextType(), CAScoreViewPort::createTextEdit(), CAUndo::createUndoCommand(), CAScoreViewPort::currentContext(), CAToolButton::currentId(), currentScoreViewPort(), document(), CADrawableMusElement::drawableContext(), EditMode, CAContext::FunctionMarkContext, CADrawable::height(), CASheet::insertContextAfter(), InsertMode, insertMusElementAt(), CAMusElement::isPlayable(), CAContext::LyricsContext, CAMusElement::Mark, CAMusElementFactory::markType(), mode(), CADrawableMusElement::musElement(), musElementFactory(), CAScoreViewPort::musElementsAt(), CAMusElement::musElementType(), CAMusElementFactory::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(), CALCDNumber::setMax(), CAMusElementFactory::setMusElementType(), CALCDNumber::setRealValue(), CAScoreViewPort::setShadowNoteLength(), CAScoreViewPort::sheet(), CAMusElement::Slur, CAContext::Staff, CASheet::staffCount(), CAMusElement::Syllable, CAMark::Text, CAMusElement::timeEnd(), CAMusElement::timeStart(), uiContextType, Ui_uiMainWindow::uiInsertPlayable, Ui_uiMainWindow::uiInsertSyllable, uiMarkType, Ui_uiMainWindow::uiSelectMode, uiVoiceNum, CADrawable::Undefined, CACanorus::undo(), CAScoreViewPort::updateHelpers(), updateToolBars(), CASheet::voiceList(), CADrawable::width(), CADrawable::xPos(), and CADrawable::yPos().
Referenced by initViewPort().

|
privateslot |
Processes the mouse move event e with coordinates coords. Any action happened in any of the viewports are always linked to its main window slots.
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().


|
privateslot |
Processes the mouse triple click event. Currently this selects the current line.
References mode(), and SelectMode.
Referenced by initViewPort().


|
privateslot |
Processes the mouse wheel event e with coordinates coords. Any action happened in any of the viewports are always linked to its main window slots.
References _animatedScroll, setCurrentViewPort(), CAScoreViewPort::setWorldX(), CAScoreViewPort::setWorldY(), CAScoreViewPort::setZoom(), CAScoreViewPort::worldX(), CAScoreViewPort::worldY(), and CAScoreViewPort::zoom().
Referenced by initViewPort().


|
inlineprivate |
References _currentViewPort.
Referenced by clearUI(), floatViewPortClosed(), initViewPort(), on_uiCloseCurrentView_triggered(), on_uiTabWidget_currentChanged(), on_uiUnsplitAll_triggered(), removeSheet(), scoreViewPortKeyPress(), scoreViewPortWheel(), sourceViewPortCommit(), and viewPortClicked().

|
inlineprivate |
References _currentViewPortContainer.
Referenced by addSheet(), on_uiTabWidget_currentChanged(), and removeSheet().

|
inline |
References _document, _resourceView, document(), and CAResourceView::setDocument().
Referenced by CAMainWin(), newDocument(), on_uiCloseDocument_triggered(), on_uiImportDocument_triggered(), on_uiNewWindow_triggered(), openDocument(), and sourceViewPortCommit().


|
inline |
References _midiRecorderView.
|
private |
Sets the current mode and updates the GUI and toolbars.
References _mode, _viewPortList, CAMark::BookMark, CAScoreViewPort::createTextEdit(), currentScoreViewPort(), currentViewPort(), EditMode, InsertMode, CAMusElement::Mark, mode(), 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().


|
inlineprivate |
References _rebuildUILock.
Referenced by CAMainWin(), and rebuildUI().

|
private |
Creates more complex widgets and layouts that cannot be created using Qt Designer (like adding custom toolbars to main window, button boxes etc.).
References _musElementFactory, _poPrintCtl, _poPrintPreviewCtl, CAArticulation::Accent, CAMark::Dynamic, CABarline::End, CADynamic::mf, on_uiKeySig_activated(), CAPlayableLength::Quarter, CAMenuToolButton::setCurrentId(), CAToolButton::setDefaultAction(), CAUndoToolButton::setDefaultAction(), CAContext::Staff, CANote::StemPreferred, CAFunctionMark::T, CASlur::TieType, CAClef::Treble, Ui_uiMainWindow::uiAccsVisible, uiArticulationType, uiAssociatedVoice, uiAssociatedVoiceAction, uiBarlineType, uiClefOffset, uiClefToolBar, uiClefType, uiContextName, Ui_uiMainWindow::uiContextProperties, uiContextToolBar, uiContextType, Ui_uiMainWindow::uiCut, uiDynamicCustomText, uiDynamicText, uiDynamicToolBar, uiDynamicVolume, Ui_uiMainWindow::uiEditMode, uiFermataToolBar, uiFermataType, Ui_uiMainWindow::uiFileToolBar, uiFinger, uiFingeringOriginal, uiFingeringToolBar, uiFMChordArea, Ui_uiMainWindow::uiFMEllipse, uiFMFunction, uiFMKeySig, uiFMTonicDegree, uiFMToolBar, uiHelpDock, Ui_uiMainWindow::uiHiddenRest, Ui_uiMainWindow::uiInsertArticulation, Ui_uiMainWindow::uiInsertBarline, Ui_uiMainWindow::uiInsertClef, Ui_uiMainWindow::uiInsertFM, uiInsertGroup, Ui_uiMainWindow::uiInsertKeySig, Ui_uiMainWindow::uiInsertMark, Ui_uiMainWindow::uiInsertPlayable, Ui_uiMainWindow::uiInsertSyllable, Ui_uiMainWindow::uiInsertTimeSig, uiInsertToolBar, uiInstrumentChange, uiInstrumentToolBar, uiKeySig, uiKeySigToolBar, uiMarkType, Ui_uiMainWindow::uiMenuEdit, Ui_uiMainWindow::uiNewContext, Ui_uiMainWindow::uiNewSheet, Ui_uiMainWindow::uiNewVoice, uiNoteStemDirection, uiPlayableLength, uiPlayableToolBar, Ui_uiMainWindow::uiPrintToolBar, uiPyConsoleDock, uiRedo, Ui_uiMainWindow::uiRemoveContext, Ui_uiMainWindow::uiRemoveSheet, Ui_uiMainWindow::uiRemoveVoice, uiRepeatMarkToolBar, uiRepeatMarkType, Ui_uiMainWindow::uiSelectMode, uiSheetName, Ui_uiMainWindow::uiSheetProperties, uiSheetToolBar, uiSlurType, Ui_uiMainWindow::uiStandardToolBar, uiStanzaNumber, uiStanzaNumberAction, uiTempoBeat, uiTempoBpm, uiTempoEquals, uiTempoToolBar, uiTimeSigBeat, uiTimeSigBeats, uiTimeSigSlash, uiTimeSigToolBar, uiTimeSigType, uiTupletActualNumber, uiTupletActualNumberAction, uiTupletInsteadOf, uiTupletInsteadOfAction, uiTupletNumber, uiTupletNumberAction, uiTupletType, uiUndo, uiVoiceInstrument, uiVoiceName, uiVoiceNum, Ui_uiMainWindow::uiVoiceProperties, uiVoiceStemDirection, and uiVoiceToolBar.
Referenced by CAMainWin().


|
privateslot |
Called when a user clicks "Commit" button in source viewport.
References _viewPortList, CAVoice::addLyricsContext(), CAStaff::addVoice(), CALyricsContext::associatedVoice(), CAUndo::changeDocument(), clearUI(), CALyricsContext::cloneLyricsContextProperties(), CAUndo::createUndoCommand(), CASourceViewPort::document(), 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(), CAStaff::removeVoice(), CAViewPort::ScoreViewPort, setCurrentViewPort(), setDocument(), CASourceViewPort::setLyricsContext(), CAScoreViewPort::setSelectedVoice(), CALilyPondImport::setTemplateVoice(), CASourceViewPort::setVoice(), CAContext::sheet(), CAVoice::staff(), stopPlayback(), CAStaff::synchronizeVoices(), CACanorus::undo(), CAViewPort::viewPortType(), and CASourceViewPort::voice().
Referenced by initViewPort().


|
inlineprivate |
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().


|
private |
Shows/Hides the clef properties tool bar according to the current state.
References currentScoreViewPort(), EditMode, InsertMode, mode(), musElementFactory(), CAClef::offset(), CAClef::offsetToReadable(), CAScoreViewPort::selection(), uiClefOffset, uiClefToolBar, and uiClefType.
Referenced by updateToolBars().


|
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.
References CALyricsContext::associatedVoice(), CAContext::contextType(), currentContext(), currentSheet(), CAContext::FunctionMarkContext, CAContext::LyricsContext, mode(), CAContext::name(), SelectMode, CAContext::Staff, CALyricsContext::stanzaNumber(), uiAssociatedVoice, uiAssociatedVoiceAction, uiContextName, uiContextToolBar, Ui_uiMainWindow::uiInsertPlayable, uiStanzaNumber, uiStanzaNumberAction, and CASheet::voiceList().
Referenced by updateToolBars().


|
private |
Shows/Hides the dynamic marks properties tool bar according to the current state.
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().


|
private |
Shows/Hides the fermata properties tool bar according to the current state.
References CAToolButton::currentId(), currentScoreViewPort(), EditMode, CAMark::Fermata, CAFermata::fermataType(), InsertMode, mode(), musElementFactory(), CAScoreViewPort::selection(), CAMenuToolButton::setCurrentId(), uiFermataToolBar, uiFermataType, and uiMarkType.
Referenced by updateToolBars().


|
private |
Shows/Hides the fingering properties tool bar according to the current state.
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().


|
private |
Shows/Hides the function mark properties tool bar according to the current state.
References CAFunctionMark::chordArea(), currentScoreViewPort(), CADrawableKeySignature::diatonicKeyToRow(), EditMode, CAFunctionMark::function(), InsertMode, CAFunctionMark::isChordAreaMinor(), CAFunctionMark::isMinor(), CAFunctionMark::isPartOfEllipse(), CAFunctionMark::isTonicDegreeMinor(), CAFunctionMark::key(), CADiatonicKey::Minor, mode(), musElementFactory(), CAScoreViewPort::selection(), CAMenuToolButton::setCurrentId(), CAFunctionMark::tonicDegree(), uiFMChordArea, Ui_uiMainWindow::uiFMEllipse, uiFMFunction, uiFMKeySig, uiFMTonicDegree, uiFMToolBar, and Ui_uiMainWindow::uiInsertFM.
Referenced by updateToolBars().


|
private |
Shows/Hides music elements which cannot be placed in the selected context.
References CAContext::contextType(), currentContext(), currentSheet(), EditMode, CAContext::FunctionMarkContext, CAContext::LyricsContext, mode(), CAContext::Staff, uiArticulationType, uiBarlineType, uiClefType, Ui_uiMainWindow::uiInsertBarline, Ui_uiMainWindow::uiInsertClef, Ui_uiMainWindow::uiInsertFM, Ui_uiMainWindow::uiInsertKeySig, Ui_uiMainWindow::uiInsertPlayable, Ui_uiMainWindow::uiInsertSyllable, Ui_uiMainWindow::uiInsertTimeSig, uiInsertToolBar, uiMarkType, Ui_uiMainWindow::uiNewContext, uiSlurType, and uiTimeSigType.
Referenced by updateToolBars().


|
private |
Shows/Hides the instrument marks properties tool bar according to the current state.
References CAToolButton::currentId(), currentScoreViewPort(), EditMode, InsertMode, CAInstrumentChange::instrument(), CAMark::InstrumentChange, mode(), musElementFactory(), CAScoreViewPort::selection(), uiInstrumentChange, uiInstrumentToolBar, and uiMarkType.
Referenced by updateToolBars().


|
private |
Shows/Hides the key signature properties tool bar according to the current state.
References currentScoreViewPort(), CAKeySignature::diatonicKey(), CADrawableKeySignature::diatonicKeyToRow(), EditMode, InsertMode, CADiatonicKey::Minor, mode(), musElementFactory(), CAScoreViewPort::selection(), Ui_uiMainWindow::uiInsertKeySig, uiKeySig, and uiKeySigToolBar.
Referenced by updateToolBars().


|
private |
Show/Hides the playable tool bar and its properties according to the current state.
References CAToolButton::currentId(), currentScoreViewPort(), EditMode, CARest::Hidden, InsertMode, mode(), musElementFactory(), CAMusElement::musElementType(), CAPlayableLength::musicLength(), CAMusElement::Note, CAPlayable::playableLength(), CAMusElement::Rest, CARest::restType(), CAScoreViewPort::selection(), CAMenuToolButton::setCurrentId(), CALCDNumber::setRealValue(), CANote::stemDirection(), Ui_uiMainWindow::uiHiddenRest, Ui_uiMainWindow::uiInsertPlayable, uiNoteStemDirection, uiPlayableLength, uiPlayableToolBar, uiTupletActualNumber, uiTupletActualNumberAction, uiTupletInsteadOf, uiTupletInsteadOfAction, uiTupletNumber, uiTupletNumberAction, uiTupletType, uiVoiceNum, CAPlayable::voice(), and CAVoice::voiceNumber().
Referenced by on_uiTupletType_toggled(), and updateToolBars().


|
private |
Shows/Hides the repeat mark properties tool bar according to the current state.
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().


|
private |
Shows sheet tool bar if nothing selected. Otherwise hides it.
References CAScoreViewPort::currentContext(), currentScoreViewPort(), CASheet::name(), CAScoreViewPort::selection(), CAScoreViewPort::sheet(), uiSheetName, and uiSheetToolBar.
Referenced by updateToolBars().


|
private |
Shows/Hides the tempo marks properties tool bar according to the current state.
References CATempo::beat(), CATempo::bpm(), CAToolButton::currentId(), currentScoreViewPort(), CAPlayableLength::dotted(), EditMode, InsertMode, mode(), musElementFactory(), CAPlayableLength::musicLength(), CAScoreViewPort::selection(), CAMenuToolButton::setCurrentId(), CAMark::Tempo, uiMarkType, uiTempoBeat, uiTempoBpm, and uiTempoToolBar.
Referenced by updateToolBars().


|
private |
Shows/Hides the time signature properties tool bar according to the current state.
References CATimeSignature::beat(), CATimeSignature::beats(), currentScoreViewPort(), EditMode, InsertMode, mode(), musElementFactory(), CAScoreViewPort::selection(), uiTimeSigBeat, uiTimeSigBeats, uiTimeSigToolBar, and uiTimeSigType.
Referenced by updateToolBars().


|
private |
Updates all the toolbars according to the current state of the main window.
References document(), Ui_uiMainWindow::uiNewSheet, 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().


|
private |
Enables or Disabled undo/redo buttons if there are undo/redo commands on the undo stack.
References document(), uiRedo, uiUndo, and CACanorus::undo().
Referenced by updateToolBars().


|
private |
Shows/Hides the Voice properties tool bar according to the currently selected context and updates its properties.
References CAContext::contextType(), currentContext(), currentVoice(), CALCDNumber::getRealValue(), mode(), CAVoice::name(), SelectMode, CAMenuToolButton::setCurrentId(), CALCDNumber::setMax(), CAContext::Staff, CAVoice::stemDirection(), Ui_uiMainWindow::uiNewVoice, Ui_uiMainWindow::uiRemoveVoice, uiVoiceInstrument, uiVoiceName, uiVoiceNum, Ui_uiMainWindow::uiVoiceProperties, uiVoiceStemDirection, uiVoiceToolBar, CAStaff::voiceAt(), and CAStaff::voiceCount().
Referenced by on_uiVoiceNum_valChanged(), and updateToolBars().


| void CAMainWin::updateWindowTitle | ( | ) |
References document().
Referenced by rebuildUI(), and saveDocument().


|
privateslot |
General viewport mouse press event. Sets it as the current view port.
References currentViewPort(), currentViewPortContainer(), CAViewPortContainer::setCurrentViewPort(), and setCurrentViewPort().
Referenced by initViewPort().


|
inline |
References _viewPortList.
Referenced by on_uiCloseCurrentView_triggered(), and removeSheet().

|
private |
Referenced by CAMainWin(), on_uiAnimatedScroll_toggled(), on_uiZoomToSelection_triggered(), and scoreViewPortWheel().
|
private |
|
private |
Referenced by currentViewPortContainer(), and setCurrentViewPortContainer().
|
private |
Pointer to the main window's document it represents. Null if no document opened.
Referenced by document(), and setDocument().
|
private |
Referenced by CAMainWin(), and onMidiInEvent().
|
private |
Referenced by CAMainWin(), and on_uiLockScrollPlayback_toggled().
|
private |
Referenced by CAMainWin(), clearUI(), midiRecorderView(), on_uiMidiRecorder_triggered(), setMidiRecorderView(), and ~CAMainWin().
|
private |
|
private |
Referenced by musElementFactory(), setupCustomUi(), and ~CAMainWin().
|
private |
|
private |
Viewport needed to be updated when playback is active.
Referenced by CAMainWin(), on_uiPlayFromSelection_toggled(), onRepaintTimerTimeout(), and playbackFinished().
|
private |
Referenced by CAMainWin(), on_uiExportDocument_triggered(), and ~CAMainWin().
|
private |
Referenced by setupCustomUi(), and ~CAMainWin().
|
private |
Referenced by setupCustomUi(), and ~CAMainWin().
|
private |
Referenced by on_uiPlayFromSelection_toggled(), and playbackFinished().
|
private |
Lock to avoid recursive rebuilds of the GUI viewports.
Referenced by rebuildUILock(), and setRebuildUILock().
|
private |
Referenced by CAMainWin(), on_uiPlayFromSelection_toggled(), and playbackFinished().
|
private |
Referenced by CAMainWin(), on_uiResourceView_toggled(), rebuildUI(), resourceView(), setDocument(), and ~CAMainWin().
|
private |
Referenced by addSheet(), clearUI(), on_uiScoreView_triggered(), and removeSheet().
|
private |
Referenced by onTimeEditedTimerTimeout(), restartTimeEditedTime(), and saveDocument().
|
private |
Referenced by CAMainWin().
|
private |
Referenced by CAMainWin(), on_uiTranspose_triggered(), and ~CAMainWin().
|
private |
Referenced by addSheet().
|
private |
List of all available viewports for any sheet in this main window.
Referenced by clearUI(), initViewPort(), on_uiCloseCurrentView_triggered(), on_uiUnsplitAll_triggered(), rebuildUI(), removeViewPort(), setMode(), sourceViewPortCommit(), and viewPortList().
|
private |
Referenced by createCustomActions(), and on_uiClefOffset_valueChanged().
| CAPyConsole* CAMainWin::pyConsole |
Referenced by createCustomActions().
| CAPyConsoleInterface * CAMainWin::pyConsoleIface |
Referenced by CAPlugin::callAction(), CAMainWin(), and createCustomActions().
|
private |
Referenced by createCustomActions(), setupCustomUi(), and updateInsertToolBar().
|
private |
Referenced by createCustomActions(), setupCustomUi(), and updateContextToolBar().
|
private |
Referenced by setupCustomUi(), and updateContextToolBar().
|
private |
Referenced by createCustomActions(), setupCustomUi(), and updateInsertToolBar().
|
private |
Referenced by createCustomActions(), on_uiClefOffset_valueChanged(), setupCustomUi(), and updateClefToolBar().
|
private |
Referenced by createCustomActions(), setupCustomUi(), updateClefToolBar(), and ~CAMainWin().
|
private |
Referenced by createCustomActions(), setupCustomUi(), updateClefToolBar(), and updateInsertToolBar().
|
private |
Referenced by createCustomActions(), on_uiContextName_returnPressed(), setupCustomUi(), and updateContextToolBar().
|
private |
Referenced by createCustomActions(), setupCustomUi(), and updateContextToolBar().
|
private |
Referenced by createCustomActions(), scoreViewPortMousePress(), and setupCustomUi().
|
private |
|
private |
Referenced by createCustomActions(), on_uiDynamicCustomText_returnPressed(), setupCustomUi(), and updateDynamicToolBar().
|
private |
Referenced by createCustomActions(), setupCustomUi(), updateDynamicToolBar(), and ~CAMainWin().
|
private |
Referenced by createCustomActions(), setupCustomUi(), and updateDynamicToolBar().
|
static |
|
private |
Referenced by createCustomActions(), setupCustomUi(), updateFermataToolBar(), and ~CAMainWin().
|
private |
Referenced by createCustomActions(), setupCustomUi(), and updateFermataToolBar().
|
private |
Referenced by createCustomActions(), setupCustomUi(), and updateFingeringToolBar().
|
private |
Referenced by createCustomActions(), setupCustomUi(), and updateFingeringToolBar().
|
private |
Referenced by createCustomActions(), setupCustomUi(), and updateFingeringToolBar().
|
private |
Referenced by createCustomActions(), setupCustomUi(), and updateFMToolBar().
|
private |
Referenced by createCustomActions(), setupCustomUi(), and updateFMToolBar().
|
private |
Referenced by createCustomActions(), setupCustomUi(), and updateFMToolBar().
|
private |
Referenced by createCustomActions(), setupCustomUi(), and updateFMToolBar().
|
private |
Referenced by createCustomActions(), setupCustomUi(), updateFMToolBar(), and ~CAMainWin().
|
private |
Referenced by createCustomActions(), helpDock(), and setupCustomUi().
|
private |
Referenced by createCustomActions(), and helpWidget().
|
static |
|
private |
Referenced by setupCustomUi(), and ~CAMainWin().
|
private |
Referenced by createCustomActions(), setupCustomUi(), updateInsertToolBar(), and ~CAMainWin().
|
private |
Referenced by createCustomActions(), setupCustomUi(), and updateInstrumentToolBar().
|
private |
Referenced by createCustomActions(), setupCustomUi(), updateInstrumentToolBar(), and ~CAMainWin().
|
private |
Referenced by createCustomActions(), setupCustomUi(), and updateKeySigToolBar().
|
private |
Referenced by createCustomActions(), setupCustomUi(), updateKeySigToolBar(), and ~CAMainWin().
|
private |
|
private |
|
private |
Referenced by createCustomActions(), setupCustomUi(), and updatePlayableToolBar().
|
static |
|
private |
Referenced by createCustomActions(), scoreViewPortKeyPress(), setupCustomUi(), and updatePlayableToolBar().
|
private |
Referenced by createCustomActions(), setupCustomUi(), updatePlayableToolBar(), and ~CAMainWin().
|
private |
Referenced by createCustomActions(), and setupCustomUi().
|
private |
Referenced by createCustomActions(), setupCustomUi(), and updateUndoRedoButtons().
|
private |
Referenced by createCustomActions(), setupCustomUi(), updateRepeatMarkToolBar(), and ~CAMainWin().
|
private |
Referenced by createCustomActions(), setupCustomUi(), and updateRepeatMarkToolBar().
|
static |
|
private |
Referenced by createCustomActions(), on_uiSheetName_returnPressed(), setupCustomUi(), and updateSheetToolBar().
|
private |
Referenced by createCustomActions(), setupCustomUi(), and updateSheetToolBar().
|
private |
Referenced by createCustomActions(), setupCustomUi(), and updateInsertToolBar().
|
private |
Referenced by createCustomActions(), setupCustomUi(), and updateContextToolBar().
|
private |
Referenced by setupCustomUi(), and updateContextToolBar().
|
private |
Referenced by createCustomActions(), setupCustomUi(), and updateTempoToolBar().
|
private |
Referenced by createCustomActions(), on_uiTempoBpm_returnPressed(), setupCustomUi(), and updateTempoToolBar().
|
private |
Referenced by createCustomActions(), and setupCustomUi().
|
private |
Referenced by createCustomActions(), setupCustomUi(), updateTempoToolBar(), and ~CAMainWin().
|
private |
|
private |
|
private |
Referenced by createCustomActions(), and setupCustomUi().
|
private |
Referenced by createCustomActions(), setupCustomUi(), updateTimeSigToolBar(), and ~CAMainWin().
|
private |
| QSpinBox* CAMainWin::uiTupletActualNumber |
|
private |
Referenced by setupCustomUi(), and updatePlayableToolBar().
|
private |
Referenced by createCustomActions(), setupCustomUi(), and updatePlayableToolBar().
|
private |
Referenced by setupCustomUi(), and updatePlayableToolBar().
| QSpinBox* CAMainWin::uiTupletNumber |
|
private |
Referenced by setupCustomUi(), and updatePlayableToolBar().
| CAMenuToolButton* CAMainWin::uiTupletType |
|
private |
Referenced by createCustomActions(), setupCustomUi(), and updateUndoRedoButtons().
|
private |
Referenced by createCustomActions(), setupCustomUi(), and updateVoiceToolBar().
|
private |
Referenced by createCustomActions(), on_uiVoiceName_returnPressed(), setupCustomUi(), and updateVoiceToolBar().
|
private |
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().
|
private |
Referenced by createCustomActions(), setupCustomUi(), and updateVoiceToolBar().
|
private |
Referenced by createCustomActions(), setupCustomUi(), updateVoiceToolBar(), and ~CAMainWin().
1.8.3