38 :
QObject (), m_handle (go.get_handle ()), m_qobject (0)
43 qCritical (
"QtHandles::Object::Object: "
44 "creating Object (h=%g) without a valid lock!!!",
54 qCritical (
"QtHandles::Object::init: "
55 "resetting QObject while in invalid state");
61 m_qobject->setProperty (
"QtHandles::Object",
62 qVariantFromValue<void*> (
this));
78 qCritical (
"QtHandles::Object::object: "
79 "accessing graphics object (h=%g) without a valid lock!!!",
100 if (
object ().valid_object ())
119 if (
object ().valid_object ())
128 if (
object ().valid_object ())
129 print (file_cmd, term);
183 QVariant v = obj->property (
"QtHandles::Object");
186 return reinterpret_cast<Object*> (qVariantValue<void*> (v));
graphics_handle get_parent(void) const
virtual void redraw(void)
static Object * parentObject(const graphics_object &go)
void init(QObject *obj, bool callBase=false)
static Object * fromQObject(QObject *obj)
virtual void beingDeleted(void)
Object(const graphics_object &go, QObject *obj=0)
graphics_object object(void) const
virtual void finalize(void)
static Object * toolkitObject(const graphics_object &go)
virtual void update(int pId)
virtual void print(const QString &file_cmd, const QString &term)
static graphics_object get_object(double val)
void objectDestroyed(QObject *obj=0)
void slotPrint(const QString &file_cmd, const QString &term)