48 #ifndef DESERIALIZESCREENSHOTMETADATAPLUGIN_HH 49 #define DESERIALIZESCREENSHOTMETADATAPLUGIN_HH 59 #include <ACG/QtWidgets/QtExaminerViewer.hh> 61 #include "RestoreFromScreenshotDlg.hh" 75 Q_PLUGIN_METADATA(IID
"org.OpenFlipper.Plugins.Plugin-DeserializeScreenshotMetadataPlugin")
82 void addToolbar(QToolBar* _toolbar);
85 void metadataDeserialized(
86 const QVector<QPair<QString, QString> > &data);
91 void initializePlugin();
92 void pluginsInitialized();
93 void slot_restore_from_screenshot();
94 void slot_do_restore_from_screenshot();
96 void slotGenericMetadataDeserialized(QString key, QString value);
97 void slotObjectMetadataDeserialized(QString object_name, QString value);
98 void slotObjectMetadataDeserializedJson(
99 QString object_name, QJsonDocument value);
109 return (QString(
"DeserializeScreenshotMetadata"));
113 return (QString(
"Deserializes meta data from viewer snapshots."));
118 QAction *restoreAction;
123 #endif // DESERIALIZESCREENSHOTMETADATAPLUGIN_HH defined
Interface class from which all plugins have to be created.