Gui::SelectModule Class Reference

The SelectModule class provides a list of radio buttons to choose the module that should handle a certain file type. More...

#include <FileDialog.h>

Public Types

typedef QMap< QString, QString > Dict
 

Public Member Functions

QString getModule () const
 
 SelectModule (const QString &type, const Dict &, QWidget *parent)
 
virtual ~SelectModule ()
 

Import/Export handler

These methods accepts a file name or a list of file names and return a map of file names with the associated Python module that should open the file.

void accept ()
 
void reject ()
 
static Dict exportHandler (const QString &fn, const QString &filter=QString())
 
static Dict exportHandler (const QStringList &fn, const QString &filter=QString())
 
static Dict importHandler (const QString &fn, const QString &filter=QString())
 
static Dict importHandler (const QStringList &fn, const QString &filter=QString())
 

Detailed Description

The SelectModule class provides a list of radio buttons to choose the module that should handle a certain file type.

Author
Werner Mayer

Member Typedef Documentation

◆ Dict

typedef QMap<QString, QString> Gui::SelectModule::Dict

Constructor & Destructor Documentation

◆ SelectModule()

SelectModule::SelectModule ( const QString &  type,
const Dict types,
QWidget parent 
)

◆ ~SelectModule()

SelectModule::~SelectModule ( )
virtual

Member Function Documentation

◆ accept()

◆ exportHandler() [1/2]

SelectModule::Dict SelectModule::exportHandler ( const QString &  fn,
const QString &  filter = QString() 
)
static

References exportHandler().

Referenced by exportHandler().

◆ exportHandler() [2/2]

SelectModule::Dict SelectModule::exportHandler ( const QStringList &  fn,
const QString &  filter = QString() 
)
static

◆ getModule()

QString SelectModule::getModule ( ) const

Referenced by exportHandler(), and importHandler().

◆ importHandler() [1/2]

SelectModule::Dict SelectModule::importHandler ( const QString &  fn,
const QString &  filter = QString() 
)
static

◆ importHandler() [2/2]

SelectModule::Dict SelectModule::importHandler ( const QStringList &  fn,
const QString &  filter = QString() 
)
static

◆ reject()


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