FreeCADGuiPy.cpp File Reference

#include <FCConfig.h>
#include <Python.h>
#include <QApplication>
#include <QIcon>
#include <QThread>
#include <Inventor/Qt/SoQt.h>
#include <Base/Exception.h>
#include <Base/Factory.h>
#include <Base/Interpreter.h>
#include <App/Application.h>
#include <Gui/Application.h>
#include <Gui/BitmapFactory.h>
#include <Gui/MainWindow.h>
#include <Gui/SoFCDB.h>

Go to the source code of this file.

Classes

class  GUIThread

Functions

static PyObjectFreeCADGui_embedToWindow (PyObject *, PyObject *args)
static PyObjectFreeCADGui_exec_loop (PyObject *, PyObject *args)
static PyObjectFreeCADGui_setupWithoutGUI (PyObject *, PyObject *args)
static PyObjectFreeCADGui_showMainWindow (PyObject *, PyObject *args)
PyMODINIT_FUNC initFreeCADGui ()
static QWidget * setupMainWindow ()

Variables

struct PyMethodDef FreeCADGui_methods []

Function Documentation

static PyObject* FreeCADGui_embedToWindow ( PyObject ,
PyObject args 
) [static]

Definition at line 173 of file FreeCADGuiPy.cpp.

References Gui::getMainWindow().

static PyObject* FreeCADGui_exec_loop ( PyObject ,
PyObject args 
) [static]

Definition at line 124 of file FreeCADGuiPy.cpp.

static PyObject* FreeCADGui_setupWithoutGUI ( PyObject ,
PyObject args 
) [static]
static PyObject* FreeCADGui_showMainWindow ( PyObject ,
PyObject args 
) [static]

Definition at line 83 of file FreeCADGuiPy.cpp.

References setupMainWindow().

PyMODINIT_FUNC initFreeCADGui (  ) 
static QWidget * setupMainWindow (  )  [static]

Variable Documentation

struct PyMethodDef FreeCADGui_methods[]
Initial value:
 { 
    {"showMainWindow",FreeCADGui_showMainWindow,METH_VARARGS,
     "showMainWindow() -- Show the main window\n"
     "If no main window does exist one gets created"},
    {"exec_loop",FreeCADGui_exec_loop,METH_VARARGS,
     "exec_loop() -- Starts the event loop\n"
     "Note: this will block the call until the event loop has terminated"},
    {"setupWithoutGUI",FreeCADGui_setupWithoutGUI,METH_VARARGS,
     "setupWithoutGUI() -- Uses this module without starting\n"
     "an event loop or showing up any GUI\n"},
    {"embedToWindow",FreeCADGui_embedToWindow,METH_VARARGS,
     "embedToWindow() -- Embeds the main window into another window\n"},
    {NULL, NULL}  
}

Definition at line 219 of file FreeCADGuiPy.cpp.


Generated on Wed Nov 23 19:01:16 2011 for FreeCAD by  doxygen 1.6.1