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_GROUP_ELEMENT_H__ 14 #define __INSPECTOR_GROUP_ELEMENT_H__ 15 16 #include "inspectorBase.h" 17 #include "ui_inspector_group_element.h" 18 19 namespace Ms { 20 21 //--------------------------------------------------------- 22 // InspectorGroupElement 23 //--------------------------------------------------------- 24 25 class InspectorGroupElement : public InspectorBase { 26 Q_OBJECT 27 28 Ui::InspectorGroupElement ge; 29 QPushButton* notes; 30 QPushButton* graceNotes; 31 QPushButton* rests; 32 33 private slots: 34 void setColor(); 35 void setVisible(); 36 void setInvisible(); 37 void enableAutoplace(); 38 void disableAutoplace(); 39 void notesClicked(); 40 void graceNotesClicked(); 41 void restsClicked(); 42 43 public: 44 InspectorGroupElement(QWidget* parent); 45 }; 46 47 48 } // namespace Ms 49 #endif 50 51 52