MAK Data Logger API Documentation for DIS
lgrRemoteFileDialog.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #ifndef lgrRemoteFileDialog_H_
10 #define lgrRemoteFileDialog_H_
11 
12 #include "ui_openFileDialog.h"
13 #include "lgrRemoteFileWriter.h"
14 #include "remoteControlInterface.h"
15 
16 #include <QtGui/QDialog>
17 #include <QtCore/QString>
18 #include <QtCore/QMap>
19 
20 class QWidget;
21 
22 
23 namespace MAKLogger
24 {
26  class DtLgrRemoteMainWindow;
27 
29  {
30  Q_OBJECT
31  public:
34 
36  virtual ~DtLgrRemoteFileDialog();
37 
39  static QString getOpenFileName(
40  const QString& directory,
41  const QString& filter,
42  bool appendExtension = true,
43  QWidget* parent = 0,
44  const QString& caption = QString::null);
45 
47  virtual bool isCorrectNumberofLoggers( DtLgrRemoteFileWriter& fileReader );
48 
50  virtual bool isFilenameConstructed( DtLgrRemoteFileWriter& fileReader );
51 
53  virtual bool protocolsMatch( DtLgrRemoteFileWriter& fileReader );
54 
58  virtual void formatInputRcLgrFilename( DtFilename& inputFilename );
59 
60  public slots:
62  virtual void onOK();
63 
65  virtual void onCancel();
66 
68  virtual void onBrowse();
69 
71  virtual void onCheck();
72 
73  protected:
74  static QMap<QString,QString> theFilterDirectoryMap;
75 
77 
79 
80  private:
83 
85  DtLgrRemoteFileDialog& operator=(const DtLgrRemoteFileDialog& orig);
86  };
87 }
88 #endif

Document ID: Generated on Thu Apr 10 18:53:01 EDT 2014 from SVN revision 138105
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)