35 #include "DkPluginInterface.h" 36 #include "DkBatchInfo.h" 51 FormsInfo(
const QString&
id = QString(),
const QString& filePath = QString());
53 void setFormName(
const QString& p);
54 QString formName()
const;
56 void setMatchName(
const QString& p);
57 QString matchName()
const;
59 void setFormSize(
const QSize& s);
60 QSize formSize()
const;
62 void setTemplId(
int id);
65 void setLines(QVector<rdf::Line> hL, QVector<rdf::Line> vL);
66 QVector<rdf::Line> hLines();
67 QVector<rdf::Line> vLines();
74 QVector<rdf::Line> mVerLines;
75 QVector<rdf::Line> mHorLines;
81 Q_INTERFACES(nmc::DkBatchPluginInterface)
82 Q_PLUGIN_METADATA(IID
"com.nomacs.ImageLounge.Forms/3.2" FILE
"Forms.json")
88 QString id()
const override;
89 QImage image()
const override;
91 QList<QAction*> createActions(QWidget* parent)
override;
92 QList<QAction*> pluginActions()
const override;
93 QSharedPointer<nmc::DkImageContainer> runPlugin(
95 QSharedPointer<nmc::DkImageContainer> imgC,
96 const nmc::DkSaveInfo& saveInfo,
97 QSharedPointer<nmc::DkBatchInfo>& info)
const override;
99 void preLoadPlugin()
const override;
100 void postLoadPlugin(
const QVector<QSharedPointer<nmc::DkBatchInfo> >& batchInfo)
const override;
119 void loadSettings(QSettings& settings);
120 void saveSettings(QSettings& settings)
const;
Definition: BatchTest.cpp:45