Canorus  0.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Slots | Public Member Functions | Private Slots | Private Member Functions
CATransposeView Class Reference

#include <transposeview.h>

Inheritance diagram for CATransposeView:
Inheritance graph
[legend]

List of all members.

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

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(), and Ui_uiTransposeView::setupUi().

Here is the call graph for this function:


Member Function Documentation

void CATransposeView::on_uiApply_clicked ( QAbstractButton *  b) [private, slot]
void CATransposeView::on_uiIntervalQuantity_currentIndexChanged ( int  newIndex) [private, slot]

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(), and Ui_uiTransposeView::uiIntervalQuality.

Here is the call graph for this function:

void CATransposeView::setupCustomUi ( ) [private]
void CATransposeView::show ( ) [slot]

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

References CAKeySignature::diatonicKey(), CADrawableKeySignature::diatonicKeyToRow(), CAScoreViewPort::selection(), CAScoreViewPort::sheet(), CASheet::staffList(), Ui_uiTransposeView::uiByInterval, and Ui_uiTransposeView::uiKeySigFrom.

Referenced by CAMainWin::on_uiTranspose_triggered().

Here is the call graph for this function:

Here is the caller graph for this function:

void CATransposeView::updateKeySig1 ( ) [private]
void CATransposeView::updateUi ( bool  ) [private, slot]

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