qt_fileParams.h
1 /***************************************************************************
2  *
3  * Copyright (C) 1999 by Willem van Straten
4  * Licensed under the Academic Free License version 2.1
5  *
6  ***************************************************************************/
7 #ifndef __QT_FILEEPH_H
8 #define __QT_FILEEPH_H
9 
10 #include "psrephem.h"
11 
12 #include <string>
13 #include <qfiledialog.h>
14 
15 class qt_fileParams : public QFileDialog
16 {
17  Q_OBJECT
18 
19  public:
20  static bool verbose;
21  qt_fileParams (const QString& startname = QString::null, QWidget* parent=0);
22 
23  // open() and save() return zero if the user cancels, 1 otherwise
24  int open ( Legacy::psrephem& eph );
25  int save ( const Legacy::psrephem& eph );
26 
27  // string filename () { return string (fileName); };
28  protected slots:
29  // called when the user has chosen a filename
30  void chosen ( const QString & );
31 
32  protected:
33  std::string fileName;
34 };
35 
36 #endif
bool verbose
Definition: timer++.C:25
static unsigned verbose
A verbosity flag that can be set for debugging purposes.
Definition: IntegrationManager.h:38

Generated using doxygen 1.8.17