MuseScore  3.4
Music composition and notation
workspacedialog.h
Go to the documentation of this file.
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);
34  void retranslate() { retranslateUi(this); }
35 
36  };
37 
38 }
39 #endif // __WORKSPACEDIALOG_H__
virtual void changeEvent(QEvent *event)
Definition: workspacedialog.cpp:162
Definition: workspacedialog.h:20
WorkspaceDialog(QWidget *parent=0)
Definition: workspacedialog.cpp:54
void display()
Definition: workspacedialog.cpp:72
bool editMode
Definition: workspacedialog.h:26
void accepted()
Definition: workspacedialog.cpp:98
Definition: aeolus.cpp:26
void retranslate()
Definition: workspacedialog.h:34