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

TxqMovieCntrlDlog.h

Go to the documentation of this file.
00001 //--------------------------------------------------------------------
00002 //
00003 // File:    TxqMovieCntrlDlog.h
00004 //
00005 // Purpose: Class definition for a dialog to edit the movie control options
00006 //
00007 // Version: $Id: TxqMovieCntrlDlog.h,v 1.4 2001/10/12 20:08:08 kgl Exp $
00008 //
00009 // Copyright (c) 2000 by Tech-X Corporation.  All rights reserved.
00010 //
00011 // Author:  Kelly G. Luetkemeyer
00012 //
00013 //--------------------------------------------------------------------
00014 
00015 #ifndef TXQ_MOVIE_CNTRL_DLOG_H
00016 #define TXQ_MOVIE_CNTRL_DLOG_H
00017 
00018 // NO_DEBUG is needed for correct qstring implementation
00019 #define NO_DEBUG
00020 
00021 // txmath includes
00022 #include <TxAttributeSet.h>
00023 
00024 // Qt includes
00025 #include <qtabdialog.h>
00026 #include <qstring.h>
00027 #include <qvbox.h>
00028 #include <qlabel.h>
00029 #include <qslider.h>
00030 #include <qvalidator.h>
00031 #include <qspinbox.h>
00032 
00033 
00046 class TxqMovieCntrlDlog : public QTabDialog
00047 {
00048     Q_OBJECT
00049 
00050 public:
00051 
00059   TxqMovieCntrlDlog( QWidget *parent, const char *name, TxAttributeSet *attrib);
00060 
00064   virtual ~TxqMovieCntrlDlog();
00065 
00066 protected:
00067 
00071   virtual void controlTab();
00072 
00076   QVBox *controlBox;
00077 
00081   TxAttributeSet *cntrlOptions;
00082 
00086   int startFrame;
00087 
00091   int endFrame;
00092 
00096   int maxFrame;
00097 
00101   int frameNumber;
00102 
00106   int frameLoop;
00107 
00111   int frameStep;
00112 
00113 protected slots:
00114 
00119   void setFrame(int number);
00120 
00125   void getStartFrame(int number);
00126 
00131   void getEndFrame(int number);
00132 
00137   void applyOptions();
00138 
00139 signals:
00143   void applyOptionsSignal();
00144 
00145 private:
00146 
00150   QLabel *frameNumberTitle;
00151 
00155   QSpinBox *start;
00156 
00160   QSlider *frameSlider;
00161 
00165   QSpinBox *end;
00166   
00167 
00168 };
00169 
00170 #endif
Copyright Tech-X Corporation, all rights reserved.