28#ifndef ABSTRACTITOMDESIGNERPLUGIN_H
29#define ABSTRACTITOMDESIGNERPLUGIN_H
31#include "plotCommon.h"
32#include "../common/sharedStructuresGraphics.h"
33#include "AbstractFigure.h"
34#include "designerPluginInterfaceVersion.h"
36#include <QtUiPlugin/QDesignerCustomWidgetInterface>
38#if !defined(Q_MOC_RUN) || defined(ITOMCOMMONPLOT_MOC)
46 Q_INTERFACES(QDesignerCustomWidgetInterface)
51 QDesignerCustomWidgetInterface(),
52 m_plotFeatures(ito::Static),
58 m_detaildescription(
""),
60 m_license(
"LGPL with ITO itom-exception") {}
64 inline ito::PlotDataTypes getPlotDataTypes(
void)
const {
return m_plotDataTypes; }
65 inline ito::PlotDataFormats getPlotDataFormats(
void)
const {
return m_plotDataFormats; }
66 inline ito::PlotFeatures getPlotFeatures(
void)
const {
return m_plotFeatures; }
71 const QString
getAuthor(
void)
const {
return m_author; }
81 inline void setItomSettingsFile(
const QString &settingsFile) { m_itomSettingsFile = settingsFile; }
83 virtual QWidget *createWidgetWithMode(AbstractFigure::WindowMode winMode, QWidget *parent) = 0;
86 ito::PlotDataTypes m_plotDataTypes;
87 ito::PlotDataFormats m_plotDataFormats;
88 ito::PlotFeatures m_plotFeatures;
98 QString m_itomSettingsFile;
Definition AbstractItomDesignerPlugin.h:43
const QString getAboutInfo(void) const
returns a detailed description of the plugin compile information
Definition AbstractItomDesignerPlugin.h:79
QString m_aboutThis
a short string with compile information
Definition AbstractItomDesignerPlugin.h:97
QString m_description
a brief description of the plugin
Definition AbstractItomDesignerPlugin.h:94
const QString getLicenseInfo(void) const
returns a detailed description of the plugin license
Definition AbstractItomDesignerPlugin.h:77
QString m_author
the plugin author
Definition AbstractItomDesignerPlugin.h:93
QString m_detaildescription
a detail description of the plugin
Definition AbstractItomDesignerPlugin.h:95
const QString getDescription(void) const
returns a brief description of the plugin
Definition AbstractItomDesignerPlugin.h:73
int m_minItomVer
maximum supported version of the main program
Definition AbstractItomDesignerPlugin.h:92
const QString getAuthor(void) const
returns plugin author
Definition AbstractItomDesignerPlugin.h:71
int m_version
plugin version
Definition AbstractItomDesignerPlugin.h:90
int getVersion(void) const
returns addIn version
Definition AbstractItomDesignerPlugin.h:69
QString m_license
a short license string for the plugin, default value is "LGPL with ITO itom-exception"
Definition AbstractItomDesignerPlugin.h:96
const QString getDetailDescription(void) const
returns a detailed description of the plugin
Definition AbstractItomDesignerPlugin.h:75
int m_maxItomVer
minimum required version of the main program
Definition AbstractItomDesignerPlugin.h:91
Definition apiFunctionsGraph.cpp:40