Blame view

GetFileDialog.h 442 Bytes
3f2992b2c   bostx   V1.0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
  #ifndef GETFILEDIALOG_H
  #define GETFILEDIALOG_H
  
  #include <QDialog>
  #include <QLineEdit>
  
  class GetFileDialog: public QDialog
  {
    Q_OBJECT
  
      public:
    GetFileDialog(const QString &openFileMsg, const QString &fileType, QWidget *parent = 0);
    QString getFName() const;
  
    public slots:
    void setFName();
    void checkForm();
  
    private:
    QString m_fName;
    QLineEdit *m_fNameLE;
    QString m_openFileMsg;
    QString  m_fileType;
  };
  
  #endif