1 //=============================================================================
2 //  MuseScore
3 //  Music Composition & Notation
4 //
5 //  Copyright (C) 2012 Werner Schweer and others
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 #ifndef __INSPECTOR_HAIRPIN_H__
14 #define __INSPECTOR_HAIRPIN_H__
15 
16 #include "inspector.h"
17 // #include "inspectorBase.h"
18 #include "inspectorTextLineBase.h"
19 #include "ui_inspector_hairpin.h"
20 #include "ui_inspector_line.h"
21 
22 namespace Ms {
23 
24 //---------------------------------------------------------
25 //   InspectorHairpin
26 //---------------------------------------------------------
27 
28 // class InspectorHairpin : public InspectorElementBase {
29 class InspectorHairpin : public InspectorTextLineBase {
30       Q_OBJECT
31 
32 //      Ui::InspectorLine l;
33       Ui::InspectorHairpin h;
34 
35       void updateLineType();
36       virtual void setElement() override;
37       virtual void valueChanged(int idx) override;
38 
39    public:
40       InspectorHairpin(QWidget* parent);
41       virtual void postInit() override;
42       };
43 
44 
45 } // namespace Ms
46 #endif
47 
48