MuseScore  3.4
Music composition and notation
denomspinbox.h
Go to the documentation of this file.
1 //=============================================================================
2 // Awl
3 // Audio Widget Library
4 //
5 // Copyright (C) 2009 by 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 //
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
14 //
15 // You should have received a copy of the GNU General Public License
16 // along with this program; if not, write to the Free Software
17 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 //=============================================================================
19 
20 #ifndef __AWLDENOMSPINBOX_H__
21 #define __AWLDENOMSPINBOX_H__
22 
23 namespace Awl {
24 
25 //---------------------------------------------------------
26 // DenominatorSpinBox
27 //---------------------------------------------------------
28 
29 class DenominatorSpinBox : public QSpinBox {
30  Q_OBJECT
31 
32  virtual QValidator::State validate(QString& input, int& pos) const;
33  virtual void fixup(QString& input) const;
34 
35  public:
36  virtual void stepBy(int steps);
37  DenominatorSpinBox(QWidget* parent = 0);
38  };
39 }
40 
41 #endif
42 
virtual void fixup(QString &input) const
Definition: denomspinbox.cpp:74
DenominatorSpinBox(QWidget *parent=0)
Definition: denomspinbox.cpp:28
Definition: denomspinbox.h:29
virtual QValidator::State validate(QString &input, int &pos) const
Definition: denomspinbox.cpp:57
Definition: aslider.cpp:23
virtual void stepBy(int steps)
Definition: denomspinbox.cpp:39