Main Page   Class Hierarchy   Compound List   File List   Compound Members   Related Pages  

gapedelaycontroller.h

00001 //gapesimplecontroller.h
00002 //Dave Chisholm dkc@ccrma.stanford.edu
00003 //11/24/00
00004 
00005 #ifndef _GAPE_DELAY_CONTROLLER_H_
00006 #define _GAPE_DELAY_CONTROLLER_H_
00007 
00008 #include "gapecontroller.h"
00009 #include <qlabel.h>
00010 #include "qwt_slider.h"
00011 #include <qlayout.h>
00012 #include <qlcdnumber.h>
00013 #include <qcheckbox.h>
00014 #include <qhbox.h>
00015 #include <qpushbutton.h>
00016 
00017 #define GAPE_DELAY_CONTROLLER_HEIGHT 70
00018 #define GAPE_DELAY_CONTROLLER_WIDTH 200
00019 #define GAPE_DELAY_CONTROLLER_DELAY_MAX 2000.0
00020 #define GAPE_DELAY_CONTROLLER_DELAY_MIN 0
00021 #define GAPE_DELAY_CONTROLLER_DELAY_STEP 0.5
00022 #define GAPE_DELAY_CONTROLLER_DEFAULT_DELAY 100.0
00023 
00031 class GapeDelayController : public GapeController
00032 {
00033   Q_OBJECT
00034     public:
00035         QLabel* title;
00036         QLabel* delayLabel;
00037         QLabel* muteLabel;
00038         QLabel* clearLabel;
00039         QPushButton* clearButton;
00040         QwtSlider* delaySlider;
00041         QLCDNumber* delayLcd;
00042         QCheckBox* muteBox;
00043         QHBox* delayControls;
00044         QHBox* muteControls;
00045         QVBoxLayout* columnLayout;
00046         QSize preferredSize;
00047 
00053         GapeDelayController(QWidget* parent=0, const char * name=0, const QPixmap& icon=0);
00054 
00055 
00059         ~GapeDelayController();
00060 
00061     virtual QSize sizeHint() const;
00062 
00063     signals:
00064         void emitDelay(double delay);
00065         void emitClear();
00066 
00067     protected:
00068         QFont titleFont;
00069 };
00070 #endif

Generated at Thu Jun 21 13:28:49 2001 for GAPE by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001