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 | |
| void | accept () |
| QString | getModule () const |
| void | reject () |
| SelectModule (const QString &type, const Dict &, QWidget *parent) | |
| virtual | ~SelectModule () |
Static Public Member Functions | |
Import/Export handler | |
| 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()) |
The SelectModule class provides a list of radio buttons to choose the module that should handle a certain file type.
Definition at line 184 of file FileDialog.h.
| typedef QMap<QString, QString> Gui::SelectModule::Dict |
Definition at line 189 of file FileDialog.h.
| 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.
| 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] |
Definition at line 581 of file FileDialog.cpp.
References Mesh2Shape::ext, App::GetApplication(), App::Application::getExportFilters(), and Gui::getMainWindow().
| 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] |
Definition at line 643 of file FileDialog.cpp.
References Mesh2Shape::ext, App::GetApplication(), App::Application::getImportFilters(), and Gui::getMainWindow().
| SelectModule::Dict SelectModule::importHandler | ( | const QString & | fn, | |
| const QString & | filter = QString() | |||
| ) | [static] |
Definition at line 638 of file FileDialog.cpp.
Referenced by Gui::RecentFilesAction::activateFile(), and Gui::MainWindow::loadUrls().
| void SelectModule::reject | ( | void | ) |
Definition at line 556 of file FileDialog.cpp.
1.6.1