Mixxx

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

Go to the documentation of this file.
00001 /***************************************************************************
00002                    wabstractcontrol.h  -  Abstract Control Widget
00003                              -------------------
00004     copyright            : (C) 2007 by Wesley Stessens
00005  ***************************************************************************/
00006 
00007 /***************************************************************************
00008  *                                                                         *
00009  *   This program is free software; you can redistribute it and/or modify  *
00010  *   it under the terms of the GNU General Public License as published by  *
00011  *   the Free Software Foundation; either version 2 of the License, or     *
00012  *   (at your option) any later version.                                   *
00013  *                                                                         *
00014  ***************************************************************************/
00015 
00016 #ifndef WABSTRACTCONTROL_H
00017 #define WABSTRACTCONTROL_H
00018 
00019 #include <QObject>
00020 #include "wwidget.h"
00021 
00022 class WAbstractControl : public WWidget {
00023    Q_OBJECT
00024 public:
00025     WAbstractControl(QWidget *parent=0, float defaultValue=0.);
00026     ~WAbstractControl();
00028     void setDefaultValue(float value);
00029 protected:
00031     void reset();
00033     float m_fDefaultValue;
00035     bool m_bRightButtonPressed;
00036 };
00037 
00038 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines