Canorus  0.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
drawablekeysignature.h
Go to the documentation of this file.
1 
8 #ifndef DRAWABLEKEYSIGNATURE_H_
9 #define DRAWABLEKEYSIGNATURE_H_
10 
12 #include "core/diatonickey.h"
13 
14 class CADrawableStaff;
15 class CAKeySignature;
17 
18 class QComboBox;
19 
21  public:
22  CADrawableKeySignature(CAKeySignature *keySig, CADrawableStaff *staff, double x, double y);
24 
25  void draw(QPainter *p, CADrawSettings s);
28 
29  static void populateComboBox( QComboBox *c );
30  static CADiatonicKey comboBoxRowToDiatonicKey( int row );
31  static int diatonicKeyToRow( CADiatonicKey k );
32  static void populateComboBoxDirection( QComboBox *c );
33 
34  private:
35  QList<CADrawableAccidental*> _drawableAccidentalList;
36 };
37 
38 #endif /*DRAWABLEKEYSIGNATURE_H_*/