Mapper  0.9.0
API documentation
Namespaces | Functions
file_dialog.h File Reference

(9169056 on 6 Feb 2019)

#include <QFileDialog>
#include <QString>
Include dependency graph for file_dialog.h:
This graph shows which files directly or indirectly include this file:

Namespaces

 OpenOrienteering
 
 OpenOrienteering::FileDialog
 A collection of file dialog utility functions.
 

Functions

bool OpenOrienteering::FileDialog::needUpperCaseExtensions ()
 Returns true if upper case extensions have to be added explicitly to filters in file dialogs. More...
 
void OpenOrienteering::FileDialog::adjustParameters (QString &filter, QFileDialog::Options &options)
 Adjusts filter and options for file dialogs. More...
 
QString OpenOrienteering::FileDialog::getOpenFileName (QWidget *parent=nullptr, const QString &caption={}, const QString &dir={}, QString filter={}, QString *selected_filter=nullptr, QFileDialog::Options options={})
 Calls QFileDialog::getOpenFileName with adjusted parameters. More...
 
QString OpenOrienteering::FileDialog::getSaveFileName (QWidget *parent=nullptr, const QString &caption={}, const QString &dir={}, QString filter={}, QString *selected_filter=nullptr, QFileDialog::Options options={})
 Calls QFileDialog::getSaveFileName with adjusted parameters. More...