MuseScore
3.4
Music composition and notation
Main Page
Related Pages
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
y
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
x
+
Typedefs
b
c
d
e
f
g
h
i
j
l
m
n
o
p
s
t
v
+
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Typedefs
+
Enumerations
a
c
d
e
f
g
h
l
m
o
p
r
s
t
v
x
+
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
z
+
Properties
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
z
+
Related Functions
a
b
c
f
i
l
m
o
p
q
r
s
t
v
z
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Functions
a
c
d
e
g
i
l
m
o
q
r
u
Variables
Typedefs
Enumerations
+
Enumerator
a
c
d
e
f
h
m
n
r
s
t
w
+
Macros
_
a
b
c
d
f
g
h
k
l
m
n
o
p
q
r
s
t
u
v
x
y
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
mscore
simplebutton.h
Go to the documentation of this file.
1
//=============================================================================
2
// MusE
3
// Linux Music Editor
4
//
5
// Copyright (C) 2002-2009 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 __SIMPLE_BUTTON_H__
21
#define __SIMPLE_BUTTON_H__
22
23
namespace
Ms
{
24
25
//---------------------------------------------------------
26
// SimpleButton
27
//---------------------------------------------------------
28
29
class
SimpleButton
:
public
QToolButton {
30
Q_OBJECT
31
32
virtual
QSize
minimumSizeHint
()
const
{
return
QSize(0, 0); }
33
34
public
:
35
SimpleButton
(QPixmap* on, QPixmap* off, QWidget* parent = 0);
36
SimpleButton
(
const
QString& on,
const
QString& off, QWidget* parent = 0);
37
SimpleButton
(
const
QString& s, QWidget* parent = 0);
38
};
39
}
40
41
#endif
42
Ms::SimpleButton::SimpleButton
SimpleButton(QPixmap *on, QPixmap *off, QWidget *parent=0)
Definition:
simplebutton.cpp:46
Ms::SimpleButton::minimumSizeHint
virtual QSize minimumSizeHint() const
Definition:
simplebutton.h:32
Ms
Definition:
aeolus.cpp:26
Ms::SimpleButton
Definition:
simplebutton.h:29
Generated by
1.8.13