1 //============================================================================= 2 // MuseScore 3 // Music Composition & Notation 4 // 5 // Copyright (C) 2002-2018 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 LICENCE.GPL 11 //============================================================================= 12 13 #ifndef __WORKSPACEDIALOG_H__ 14 #define __WORKSPACEDIALOG_H__ 15 16 #include "ui_workspacedialog.h" 17 18 namespace Ms { 19 20 class WorkspaceDialog : public QDialog, Ui::WorkspaceDialog 21 { 22 Q_OBJECT 23 24 public: 25 explicit WorkspaceDialog(QWidget *parent = 0); 26 bool editMode; // Set when editing the workspace 27 void display(); 28 29 private slots: 30 void accepted(); 31 32 protected: 33 virtual void changeEvent(QEvent* event); retranslate()34 void retranslate() { retranslateUi(this); } 35 36 }; 37 38 } 39 #endif // __WORKSPACEDIALOG_H__ 40