Canorus  0.0
Public Slots | Public Member Functions | Private Slots | Private Member Functions | List of all members
CATransposeView Class Reference

#include <transposeview.h>

Inheritance diagram for CATransposeView:
Inheritance graph
[legend]

Public Slots

void show ()
 

Public Member Functions

 CATransposeView (CAMainWin *parent)
 
virtual ~CATransposeView ()
 

Private Slots

void updateUi (bool)
 
void on_uiApply_clicked (QAbstractButton *b)
 
void on_uiIntervalQuantity_currentIndexChanged (int)
 

Private Member Functions

void setupCustomUi ()
 
void updateKeySig1 ()
 

Constructor & Destructor Documentation

◆ CATransposeView()

CATransposeView::CATransposeView ( CAMainWin p)

Copyright (c) 2008, 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.

References setupCustomUi().

Here is the call graph for this function:

◆ ~CATransposeView()

CATransposeView::~CATransposeView ( )
virtual

Member Function Documentation

◆ on_uiApply_clicked

void CATransposeView::on_uiApply_clicked ( QAbstractButton *  b)
privateslot

◆ on_uiIntervalQuantity_currentIndexChanged

void CATransposeView::on_uiIntervalQuantity_currentIndexChanged ( int  newIndex)
privateslot

Updates the quality options when quantity is changed. This function hides minor and major quality for prime, fourth, fifth and octave and hides perfect quality for second, third, sixth and seventh.

References CAInterval::qualityToReadable().

Here is the call graph for this function:

◆ setupCustomUi()

void CATransposeView::setupCustomUi ( )
private

References CAKeySignatureUI::populateComboBox(), CAKeySignatureUI::populateComboBoxDirection(), CAInterval::quantityToReadable(), and updateUi().

Referenced by CATransposeView().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ show

void CATransposeView::show ( )
slot

Sets the KeySig1 key signature to the key signature of the first selected note.

References CAKeySignature::diatonicKey(), CADiatonicKey::diatonicKeyToString(), CAScoreView::selection(), CAScoreView::sheet(), and CASheet::staffList().

Referenced by CAMainWin::on_uiTranspose_triggered().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateKeySig1()

void CATransposeView::updateKeySig1 ( )
private

◆ updateUi

void CATransposeView::updateUi ( bool  )
privateslot

Referenced by setupCustomUi().

Here is the caller graph for this function:

The documentation for this class was generated from the following files: