#include <Base/QTCore/qSlicerScriptedFileReader.h>
|
QStringList | loadedNodes |
| This property allows the reader to report back what nodes it was able to load. More...
|
|
|
QScopedPointer< qSlicerScriptedFileReaderPrivate > | d_ptr |
|
QScopedPointer< qSlicerFileReaderPrivate > | d_ptr |
|
QScopedPointer< qSlicerIOPrivate > | d_ptr |
|
QScopedPointer< qSlicerObjectPrivate > | d_ptr |
|
Definition at line 36 of file qSlicerScriptedFileReader.h.
◆ Superclass
◆ loadedNodes
QStringList qSlicerScriptedFileReader::loadedNodes |
|
readwrite |
◆ qSlicerScriptedFileReader()
qSlicerScriptedFileReader::qSlicerScriptedFileReader |
( |
QObject * |
parent = nullptr | ) |
|
◆ ~qSlicerScriptedFileReader()
qSlicerScriptedFileReader::~qSlicerScriptedFileReader |
( |
| ) |
|
|
override |
◆ canLoadFile()
bool qSlicerScriptedFileReader::canLoadFile |
( |
const QString & |
file | ) |
const |
|
overridevirtual |
◆ description()
QString qSlicerScriptedFileReader::description |
( |
| ) |
const |
|
overridevirtual |
◆ extensions()
QStringList qSlicerScriptedFileReader::extensions |
( |
| ) |
const |
|
overridevirtual |
◆ fileType()
IOFileType qSlicerScriptedFileReader::fileType |
( |
| ) |
const |
|
overridevirtual |
◆ load()
Reimplemented to propagate to python methods
- See also
- qSlicerFileReader::write()
Reimplemented from qSlicerFileReader.
◆ loadedNodes()
QStringList qSlicerScriptedFileReader::loadedNodes |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ pythonSource()
QString qSlicerScriptedFileReader::pythonSource |
( |
| ) |
const |
◆ self()
Q_INVOKABLE PyObject* qSlicerScriptedFileReader::self |
( |
| ) |
const |
Convenience method allowing to retrieve the associated scripted instance.
◆ setLoadedNodes()
void qSlicerScriptedFileReader::setLoadedNodes |
( |
const QStringList & |
nodes | ) |
|
|
inlineoverridevirtual |
◆ setPythonSource()
bool qSlicerScriptedFileReader::setPythonSource |
( |
const QString & |
newPythonSource, |
|
|
const QString & |
className = QLatin1String("") , |
|
|
bool |
missingClassIsExpected = true |
|
) |
| |
- Warning
- Setting the source is a no-op. See detailed comment in the source code. If missingClassIsExpected is true (default) then missing class is expected and not treated as an error.
◆ d_ptr
QScopedPointer<qSlicerScriptedFileReaderPrivate> qSlicerScriptedFileReader::d_ptr |
|
protected |
The documentation for this class was generated from the following file: