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.
Member Typedef Documentation
◆ Dict
typedef QMap<QString, QString> Gui::SelectModule::Dict |
Constructor & Destructor Documentation
◆ SelectModule()
References accept().
◆ ~SelectModule()
|
virtual |
Member Function Documentation
◆ accept()
void SelectModule::accept | ( | ) |
Referenced by ArchComponent.ComponentTaskPanel::editObject(), and SelectModule().
◆ exportHandler() [1/2]
|
static |
◆ exportHandler() [2/2]
|
static |
References App::GetApplication(), App::Application::getExportFilters(), Gui::getMainWindow(), and getModule().
◆ getModule()
QString SelectModule::getModule | ( | ) | const |
Referenced by exportHandler(), and importHandler().
◆ importHandler() [1/2]
|
static |
Referenced by Gui::RecentFilesAction::activateFile(), and Gui::MainWindow::loadUrls().
◆ importHandler() [2/2]
|
static |
References App::GetApplication(), App::Application::getImportFilters(), Gui::getMainWindow(), and getModule().
◆ reject()
void SelectModule::reject | ( | ) |
The documentation for this class was generated from the following files:
- src/Gui/FileDialog.h
- src/Gui/FileDialog.cpp