1 //============================================================================= 2 // MuseScore 3 // Music Composition & Notation 4 // 5 // Copyright (C) 2011 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_BEAM_H__ 14 #define __INSPECTOR_BEAM_H__ 15 16 #include "inspector.h" 17 #include "ui_inspector_beam.h" 18 #include "libmscore/property.h" 19 20 namespace Ms { 21 22 //--------------------------------------------------------- 23 // InspectorBeam 24 //--------------------------------------------------------- 25 26 class InspectorBeam : public InspectorElementBase { 27 Q_OBJECT 28 29 Ui::InspectorBeam b; 30 31 protected slots: 32 virtual void valueChanged(int idx) override; 33 34 protected: 35 virtual void setValue(const InspectorItem&, QVariant val) override; 36 37 public: 38 InspectorBeam(QWidget* parent); 39 }; 40 41 42 } // namespace Ms 43 #endif 44 45