MuseScore  3.4
Music composition and notation
sizeSelect.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 __SIZE_SELECT_H__
14 #define __SIZE_SELECT_H__
15 
16 #include "ui_size_select.h"
17 
18 namespace Ms {
19 
20 //---------------------------------------------------------
21 // SizeSelect
22 //---------------------------------------------------------
23 
24 class SizeSelect : public QWidget, public Ui::SizeSelect {
25  Q_OBJECT
26 
27  void blockSize(bool val);
28 
29  private slots:
30  void _sizeChanged();
31 
32  signals:
33  void valueChanged(const QVariant&);
34 
35  public:
36  SizeSelect(QWidget* parent);
37  void setSuffix(const QString&);
38  QVariant value() const;
39  void setValue(const QVariant&);
40  void setLock(bool val);
41  };
42 
43 }
44 
45 
46 #endif
47 
48 
void blockSize(bool val)
Definition: sizeSelect.cpp:53
QVariant value() const
Definition: sizeSelect.cpp:63
SizeSelect(QWidget *parent)
Definition: sizeSelect.cpp:21
Definition: sizeSelect.h:24
void valueChanged(const QVariant &)
void setValue(const QVariant &)
Definition: sizeSelect.cpp:72
Definition: aeolus.cpp:26
void setLock(bool val)
void _sizeChanged()
Definition: sizeSelect.cpp:44
void setSuffix(const QString &)
Definition: sizeSelect.cpp:34