VR-Exchange 2.1 API Documentation
fileEdit.h
Go to the documentation of this file.
1 /******************************************************************************
2  ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 ******************************************************************************/
5 
6 
9 
10 #ifndef fileEdit_H_
11 #define fileEdit_H_
12 
13 #include <namespace.h>
14 #include <QtGui/QWidget>
15 #include <QtCore/QString>
16 
17 class QString;
18 class QLineEdit;
19 class QPushButton;
20 
21 namespace MAKVrExchange
22 {
24  {
25  Q_OBJECT
26  public:
27 
30  {
32  SaveFile
33  };
34 
36  DtFileEdit(QWidget* parent=0,Qt::WindowFlags f=0 );
37 
39  virtual ~DtFileEdit();
40 
43  void setFileOperation(FileOperation op);
44 
46  FileOperation fileOperation() const;
47 
49  void setExtension(const QString& extension);
50 
52  void setFilename(const QString& filename);
53 
55  QString filename() const;
56 
57  signals:
58 
60  void filenameChanged(const QString&);
61 
62  public slots:
63 
64  virtual void showFileDialog();
65 
67  virtual void emitFilenameChanged();
68 
69 
70  protected:
71 
73  QString myExtension;
75  QPushButton* myBrowseButton;
76 
77  };
78 
79 }
80 
81 #endif

Document ID: Generated on Tue Aug 7 22:07:13 EDT 2012 from SVN revision 117874
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)