Page 1 of 1

Differentiate Between Gedi(Edit) instance and vision(Running) instance of EWO.

Posted: Tue Jan 17, 2017 6:40 am
by Kshitij Mayekar
How can I differentiate between Between Gedi(Edit) instance and vision(Running) instance of EWO in the EWO source code ?

Here is what I have tried.
//ewo.h file
...

Code: Select all

Q_PROPERTY(bool inGedi READ isInGedi WRITE setInGedi DESIGNABLE false SCRIPTABLE false)

public:
bool isInGedi() const

private:
bool inGedi
...

//ewo.cpp
...
MyWidget::MyWidget(QWidget *parent)
  : QWidget(parent)
{
  qDebug ()

Re: Differentiate Between Gedi(Edit) instance and vision(Running) instance of EWO.

Posted: Tue Jan 17, 2017 9:08 am
by leoknipp
Pleae have a look at the following thread:
https://portal.etm.at/index.php?option= ... 16&id=4780

At this thread the same/a similar topic is discussed.

Best Regards
Leopold Knipp
Senior Support Specialist

Re: Differentiate Between Gedi(Edit) instance and vision(Running) instance of EWO.

Posted: Tue Jan 17, 2017 9:40 am
by mkoller
Basics in C++: initialize your members!
And inGedi will never tell you anything just inside the constructor, since it can only be set after construction of the object.