|
Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
#include <Base/QTCore/qSlicerScriptedFileReader.h>


Public Types | |
| typedef qSlicerFileReader | Superclass |
Public Types inherited from qSlicerFileReader | |
| typedef qSlicerIO | Superclass |
Public Types inherited from qSlicerIO | |
| typedef QString | IOFileType |
| typedef QVariantMap | IOProperties |
| typedef QObject | Superclass |
Properties | |
| QStringList | loadedNodes |
| This property allows the reader to report back what nodes it was able to load. | |
Public Member Functions | |
| bool | canLoadFile (const QString &file) const override |
| double | canLoadFileConfidence (const QString &file) const override |
| QString | description () const override |
| QStringList | extensions () const override |
| IOFileType | fileType () const override |
| bool | load (const qSlicerIO::IOProperties &properties) override |
| QStringList | loadedNodes () const override |
| QString | pythonSource () const |
| qSlicerScriptedFileReader (QObject *parent=nullptr) | |
| Q_INVOKABLE PyObject * | self () const |
| Convenience method allowing to retrieve the associated scripted instance. | |
| void | setLoadedNodes (const QStringList &nodes) override |
| bool | setPythonSource (const QString &filePath, const QString &className=QLatin1String(""), bool missingClassIsExpected=true) |
| ~qSlicerScriptedFileReader () override | |
Public Member Functions inherited from qSlicerFileReader | |
| virtual Q_INVOKABLE bool | examineFileInfoList (QFileInfoList &fileInfoList, QFileInfo &archetypeFileInfo, qSlicerIO::IOProperties &ioProperties) const |
| qSlicerFileReader (QObject *parent=nullptr) | |
| Q_INVOKABLE QStringList | supportedNameFilters (const QString &fileName, int *longestExtensionMatchPtr=nullptr) const |
| ~qSlicerFileReader () override | |
Public Member Functions inherited from qSlicerIO | |
| virtual Q_INVOKABLE qSlicerIOOptions * | options () const |
| qSlicerIO (QObject *parent=nullptr) | |
| Q_INVOKABLE vtkMRMLMessageCollection * | userMessages () const |
| Additional warning or error messages occurred during IO operation. | |
| ~qSlicerIO () override | |
Public Member Functions inherited from qSlicerObject | |
| vtkMRMLScene * | mrmlScene () const |
| Return a pointer on the MRML scene. | |
| qSlicerObject () | |
| virtual void | setMRMLScene (vtkMRMLScene *) |
| Set the current MRML scene to the widget. | |
| virtual | ~qSlicerObject () |
Protected Attributes | |
| QScopedPointer< qSlicerScriptedFileReaderPrivate > | d_ptr |
Protected Attributes inherited from qSlicerFileReader | |
| QScopedPointer< qSlicerFileReaderPrivate > | d_ptr |
Protected Attributes inherited from qSlicerIO | |
| QScopedPointer< qSlicerIOPrivate > | d_ptr |
Protected Attributes inherited from qSlicerObject | |
| QScopedPointer< qSlicerObjectPrivate > | d_ptr |
Definition at line 36 of file qSlicerScriptedFileReader.h.
Definition at line 44 of file qSlicerScriptedFileReader.h.
|
readwrite |
This property allows the reader to report back what nodes it was able to load.
Definition at line 41 of file qSlicerScriptedFileReader.h.
| qSlicerScriptedFileReader::qSlicerScriptedFileReader | ( | QObject * | parent = nullptr | ) |
|
override |
|
overridevirtual |
Reimplemented to propagate to python methods
Reimplemented from qSlicerFileReader.
|
overridevirtual |
Reimplemented to propagate to python methods
Reimplemented from qSlicerFileReader.
|
overridevirtual |
|
overridevirtual |
Reimplemented to propagate to python methods
Reimplemented from qSlicerFileReader.
|
overridevirtual |
|
overridevirtual |
Reimplemented from qSlicerFileReader.
|
inlineoverridevirtual |
Reimplemented to support python methods and q_property Exposes setLoadedNodes, which is protected in superclass
Reimplemented from qSlicerFileReader.
Definition at line 84 of file qSlicerScriptedFileReader.h.
| QString qSlicerScriptedFileReader::pythonSource | ( | ) | const |
| Q_INVOKABLE PyObject * qSlicerScriptedFileReader::self | ( | ) | const |
Convenience method allowing to retrieve the associated scripted instance.
|
inlineoverridevirtual |
Must be called in load() on success with the list of nodes added into the scene.
Reimplemented from qSlicerFileReader.
Definition at line 85 of file qSlicerScriptedFileReader.h.
| bool qSlicerScriptedFileReader::setPythonSource | ( | const QString & | filePath, |
| const QString & | className = QLatin1String(""), | ||
| bool | missingClassIsExpected = true ) |
|
protected |
Definition at line 88 of file qSlicerScriptedFileReader.h.