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

Find and share HowTos to various installations / configurations!
Search

Post Reply
3 posts • Page 1 of 1
Kshitij Mayekar
Posts: 8
Joined: Mon Jan 16, 2017 6:46 am

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

Post 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 ()

User avatar
leoknipp
Posts: 2928
Joined: Tue Aug 24, 2010 7:28 pm

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

Post 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

User avatar
mkoller
Posts: 741
Joined: Fri Sep 17, 2010 9:03 am

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

Post 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.

Post Reply
3 posts • Page 1 of 1