Mixxx

/home/maxime/Projets/Mixxx/1.10/mixxx/src/widget/wdisplay.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           wdisplay.h  -  description
00003                              -------------------
00004     begin                : Fri Jun 21 2002
00005     copyright            : (C) 2002 by Tue & Ken Haste Andersen
00006     email                : haste@diku.dk
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef WDISPLAY_H
00019 #define WDISPLAY_H
00020 
00021 #include "wwidget.h"
00022 #include <qpixmap.h>
00023 #include <qstring.h>
00024 //Added by qt3to4:
00025 #include <QPaintEvent>
00026 
00031 class WDisplay : public WWidget  {
00032    Q_OBJECT
00033 public: 
00034     WDisplay(QWidget *parent=0);
00035     ~WDisplay();
00036     void setup(QDomNode node);
00037     void setPositions(int iNoPos);
00038     void setPixmap(int iPos, const QString &filename);
00039     
00040 private:
00042     void resetPositions();
00043     void paintEvent(QPaintEvent *);
00044 
00046     int m_iPos;
00048     int m_iNoPos;
00050     QPixmap **m_pPixmaps;
00051     };
00052 
00053 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines