Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SVTK_RecorderDlg.h
Go to the documentation of this file.
1 // Copyright (C) 2007-2016 CEA/DEN, EDF R&D, 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