Version: 9.12.0
SVTK_RecorderDlg.h
Go to the documentation of this file.
1 // Copyright (C) 2007-2023 CEA, EDF, OPEN CASCADE
2 //
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License, or (at your option) any later version.
7 //
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 // Lesser General Public License for more details.
12 //
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16 //
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19 
20 #ifndef SVTK_RECORDERDLG_H
21 #define SVTK_RECORDERDLG_H
22 
23 #include <QDialog>
24 
25 class QCheckBox;
26 class QComboBox;
27 class QGroupBox;
28 class QLCDNumber;
29 class QLineEdit;
30 class QPushButton;
31 class QTimer;
32 
33 class QtxDoubleSpinBox;
34 class QtxIntSpinBox;
35 
36 class SVTK_Recorder;
37 
38 class SVTK_RecorderDlg : public QDialog
39 {
40  Q_OBJECT
41 
42 public:
45 
46  int exec();
47 
48  QString fileName() const { return myFileName; }
49 
50 private:
51  virtual void keyPressEvent( QKeyEvent* );
52 
53 protected slots:
54  void onStart();
55  void onClose();
56  void onHelp();
57 
58  bool onBrowseFile();
59 
60 private:
62  QString myFileName;
63 
65 
70 };
71 
72 #endif
Enhanced version of the Qt's double spin box.
Definition: QtxDoubleSpinBox.h:32
Enhanced version of the Qt's spin box.
Definition: QtxIntSpinBox.h:34
Definition: SVTK_RecorderDlg.h:39
QLineEdit * myFileNameLineEdit
Definition: SVTK_RecorderDlg.h:64
void onStart()
Definition: SVTK_RecorderDlg.cxx:131
QString fileName() const
Definition: SVTK_RecorderDlg.h:48
QtxIntSpinBox * myQualitySpinBox
Definition: SVTK_RecorderDlg.h:68
QString myFileName
Definition: SVTK_RecorderDlg.h:62
~SVTK_RecorderDlg()
Definition: SVTK_RecorderDlg.cxx:127
SVTK_RecorderDlg(QWidget *, SVTK_Recorder *)
Definition: SVTK_RecorderDlg.cxx:46
bool onBrowseFile()
Definition: SVTK_RecorderDlg.cxx:173
void onClose()
Definition: SVTK_RecorderDlg.cxx:147
SVTK_Recorder * myRecorder
Definition: SVTK_RecorderDlg.h:61
int exec()
Definition: SVTK_RecorderDlg.cxx:191
QComboBox * myRecordingModeComboBox
Definition: SVTK_RecorderDlg.h:66
void onHelp()
Definition: SVTK_RecorderDlg.cxx:152
QCheckBox * myProgressiveCheckBox
Definition: SVTK_RecorderDlg.h:69
QtxDoubleSpinBox * myFPSSpinBox
Definition: SVTK_RecorderDlg.h:67
virtual void keyPressEvent(QKeyEvent *)
Definition: SVTK_RecorderDlg.cxx:201
Definition: SVTK_Recorder.h:35