I am able to build the EWO, which i implemented from begnning looking at the template of BaseExternWIdgte.hxx.
I am able to run the ewo on the panel,
virtual QWidget *widget() const = 0;
This returns the widget and then we need to call show to show the ewo in panel.
i understood the above function.
My queries are , what does the function in BaseExternWidget.hxx does?
What is the functionality?
1) virtual QStringList signalList() const;
2) virtual bool signalInterface(const QString &name, QList &args) const; ?
3) virtual QStringList methodList() const; ?
4) virtual bool method Interface(const QString &name, QVariant::Type &retval,QList &args) const; ?
5) virtual QVariant invokeMethod(const QString &name,QList &values,QString &error); ?
6) void signal(const QString &sigName, const QVariant &value = QVariant()); ?
Will this be relatedto WinCC OA and EWO for communication, i didnt get the above listed 1-6 functionality?
Regarding the functions used in BaseExternalWidget.hxx
- Pradeep Kumar
- Posts:39
- Joined: Fri Dec 09, 2016 2:54 pm
Regarding the functions used in BaseExternalWidget.hxx
- Gertjan van Schijndel
- Posts:634
- Joined: Mon Aug 02, 2010 10:37 am
Re: Regarding the functions used in BaseExternalWidget.hxx
These functions are responsible for the communication between the Qt widget and WinCC OA. For details look at the function headers in 'BaseExternWidget.hxx'.