VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Static Public Member Functions
makVrf::DtQtStaticFileDialog Class Reference

A wrapper around the QFileDialog classes to allow for more convenient access and allow rendering to continue. More...

Public Types

enum  Option {
  ShowDirsOnly = 0x01, DontResolveSymlinks = 0x02, DontConfirmOverwrite = 0x04, DontUseSheet = 0x08,
  DontUseNativeDialog = 0x10
}
 

Static Public Member Functions

static QString getExistingDirectory (makVrv::DtDe &de, QWidget *parent=0, const QString &caption=QString(), const QString &dir=QString(), Options options=ShowDirsOnly, bool nativeFileDialog=false)
 
static QString getOpenFileName (makVrv::DtDe &de, QWidget *parent=0, const QString &caption=QString(), const QString &dir=QString(), const QString &filter=QString(), QString *selectedFilter=0, Options options=0, bool mustExist=false, bool nativeFileDialog=false)
 
static QStringList getOpenFileNames (makVrv::DtDe &de, QWidget *parent=0, const QString &caption=QString(), const QString &dir=QString(), const QString &filter=QString(), QString *selectedFilter=0, Options options=0, bool nativeFileDialog=false)
 
static QString getSaveFileName (makVrv::DtDe &de, QWidget *parent=0, const QString &caption=QString(), const QString &dir=QString(), const QString &filter=QString(), QString *selectedFilter=0, Options options=0, bool nativeFileDialog=false)
 
static QString getText (QWidget *parent, const QString &title, const QString &label, QLineEdit::EchoMode mode=QLineEdit::Normal, const QString &startText="", bool *ok=0, const Qt::WindowFlags &flags=0)
 Get text input. Different from Qt version in that this will make the dialog the focus dialog. More...
 
static int getInt (QWidget *parent, const QString &title, const QString &label, QLineEdit::EchoMode mode=QLineEdit::Normal, int startInt=0, int min=-2147483647, int max=2147483647, int step=1, bool *ok=0, const Qt::WindowFlags &flags=Qt::Tool)
 Get int input. Different from Qt version in that this will make the dialog the focus dialog. More...
 
static double getDouble (QWidget *parent, const QString &title, const QString &label, QLineEdit::EchoMode mode=QLineEdit::Normal, double start=0., double minimum=-2147483647, double maximum=2147483647, int decimals=1, bool *ok=0, const Qt::WindowFlags &flags=Qt::Tool)
 Get double input. Different from Qt version in that this will make the dialog the focus dialog. More...
 

Detailed Description

A wrapper around the QFileDialog classes to allow for more convenient access and allow rendering to continue.

Member Enumeration Documentation

Enumerator
ShowDirsOnly 
DontResolveSymlinks 
DontConfirmOverwrite 
DontUseSheet 
DontUseNativeDialog 

Member Function Documentation

static QString makVrf::DtQtStaticFileDialog::getExistingDirectory ( makVrv::DtDe de,
QWidget *  parent = 0,
const QString &  caption = QString(),
const QString &  dir = QString(),
Options  options = ShowDirsOnly,
bool  nativeFileDialog = false 
)
static
static QString makVrf::DtQtStaticFileDialog::getOpenFileName ( makVrv::DtDe de,
QWidget *  parent = 0,
const QString &  caption = QString(),
const QString &  dir = QString(),
const QString &  filter = QString(),
QString *  selectedFilter = 0,
Options  options = 0,
bool  mustExist = false,
bool  nativeFileDialog = false 
)
static
static QStringList makVrf::DtQtStaticFileDialog::getOpenFileNames ( makVrv::DtDe de,
QWidget *  parent = 0,
const QString &  caption = QString(),
const QString &  dir = QString(),
const QString &  filter = QString(),
QString *  selectedFilter = 0,
Options  options = 0,
bool  nativeFileDialog = false 
)
static
static QString makVrf::DtQtStaticFileDialog::getSaveFileName ( makVrv::DtDe de,
QWidget *  parent = 0,
const QString &  caption = QString(),
const QString &  dir = QString(),
const QString &  filter = QString(),
QString *  selectedFilter = 0,
Options  options = 0,
bool  nativeFileDialog = false 
)
static
static QString makVrf::DtQtStaticFileDialog::getText ( QWidget *  parent,
const QString &  title,
const QString &  label,
QLineEdit::EchoMode  mode = QLineEdit::Normal,
const QString &  startText = "",
bool ok = 0,
const Qt::WindowFlags &  flags = 0 
)
static

Get text input. Different from Qt version in that this will make the dialog the focus dialog.

static int makVrf::DtQtStaticFileDialog::getInt ( QWidget *  parent,
const QString &  title,
const QString &  label,
QLineEdit::EchoMode  mode = QLineEdit::Normal,
int  startInt = 0,
int  min = -2147483647,
int  max = 2147483647,
int  step = 1,
bool ok = 0,
const Qt::WindowFlags &  flags = Qt::Tool 
)
static

Get int input. Different from Qt version in that this will make the dialog the focus dialog.

static double makVrf::DtQtStaticFileDialog::getDouble ( QWidget *  parent,
const QString &  title,
const QString &  label,
QLineEdit::EchoMode  mode = QLineEdit::Normal,
double  start = 0.,
double  minimum = -2147483647,
double  maximum = 2147483647,
int  decimals = 1,
bool ok = 0,
const Qt::WindowFlags &  flags = Qt::Tool 
)
static

Get double input. Different from Qt version in that this will make the dialog the focus dialog.


The documentation for this class was generated from the following file:

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)