1 //=============================================================================
2 //  MuseScore
3 //  Music Composition & Notation
4 //
5 //  Copyright (C) 2013-2017 Werner Schweer
6 //
7 //  This program is free software; you can redistribute it and/or modify
8 //  it under the terms of the GNU General Public License version 2
9 //  as published by the Free Software Foundation and appearing in
10 //  the file LICENSE.GPL
11 //=============================================================================
12 
13 #include "inspectorFingering.h"
14 #include "libmscore/fingering.h"
15 
16 namespace Ms {
17 
18 //---------------------------------------------------------
19 //   InspectorFingering
20 //---------------------------------------------------------
21 
InspectorFingering(QWidget * parent)22 InspectorFingering::InspectorFingering(QWidget* parent)
23    : InspectorStaffText(parent)
24       {
25       }
26 
27 //---------------------------------------------------------
28 //   allowedTextStyles
29 //---------------------------------------------------------
30 
allowedTextStyles()31 const std::vector<Tid>& InspectorFingering::allowedTextStyles()
32       {
33       static const std::vector<Tid> _fingeringTextStyles = {
34             Tid::FINGERING,
35             Tid::LH_GUITAR_FINGERING,
36             Tid::RH_GUITAR_FINGERING,
37             Tid::STRING_NUMBER,
38             Tid::USER1,
39             Tid::USER2,
40             Tid::USER3,
41             Tid::USER4,
42             Tid::USER5,
43             Tid::USER6,
44             Tid::USER7,
45             Tid::USER8,
46             Tid::USER9,
47             Tid::USER10,
48             Tid::USER11,
49             Tid::USER12,
50             };
51 
52       return _fingeringTextStyles;
53       }
54 }
55 
56