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) //only moc this file in itomCommonQtLib but not in other libraries or executables linking against this itomCommonQtLib
46 Q_INTERFACES(QDesignerCustomWidgetInterface)
51 QDesignerCustomWidgetInterface(),
52 m_plotFeatures(ito::Static),
56 m_detaildescription(
""),
58 m_license(
"LGPL with ITO itom-exception") {}
62 inline ito::PlotDataTypes getPlotDataTypes(
void)
const {
return m_plotDataTypes; }
63 inline ito::PlotDataFormats getPlotDataFormats(
void)
const {
return m_plotDataFormats; }
64 inline ito::PlotFeatures getPlotFeatures(
void)
const {
return m_plotFeatures; }
69 const QString
getAuthor(
void)
const {
return m_author; }
79 inline void setItomSettingsFile(
const QString &settingsFile) { m_itomSettingsFile = settingsFile; }
81 virtual QWidget *createWidgetWithMode(AbstractFigure::WindowMode winMode, QWidget *parent) = 0;
84 ito::PlotDataTypes m_plotDataTypes;
85 ito::PlotDataFormats m_plotDataFormats;
86 ito::PlotFeatures m_plotFeatures;
94 QString m_itomSettingsFile;
98 #endif //#if !defined(Q_MOC_RUN) || defined(ITOMCOMMONQT_MOC)
100 #endif // ABSTRACTITOMDESIGNERPLUGIN_H
QString m_aboutThis
a short string with compile informations
Definition: AbstractItomDesignerPlugin.h:93
const QString getAboutInfo(void) const
returns a detailed description of the plugin compile informations
Definition: AbstractItomDesignerPlugin.h:77
Definition: AbstractItomDesignerPlugin.h:42
Definition: apiFunctionsGraph.cpp:39
const QString getAuthor(void) const
returns plugin author
Definition: AbstractItomDesignerPlugin.h:69
int m_version
plugin version
Definition: AbstractItomDesignerPlugin.h:88
const QString getDetailDescription(void) const
returns a detailed description of the plugin
Definition: AbstractItomDesignerPlugin.h:73
int getVersion(void) const
returns addIn version
Definition: AbstractItomDesignerPlugin.h:67
QString m_detaildescription
a detail descrition of the plugin
Definition: AbstractItomDesignerPlugin.h:91
const QString getLicenseInfo(void) const
returns a detailed description of the plugin license
Definition: AbstractItomDesignerPlugin.h:75
const QString getDescription(void) const
returns a brief description of the plugin
Definition: AbstractItomDesignerPlugin.h:71
QString m_description
a brief descrition of the plugin
Definition: AbstractItomDesignerPlugin.h:90
QString m_author
the plugin author
Definition: AbstractItomDesignerPlugin.h:89
QString m_license
a short license string for the plugin, default value is "LGPL with ITO itom-exception" ...
Definition: AbstractItomDesignerPlugin.h:92