Fairly large overhaul of the JuK codebase to beat out a lot of the Qt 3 stuff.
[kdemultimedia.git] / kmid / channel4d.h
blob501682e584f291a42cc25844367672f6157ce697
1 /**************************************************************************
3 channel4d.h - KMidChannel4D widget, with 3D look and filled
4 Copyright (C) 1998 Antonio Larrosa Jimenez
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 Send comments and bug fixes to larrosa@kde.org
21 or to Antonio Larrosa, Rio Arnoya, 10 5B, 29006 Malaga, Spain
23 ***************************************************************************/
25 #ifndef KMIDCHANNEL4D_H
26 #define KMIDCHANNEL4D_H
28 #include "channel.h"
30 class KMidChannel4D : public KMidChannel
32 private:
33 QBrush *brushR;
34 QBrush *brushW;
35 QBrush *brushB;
36 QPen *penR;
38 public:
39 KMidChannel4D(int chn,QWidget *parent);
42 virtual void drawDo (QPainter *qpaint,int x,int p);
43 virtual void drawDo__ (QPainter *qpaint,int x,int p);
44 virtual void drawRe (QPainter *qpaint,int x,int p);
45 virtual void drawRe__ (QPainter *qpaint,int x,int p);
46 virtual void drawMi (QPainter *qpaint,int x,int p);
47 virtual void drawFa (QPainter *qpaint,int x,int p);
48 virtual void drawFa__ (QPainter *qpaint,int x,int p);
49 virtual void drawSol (QPainter *qpaint,int x,int p);
50 virtual void drawSol__(QPainter *qpaint,int x,int p);
51 virtual void drawLa (QPainter *qpaint,int x,int p);
52 virtual void drawLa__ (QPainter *qpaint,int x,int p);
53 virtual void drawSi (QPainter *qpaint,int x,int p);
58 #endif