28 #ifndef ABSTRACTITOMDESIGNERPLUGIN_H 29 #define ABSTRACTITOMDESIGNERPLUGIN_H 31 #include "plotCommon.h" 32 #include "../common/sharedStructuresGraphics.h" 33 #include "AbstractFigure.h" 35 #if QT_VERSION < 0x050500 //hex-code must be used since Qt4 moc process does not understand QT_VERSION_CHECK(5,5,0) 36 #include <QtDesigner/QDesignerCustomWidgetInterface> 38 #include <QtUiPlugin/QDesignerCustomWidgetInterface> 41 #if !defined(Q_MOC_RUN) || defined(ITOMCOMMONPLOT_MOC) //only moc this file in itomCommonQtLib but not in other libraries or executables linking against this itomCommonQtLib 49 Q_INTERFACES(QDesignerCustomWidgetInterface)
54 Q_CLASSINFO(
"ito.AbstractItomDesignerPlugin",
"1.3.0")
59 QDesignerCustomWidgetInterface(),
60 m_plotFeatures(
ito::Static),
64 m_detaildescription(
""),
66 m_license(
"LGPL with ITO itom-exception") {}
70 inline ito::PlotDataTypes getPlotDataTypes(
void)
const {
return m_plotDataTypes; }
71 inline ito::PlotDataFormats getPlotDataFormats(
void)
const {
return m_plotDataFormats; }
72 inline ito::PlotFeatures getPlotFeatures(
void)
const {
return m_plotFeatures; }
77 const QString
getAuthor(
void)
const {
return m_author; }
90 int retval = AbstractFigure::tOpenCV;
91 #if defined USEPCL || ITOM_POINTCLOUDLIBRARY 92 retval |= AbstractFigure::tPointCloudLib;
97 inline void setItomSettingsFile(
const QString &settingsFile) { m_itomSettingsFile = settingsFile; }
99 virtual QWidget *createWidgetWithMode(AbstractFigure::WindowMode winMode, QWidget *parent) = 0;
102 ito::PlotDataTypes m_plotDataTypes;
103 ito::PlotDataFormats m_plotDataFormats;
104 ito::PlotFeatures m_plotFeatures;
112 QString m_itomSettingsFile;
116 #endif //#if !defined(Q_MOC_RUN) || defined(ITOMCOMMONQT_MOC) 118 #endif // ABSTRACTITOMDESIGNERPLUGIN_H QString m_aboutThis
a short string with compile informations
Definition: AbstractItomDesignerPlugin.h:111
const QString getAboutInfo(void) const
returns a detailed description of the plugin compile informations
Definition: AbstractItomDesignerPlugin.h:85
AbstractItomDesignerPlugin(QObject *parent)
the classinfo ito.AbstractItomDesignerPlugin is the interface number of AbstractItomDesignerPlugin.
Definition: AbstractItomDesignerPlugin.h:57
Definition: AbstractItomDesignerPlugin.h:45
Definition: apiFunctionsGraph.cpp:39
const QString getAuthor(void) const
returns plugin author
Definition: AbstractItomDesignerPlugin.h:77
int m_version
plugin version
Definition: AbstractItomDesignerPlugin.h:106
const QString getDetailDescription(void) const
returns a detailed description of the plugin
Definition: AbstractItomDesignerPlugin.h:81
int getVersion(void) const
returns addIn version
Definition: AbstractItomDesignerPlugin.h:75
QString m_detaildescription
a detail descrition of the plugin
Definition: AbstractItomDesignerPlugin.h:109
const QString getLicenseInfo(void) const
returns a detailed description of the plugin license
Definition: AbstractItomDesignerPlugin.h:83
const QString getDescription(void) const
returns a brief description of the plugin
Definition: AbstractItomDesignerPlugin.h:79
QString m_description
a brief descrition of the plugin
Definition: AbstractItomDesignerPlugin.h:108
QString m_author
the plugin author
Definition: AbstractItomDesignerPlugin.h:107
int getCompilerFeatures(void) const
returns information about the compiler settings for PCL, OpenCV, ... during build ...
Definition: AbstractItomDesignerPlugin.h:88
QString m_license
a short license string for the plugin, default value is "LGPL with ITO itom-exception" ...
Definition: AbstractItomDesignerPlugin.h:110