Find and share HowTos to various installations / configurations!
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 » Tue Jan 17, 2017 6:40 am
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 ()
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 » Tue Jan 17, 2017 9:08 am
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
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 » Tue Jan 17, 2017 9:40 am
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.