VR-Forces 4.2 Class Documentation
DtQtStaticFileDialog.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
13 #include <QtCore/QtGlobal>
14 #include <QtCore/QString>
15 
16 class QWidget;
17 class QStringList;
18 
19 namespace makVrv
20 {
21  class DtDe;
22 }
23 
24 namespace makVrf
25 {
30  {
31  public:
32 
33  enum Option
34  {
35  ShowDirsOnly = 0x01,
36  DontResolveSymlinks = 0x02,
37  DontConfirmOverwrite = 0x04,
38  DontUseSheet = 0x08,
39  DontUseNativeDialog = 0x10
40  };
41 
42  Q_DECLARE_FLAGS(Options, Option)
43 
44  static QString getExistingDirectory ( makVrv::DtDe& de, QWidget * parent = 0,
45  const QString & caption = QString(), const QString & dir = QString(),
46  Options options = ShowDirsOnly );
47 
48  static QString getOpenFileName ( makVrv::DtDe& de, QWidget * parent = 0,
49  const QString & caption = QString(), const QString & dir = QString(),
50  const QString & filter = QString(), QString * selectedFilter = 0,
51  Options options = 0 );
52 
53  static QStringList getOpenFileNames ( makVrv::DtDe& de, QWidget * parent = 0,
54  const QString & caption = QString(), const QString & dir = QString(),
55  const QString & filter = QString(), QString * selectedFilter = 0,
56  Options options = 0 );
57 
58  static QString getSaveFileName ( makVrv::DtDe& de, QWidget * parent = 0,
59  const QString & caption = QString(), const QString & dir = QString(),
60  const QString & filter = QString(), QString * selectedFilter = 0,
61  Options options = 0 );
62  };
63 }

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)