4 #ifndef pqLoadDataReaction_h 5 #define pqLoadDataReaction_h 10 #include <QStringList> 46 const QString& readergroup = QString(),
const QString& readername = QString(),
62 const QString& readergroup = QString(),
const QString& readername = QString(),
77 static QList<pqPipelineSource*> loadData(
const ReaderSet& readerSet,
bool groupFiles =
true);
78 static QList<pqPipelineSource*> loadData(
bool groupFiles =
true);
86 static QVector<pqPipelineSource*> loadFilesForSupportedTypes(QList<QStringList> files);
108 Q_FOREACH (source, sources)
110 Q_EMIT this->loadedData(source);
114 static bool TestFileReadability(
117 static bool DetermineFileReader(
const QString& filename,
pqServer* server,
121 const QStringList& files,
pqServer* server,
const QPair<QString, QString>& readerInfo);
129 static QVector<pqPipelineSource*> loadFilesForAllTypes(
136 static void addReaderToDefaults(QString
const& readerName,
pqServer* server,
virtual void updateEnableState()
#define PQAPPLICATIONCOMPONENTS_EXPORT
Reaction for open data files.
is a factory for creating a reader proxy based on the filename/extension.
This is a superclass just to make it easier to collect all such reactions.
QPair< QString, QString > ReaderPair
QSet< ReaderPair > ReaderSet
void onTriggered() override
Called when the action is triggered.
PQ representation for a vtkSMProxy that can be involved in a pipeline.
static pqPipelineSource * loadData(const QList< QStringList > &files, const QString &readergroup=QString(), const QString &readername=QString(), pqServer *server=nullptr)
Loads multiple data files.
pqServer (should be renamed to pqSession) is a pqServerManagerModelItem subclass that represents a vt...