Salome HOME
Fix for Bug IPAL8945
[modules/visu.git] / src / VVTK / VVTK_RecorderDlg.h
1 //  VISU VISUGUI : GUI of VISU component
2 //
3 //  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 //
6 //  This library is free software; you can redistribute it and/or
7 //  modify it under the terms of the GNU Lesser General Public
8 //  License as published by the Free Software Foundation; either
9 //  version 2.1 of the License.
10 //
11 //  This library is distributed in the hope that it will be useful,
12 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 //  Lesser General Public License for more details.
15 //
16 //  You should have received a copy of the GNU Lesser General Public
17 //  License along with this library; if not, write to the Free Software
18 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 //
20 //  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
21 //
22 //
23 //
24 //  File   : VVTK_RecorderDlg.h
25 //  Author : Oleg UVAROV
26 //  Module : VISU
27 //  $Header$
28
29 #ifndef VVTK_RECORDERDLG_H
30 #define VVTK_RECORDERDLG_H
31
32 #include <qdatetime.h>
33 #include <qdialog.h>
34
35 class QCheckBox;
36 class QComboBox;
37 class QGroupBox;
38 class QLCDNumber;
39 class QLineEdit;
40 class QPushButton;
41 class QTimer;
42
43 class QtxDblSpinBox;
44 class QtxIntSpinBox;
45
46 class VVTK_Recorder;
47
48 //! Recorder Dialog.
49 class VVTK_RecorderDlg : public QDialog
50 {
51   Q_OBJECT
52
53 public:
54   VVTK_RecorderDlg( QWidget*, VVTK_Recorder* );
55   ~VVTK_RecorderDlg();
56
57   virtual void     show();
58
59   QString          fileName() const { return myFileName; }
60
61 protected slots:
62   void             onStart();
63   void             onClose();
64
65   bool             onBrowseFile();
66
67 private:
68   VVTK_Recorder*   myRecorder;
69   QString          myFileName;
70
71   QLineEdit*       myFileNameLineEdit;
72
73   QComboBox*       myRecordingModeComboBox;
74   QtxDblSpinBox*   myFPSSpinBox;
75   QtxIntSpinBox*   myQualitySpinBox;
76   QCheckBox*       myProgressiveCheckBox;
77
78 };
79
80 #endif