Updraft  1.0
Open source glider flight visualisation tool.
Updraft::Core::FileOpenDialog Class Reference

Customized version of file open dialog that has pre-filled filters and mode. More...

#include <fileopendialog.h>

List of all members.

Static Public Member Functions

static QString openIt (const QString &caption, const QString &dir=QString())
 Display a file open dialog, and open the selected files.

Static Private Member Functions

static QStringList getFilters ()
 Returns a list of file name filters suitable for QFileDialog::setNameFilters().

Detailed Description

Customized version of file open dialog that has pre-filled filters and mode.


Member Function Documentation

QStringList Updraft::Core::FileOpenDialog::getFilters ( ) [static, private]

Returns a list of file name filters suitable for QFileDialog::setNameFilters().

QString Updraft::Core::FileOpenDialog::openIt ( const QString &  caption,
const QString &  dir = QString() 
) [static]

Display a file open dialog, and open the selected files.

Parameters:
captionTitle of the file open dialog.
dirDirectory first shown in the dialog.
Returns:
First selected file. This is only used to retrieve the dir for the next appearance of the file dialog.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines