MuseScore  3.4
Music composition and notation
omrpanel.h
Go to the documentation of this file.
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 #include "config.h"
14 
15 #ifdef OMR
16 
17 #ifndef __OMRPANEL_H__
18 #define __OMRPANEL_H__
19 
20 #include "ui_omrpanel.h"
21 
22 namespace Ms {
23 
24 class OmrView;
25 
26 //---------------------------------------------------------
27 // OmrPanel
28 //---------------------------------------------------------
29 
30 class OmrPanel : public QDockWidget {
31  Q_OBJECT
32 
33  Ui::OmrPanel op;
34 
35  OmrView* omrView;
36 
37  virtual void closeEvent(QCloseEvent*);
38  void blockSignals(bool);
39  void enableGui(bool);
40 
41  private slots:
42  void showBarlinesToggled(bool);
43  void showLinesToggled(bool);
44  void showSlicesToggled(bool);
45  void showStavesToggled(bool);
46  void processClicked();
47  void spatiumChanged(double);
48 
49  signals:
50  void omrPanelVisible(bool);
51 
52  public slots:
53 
54  public:
55  OmrPanel(QWidget* parent = 0);
56  void setOmrView(OmrView*);
57  };
58 
59 
60 }// namespace Ms
61 #endif
62 #endif
Definition: aeolus.cpp:26