Mixxx

/home/maxime/Projets/Mixxx/1.10/mixxx/src/dlgprefcontrols.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           dlgprefcontrols.h  -  description
00003                              -------------------
00004     begin                : Sat Jul 5 2003
00005     copyright            : (C) 2003 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 DLGPREFCONTROLS_H
00019 #define DLGPREFCONTROLS_H
00020 
00021 #include "ui_dlgprefcontrolsdlg.h"
00022 #include "configobject.h"
00023 #include "mixxx.h"
00024 
00025 class QWidget;
00026 class ControlObjectThreadMain;
00027 class ControlPotmeter;
00028 class SkinLoader;
00029 class PlayerManager;
00030 
00035 class DlgPrefControls : public QWidget, public Ui::DlgPrefControlsDlg  {
00036     Q_OBJECT
00037 public:
00038     DlgPrefControls(QWidget *parent, MixxxApp *mixxx,
00039                     SkinLoader* pSkinLoader, PlayerManager* pPlayerManager,
00040                     ConfigObject<ConfigValue> *pConfig);
00041     ~DlgPrefControls();
00042 public slots:
00043     void slotUpdate();
00044     void slotSetRateRange(int pos);
00045     void slotSetRateDir(int pos);
00046     void slotSetRateTempLeft(double);
00047     void slotSetRateTempRight(double);
00048     void slotSetRatePermLeft(double);
00049     void slotSetRatePermRight(double);
00050     void slotSetVisuals(int pos);
00051     void slotSetTooltips(int pos);
00052     void slotSetSkin(int);
00053     void slotSetScheme(int);
00054     void slotUpdateSchemes();
00055     void slotSetPositionDisplay(int);
00056     void slotSetPositionDisplay(double);
00057     void slotSetAllowTrackLoadToPlayingDeck(int);
00058     void slotSetCueDefault(int);
00059     void slotSetCueRecall(int);
00060     void slotSetRateRamp(bool);
00061     void slotSetRateRampSensitivity(int);
00062     void slotApply();
00063 private:
00065     ConfigObject<ConfigValue> *m_pConfig;
00066     ControlObject* m_pControlPositionDisplay;
00067     QList<ControlObjectThreadMain*> m_cueControls;
00068     QList<ControlObjectThreadMain*> m_rateControls;
00069     QList<ControlObjectThreadMain*> m_rateDirControls;
00070     QList<ControlObjectThreadMain*> m_rateRangeControls;
00071     PlayerManager* m_pPlayerManager;
00072     MixxxApp *m_mixxx;
00073     SkinLoader* m_pSkinLoader;
00074 };
00075 
00076 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines