1 //============================================================================= 2 // MuseScore 3 // Music Composition & Notation 4 // 5 // Copyright (C) 2018 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 __RESET_BUTTON_H__ 14 #define __RESET_BUTTON_H__ 15 16 namespace Ms { 17 18 //--------------------------------------------------------- 19 // ResetButton 20 //--------------------------------------------------------- 21 22 class ResetButton : public QWidget { 23 Q_OBJECT 24 QPushButton* reset; 25 QPushButton* setStyle; 26 27 private slots: 28 29 signals: 30 void resetClicked(); 31 void setStyleClicked(); 32 33 public: 34 ResetButton(QWidget* parent = 0); 35 void enableSetStyle(bool); 36 }; 37 38 } // namespace 39 40 #endif 41 42 43 44