35 #include "DkPluginInterface.h" 36 #include "DkBatchInfo.h" 37 #include "DkSettingsWidget.h" 39 #pragma warning(push, 0) // no warnings from includes - begin 41 #pragma warning(pop) // no warnings from includes - end 47 class DkTestInfo :
public nmc::DkBatchInfo {
50 DkTestInfo(
const QString&
id = QString(),
const QString& filePath = QString());
60 class ReadConfig :
public QObject, nmc::DkBatchPluginInterface {
62 Q_INTERFACES(nmc::DkBatchPluginInterface)
63 Q_PLUGIN_METADATA(IID
"com.nomacs.ImageLounge.ReadConfig/3.2" FILE
"ReadConfig.json")
69 QString id()
const override;
70 QImage image()
const override;
72 QList<QAction*> createActions(QWidget* parent)
override;
73 QList<QAction*> pluginActions()
const override;
74 QSharedPointer<nmc::DkImageContainer> runPlugin(
76 QSharedPointer<nmc::DkImageContainer> imgC,
77 const nmc::DkSaveInfo& saveInfo,
78 QSharedPointer<nmc::DkBatchInfo>& info)
const override;
80 void preLoadPlugin()
const override;
81 void postLoadPlugin(
const QVector<QSharedPointer<nmc::DkBatchInfo> >& batchInfo)
const override;
101 SettingsDialog(
const QString& title = tr(
"READ Settings"), QWidget* parent = 0);
103 void setSettings(QSettings& settings);
106 nmc::DkSettingsWidget* mSettingsWidget = 0;
QStringList mMenuNames
Definition: ReadConfig.h:93
void setProperty(const QString &p)
Definition: BatchTest.cpp:193
Definition: ReadConfig.h:97
DkTestInfo(const QString &id=QString(), const QString &filePath=QString())
Definition: BatchTest.cpp:190
QStringList mRunIDs
Definition: ReadConfig.h:92
Definition: ReadConfig.h:84
Definition: ReadConfig.h:60
QList< QAction * > mActions
Definition: ReadConfig.h:91
QStringList mMenuStatusTips
Definition: ReadConfig.h:94
QString property() const
Definition: BatchTest.cpp:197
Definition: BatchTest.cpp:45