VR-Forces 4.0.4 Class Documentation
include/vrfGuiCoreQt/DtQtStaticFileDialog.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2010 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtQtStaticFileDialog.h,v $ $Revision: 96617 $ $State: Exp $
00007 ******************************************************************************/
00008 
00012 
00013 #pragma once
00014 
00015 #include <vrfGuiCoreQt/vrfGuiCoreQt.h>
00016 #include <QtCore/QtGlobal>
00017 #include <QtCore/QString>
00018 
00019 class QWidget;
00020 class QStringList;
00021 
00022 namespace makVrv
00023 {
00024    class DtDe;
00025 }
00026 
00027 namespace makVrf
00028 {
00032    class DT_DLL_VRFGUICOREQT DtQtStaticFileDialog
00033    {
00034    public:
00035 
00036       enum Option 
00037       {
00038          ShowDirsOnly = 0x01,
00039          DontResolveSymlinks = 0x02,
00040          DontConfirmOverwrite = 0x04,
00041          DontUseSheet = 0x08,
00042          DontUseNativeDialog = 0x10
00043       };
00044 
00045       Q_DECLARE_FLAGS(Options, Option)
00046 
00047       static QString getExistingDirectory ( makVrv::DtDe& de, QWidget * parent = 0, 
00048          const QString & caption = QString(), const QString & dir = QString(),
00049          Options options = ShowDirsOnly );
00050 
00051       static QString getOpenFileName ( makVrv::DtDe& de, QWidget * parent = 0, 
00052          const QString & caption = QString(), const QString & dir = QString(), 
00053          const QString & filter = QString(), QString * selectedFilter = 0, 
00054          Options options = 0 );
00055 
00056       static QString getSaveFileName ( makVrv::DtDe& de, QWidget * parent = 0, 
00057          const QString & caption = QString(), const QString & dir = QString(), 
00058          const QString & filter = QString(), QString * selectedFilter = 0, 
00059          Options options = 0 );
00060    };
00061 }

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)