Back to index

salome-gui  6.5.0
SVTK_RecorderDlg.h
Go to the documentation of this file.
00001 // Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
00002 //
00003 // This library is free software; you can redistribute it and/or
00004 // modify it under the terms of the GNU Lesser General Public
00005 // License as published by the Free Software Foundation; either
00006 // version 2.1 of the License.
00007 //
00008 // This library is distributed in the hope that it will be useful,
00009 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00010 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011 // Lesser General Public License for more details.
00012 //
00013 // You should have received a copy of the GNU Lesser General Public
00014 // License along with this library; if not, write to the Free Software
00015 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
00016 //
00017 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
00018 //
00019 
00020 #ifndef SVTK_RECORDERDLG_H
00021 #define SVTK_RECORDERDLG_H
00022 
00023 #include <QDialog>
00024 
00025 class QCheckBox;
00026 class QComboBox;
00027 class QGroupBox;
00028 class QLCDNumber;
00029 class QLineEdit;
00030 class QPushButton;
00031 class QTimer;
00032 
00033 class QtxDoubleSpinBox;
00034 class QtxIntSpinBox;
00035 
00036 class SVTK_Recorder;
00037 
00038 class SVTK_RecorderDlg : public QDialog
00039 {
00040   Q_OBJECT
00041 
00042 public:
00043   SVTK_RecorderDlg( QWidget*, SVTK_Recorder* );
00044   ~SVTK_RecorderDlg();
00045 
00046   int              exec();
00047 
00048   QString          fileName() const { return myFileName; }
00049 
00050 private:
00051   virtual void     keyPressEvent( QKeyEvent* );
00052 
00053 protected slots:
00054   void             onStart();
00055   void             onClose();
00056   void             onHelp();
00057 
00058   bool             onBrowseFile();
00059 
00060 private:
00061   SVTK_Recorder*   myRecorder;
00062   QString          myFileName;
00063 
00064   QLineEdit*       myFileNameLineEdit;
00065 
00066   QComboBox*        myRecordingModeComboBox;
00067   QtxDoubleSpinBox* myFPSSpinBox;
00068   QtxIntSpinBox*    myQualitySpinBox;
00069   QCheckBox*        myProgressiveCheckBox;
00070 };
00071 
00072 #endif