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>

List of all members.

Public Types

typedef QMap< QString, QString > Dict

Public Member Functions

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

Static Public Member Functions

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.



static Dict exportHandler (const QStringList &fn, const QString &filter=QString())
static Dict exportHandler (const QString &fn, const QString &filter=QString())
static Dict importHandler (const QStringList &fn, const QString &filter=QString())
static Dict importHandler (const QString &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

Definition at line 184 of file FileDialog.h.


Member Typedef Documentation

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

Definition at line 189 of file FileDialog.h.


Constructor & Destructor Documentation

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

Definition at line 478 of file FileDialog.cpp.

References accept(), draftlibs::fcgeo::connect(), and RobotExample::pos.

SelectModule::~SelectModule (  )  [virtual]

Definition at line 546 of file FileDialog.cpp.


Member Function Documentation

void SelectModule::accept ( void   ) 

Definition at line 550 of file FileDialog.cpp.

Referenced by SelectModule().

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

Definition at line 576 of file FileDialog.cpp.

QString SelectModule::getModule ( void   )  const

Definition at line 570 of file FileDialog.cpp.

SelectModule::Dict SelectModule::importHandler ( const QStringList &  fn,
const QString &  filter = QString() 
) [static]
SelectModule::Dict SelectModule::importHandler ( const QString &  fn,
const QString &  filter = QString() 
) [static]
void SelectModule::reject ( void   ) 

Definition at line 556 of file FileDialog.cpp.


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

Generated on Wed Nov 23 19:02:02 2011 for FreeCAD by  doxygen 1.6.1