Canorus  0.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 ()
 

Additional Inherited Members

- Private Attributes inherited from Ui_uiTransposeView
QWidgetdockWidgetContents
 
QVBoxLayout * verticalLayout_4
 
QVBoxLayout * verticalLayout
 
QVBoxLayout * verticalLayout_2
 
QRadioButton * uiByInterval
 
QHBoxLayout * horizontalLayout_2
 
QComboBox * uiIntervalQuality
 
QComboBox * uiIntervalQuantity
 
QComboBox * uiIntervalDir
 
QRadioButton * uiByKeySig
 
QHBoxLayout * horizontalLayout
 
QComboBox * uiKeySigFrom
 
QLabel * uiTo
 
QComboBox * uiKeySigTo
 
QComboBox * uiKeySigDir
 
QVBoxLayout * verticalLayout_3
 
QRadioButton * uiBySemitones
 
QSpinBox * uiSemitones
 
QDialogButtonBox * uiApply
 
QSpacerItem * verticalSpacer
 

Constructor & Destructor Documentation

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

Here is the call graph for this function:

CATransposeView::~CATransposeView ( )
virtual

Member Function Documentation

void CATransposeView::on_uiApply_clicked ( QAbstractButton *  b)
privateslot
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(), 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  )
privateslot

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