MuseScore  3.4
Music composition and notation
scaleSelect.h
Go to the documentation of this file.
1 //=============================================================================
2 // MuseScore
3 // Music Composition & Notation
4 //
5 // Copyright (C) 2017 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 __SCALE_SELECT_H__
14 #define __SCALE_SELECT_H__
15 
16 #include "ui_scale_select.h"
17 
18 namespace Ms {
19 
20 //---------------------------------------------------------
21 // ScaleSelect
22 //---------------------------------------------------------
23 
24 class ScaleSelect : public QWidget, public Ui::ScaleSelect {
25  Q_OBJECT
26 
27  bool _lock;
28  void blockScale(bool val);
29 
30  private slots:
31  void xScaleChanged();
32  void yScaleChanged();
33 
34  signals:
35  void scaleChanged(const QSizeF&);
36 
37  public:
38  ScaleSelect(QWidget* parent);
39  QSizeF scale() const;
40  void setScale(const QSizeF&);
41  void setLock(bool);
42  };
43 
44 }
45 
46 
47 #endif
48 
49 
void setScale(const QSizeF &)
Definition: scaleSelect.cpp:90
void xScaleChanged()
Definition: scaleSelect.cpp:47
QSizeF scale() const
Definition: scaleSelect.cpp:71
void scaleChanged(const QSizeF &)
Definition: scaleSelect.h:24
void blockScale(bool val)
Definition: scaleSelect.cpp:80
Definition: aeolus.cpp:26
ScaleSelect(QWidget *parent)
Definition: scaleSelect.cpp:22
bool _lock
Definition: scaleSelect.h:27
void yScaleChanged()
Definition: scaleSelect.cpp:57
void setLock(bool)
Definition: scaleSelect.cpp:36