|
Canorus 0.0
|
Keysignature ctl for user interface actions. More...
#include <keysignaturectl.h>

Public Slots | |
| void | on_uiInsertKeySig_toggled (bool) |
| void | on_uiKeySig_activated (int) |
Public Member Functions | |
| CAKeySignatureCtl (CAMainWin *poMainWin, const QString &oHash) | |
| ~CAKeySignatureCtl () | |
| void | setupActions () |
Protected Attributes | |
| CAMainWin * | _poMainWin |
Private Attributes | |
| const QString | _oHash |
Keysignature ctl for user interface actions.
Copyright (c) 2006-2010, 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.
Instances of this class can be used for user interactions of placing key signatures into the score
Default Construktor Besides standard initialization it creates a dummy object. Though not implemented we assume that the dummy object has at least one signal called dummyToggle. We connect this signal manually to our slot myToggle.
References _poMainWin.
| CAKeySignatureCtl::~CAKeySignatureCtl | ( | ) |
|
slot |
References _oHash, _poMainWin, CAMainWin::InsertMode, CAMusElement::KeySignature, CAMainWin::musElementFactory(), CAMainWin::setMode(), and CAMusElementFactory::setMusElementType().

|
slot |
Changes the number of accidentals.
References _poMainWin, CAUndo::createUndoCommand(), CAMainWin::currentScoreView(), CAMainWin::currentSheet(), CADiatonicKey::diatonicKeyToString(), CAMainWin::document(), CAMainWin::EditMode, CADiatonicKey::gender(), CAMainWin::InsertMode, CAMainWin::mode(), CAMainWin::musElementFactory(), CADiatonicKey::numberOfAccs(), CAUndo::pushUndoCommand(), CACanorus::rebuildUI(), CAScoreView::selection(), CAKeySignature::setDiatonicKey(), CAMusElementFactory::setDiatonicKeyGender(), CAMusElementFactory::setDiatonicKeyNumberOfAccs(), CAFunctionMark::setKey(), and CACanorus::undo().

| void CAKeySignatureCtl::setupActions | ( | ) |
References _poMainWin, and CACanorus::connectSlotsByName().
Referenced by CAKeySignatureUI::CAKeySignatureUI().


|
private |
Referenced by on_uiInsertKeySig_toggled().
|
protected |
Referenced by CAKeySignatureCtl(), on_uiInsertKeySig_toggled(), on_uiKeySig_activated(), and setupActions().