source: trunk/source/visualization/OpenGL/include/G4OpenGLQtMovieDialog.hh @ 1355

Last change on this file since 1355 was 866, checked in by garnier, 16 years ago

see history

  • Property svn:mime-type set to text/cpp
File size: 3.1 KB
Line 
1//
2// ********************************************************************
3// * License and Disclaimer                                           *
4// *                                                                  *
5// * The  Geant4 software  is  copyright of the Copyright Holders  of *
6// * the Geant4 Collaboration.  It is provided  under  the terms  and *
7// * conditions of the Geant4 Software License,  included in the file *
8// * LICENSE and available at  http://cern.ch/geant4/license .  These *
9// * include a list of copyright holders.                             *
10// *                                                                  *
11// * Neither the authors of this software system, nor their employing *
12// * institutes,nor the agencies providing financial support for this *
13// * work  make  any representation or  warranty, express or implied, *
14// * regarding  this  software system or assume any liability for its *
15// * use.  Please see the license in the file  LICENSE  and URL above *
16// * for the full disclaimer and the limitation of liability.         *
17// *                                                                  *
18// * This  code  implementation is the result of  the  scientific and *
19// * technical work of the GEANT4 collaboration.                      *
20// * By using,  copying,  modifying or  distributing the software (or *
21// * any work based  on the software)  you  agree  to acknowledge its *
22// * use  in  resulting  scientific  publications,  and indicate your *
23// * acceptance of all terms of the Geant4 Software license.          *
24// ********************************************************************
25//
26//
27// $Id: G4OpenGLQtMovieDialog.hh,v 1.4 2008/10/07 05:36:11 lgarnier Exp $
28// GEANT4 tag $Name:
29//
30//
31
32#ifdef G4VIS_BUILD_OPENGLQT_DRIVER
33
34#ifndef G4OPENGLQTMOVIEDIALOG_HH
35#define G4OPENGLQTMOVIEDIALOG_HH
36
37#include <qdialog.h>
38
39class QPushButton;
40class QLabel;
41class QLineEdit;
42class G4OpenGLQtViewer;
43
44#if QT_VERSION >= 0x040000
45class QGroupBox;
46#endif
47
48/** The G4OpenGLQtMovieDialog class provide a Dialog displaying differents options
49    for each file format
50*/
51class G4OpenGLQtMovieDialog : public QDialog
52{
53  Q_OBJECT
54
55 public:
56  /** Construct a G4OpenGLQtMovieDialog
57      @param parent : parent widget
58  */
59  G4OpenGLQtMovieDialog(G4OpenGLQtViewer*,QWidget*);
60
61  /** Destroys G4OpenGLQtMovieDialog */
62  ~G4OpenGLQtMovieDialog();
63  void setRecordingStatus(QString);
64  void setRecordingInfos(QString);
65
66private :
67  QLineEdit* fEncoderPath;
68  QLineEdit* fTempFolderPath;
69  QLineEdit* fSaveFileName;
70  G4OpenGLQtViewer *fParentViewer;
71  QLabel *fEncoderStatus;
72  QLabel *fTempFolderStatus;
73  QLabel *fSaveFileStatus;
74  QLabel *fRecordingStatus;
75  QLabel *fRecordingInfos;
76  QPushButton *fButtonStopFinishClose;
77  QPushButton *fButtonSave;
78  QPushButton *fButtonStartPause;
79
80public slots :
81  void stopFinishClose();
82  void save();
83  bool checkEncoderSwParameters();
84  bool checkSaveFileNameParameters();
85  bool checkTempFolderParameters();
86
87private slots :
88  void selectEncoderPathAction();
89  void selectTempPathAction();
90  void selectSaveFileNameAction();
91  void resetRecording();
92  void enabledApplyButton();
93};
94
95#endif
96
97#endif
Note: See TracBrowser for help on using the repository browser.