Gui::SignalConnect Class Reference

The SignalConnect class provides the abitlity to make a connection between the callback function of a Python object and the slot onExecute(). More...

#include <WidgetFactory.h>

List of all members.

Public Slots

void onExecute ()
 Calls the callback function of the connected Python object.

Public Member Functions

 SignalConnect (Base::PyObjectBase *res, PyObject *cb, QObject *sender)
 ~SignalConnect ()

Detailed Description

The SignalConnect class provides the abitlity to make a connection between the callback function of a Python object and the slot onExecute().

This mechanism is used in the Python/Qt framework.

Author:
Werner Mayer

Definition at line 367 of file WidgetFactory.h.


Constructor & Destructor Documentation

SignalConnect::SignalConnect ( Base::PyObjectBase res,
PyObject cb,
QObject *  sender 
)

Definition at line 679 of file WidgetFactory.cpp.

SignalConnect::~SignalConnect (  ) 

Definition at line 684 of file WidgetFactory.cpp.


Member Function Documentation

void SignalConnect::onExecute (  )  [slot]

Calls the callback function of the connected Python object.

Definition at line 692 of file WidgetFactory.cpp.

References result.


The documentation for this class was generated from the following files:

Generated on Wed Nov 23 19:02:03 2011 for FreeCAD by  doxygen 1.6.1