]> SALOME platform Git repositories - modules/visu.git/blob - src/VVTK/VVTK_RecorderDlg.h
Salome HOME
Join modifications from BR_Dev_For_4_0 tag V4_1_1.
[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.salome-platform.org/ or email : webmaster.salome@opencascade.com
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 private:
62   void             keyPressEvent( QKeyEvent* e );
63
64 protected slots:
65   void             onStart();
66   void             onClose();
67   void             onHelp();
68
69   bool             onBrowseFile();
70
71 private:
72   VVTK_Recorder*   myRecorder;
73   QString          myFileName;
74
75   QLineEdit*       myFileNameLineEdit;
76
77   QComboBox*       myRecordingModeComboBox;
78   QtxDblSpinBox*   myFPSSpinBox;
79   QtxIntSpinBox*   myQualitySpinBox;
80   QCheckBox*       myProgressiveCheckBox;
81
82 };
83
84 #endif