26 #include "pythonCommon.h"
27 #include "pythonQtConversion.h"
28 #include "pythonQtSignalMapper.h"
29 #include "pythonItomMetaObject.h"
55 char* widgetClassName;
56 unsigned int objectID;
57 const MethodDescriptionList* methodList;
58 PyObject *weakreflist;
68 bool childOfMainWindow;
70 PyObject *dialogButtons;
80 static void PyUiItem_dealloc(
PyUiItem *
self);
81 static PyObject *PyUiItem_new(PyTypeObject *type, PyObject *args, PyObject *kwds);
82 static int PyUiItem_init(
PyUiItem *
self, PyObject *args, PyObject *kwds);
87 static int PyUiItem_mappingLength(
PyUiItem*
self);
88 static PyObject* PyUiItem_mappingGetElem(
PyUiItem*
self, PyObject* key);
89 static int PyUiItem_mappingSetElem(
PyUiItem*
self, PyObject* key, PyObject* value);
94 static PyObject* PyUiItem_repr(
PyUiItem *
self);
95 static PyObject* PyUiItem_getClassName(
PyUiItem *
self);
96 static PyObject* PyUiItem_call(
PyUiItem *
self, PyObject* args);
97 static PyObject* PyUiItem_connect(
PyUiItem *
self, PyObject* args, PyObject *kwds);
98 static PyObject* PyUiItem_connectKeyboardInterrupt(
PyUiItem *
self, PyObject* args, PyObject *kwds);
99 static PyObject* PyUiItem_connectProgressObserverInterrupt(
PyUiItem *
self, PyObject* args, PyObject *kwds);
100 static PyObject* PyUiItem_disconnect(
PyUiItem *
self, PyObject* args, PyObject *kwds);
101 static PyObject* PyUiItem_getProperties(
PyUiItem *
self, PyObject *args);
102 static PyObject* PyUiItem_setProperties(
PyUiItem *
self, PyObject *args);
103 static PyObject *PyUiItem_getPropertyInfo(
PyUiItem *
self, PyObject *args);
104 static PyObject* PyUiItem_getattro(
PyUiItem *
self, PyObject *name);
105 static int PyUiItem_setattro(
PyUiItem *
self, PyObject *name, PyObject *value);
107 static PyObject* PyUiItem_setAttribute(
PyUiItem *
self, PyObject *args);
108 static PyObject* PyUiItem_getAttribute(
PyUiItem *
self, PyObject *args);
110 static PyObject* PyUiItem_setWindowFlags(
PyUiItem *
self, PyObject *args);
111 static PyObject* PyUiItem_getWindowFlags(
PyUiItem *
self);
116 static PyObject* PyUiItem_getChild(
PyUiItem *
self, PyObject *args, PyObject *kwds);
122 static bool loadMethodDescriptionList(
PyUiItem *
self);
128 static PyMemberDef PyUiItem_members[];
129 static PyGetSetDef PyUiItem_getseters[];
130 static PyMethodDef PyUiItem_methods[];
131 static PyTypeObject PyUiItemType;
132 static PyModuleDef PyUiItemModule;
133 static PyMappingMethods PyUiItem_mappingProtocol;
134 static void PyUiItem_addTpDict(PyObject *tp_dict);
146 static void PyUi_dealloc(
PyUi *
self);
147 static PyObject *PyUi_new(PyTypeObject *type, PyObject *args, PyObject *kwds);
148 static int PyUi_init(
PyUi *
self, PyObject *args, PyObject *kwds);
153 static PyObject* PyUi_repr(
PyUi *
self);
155 static PyObject *PyUi_show(
PyUi *
self, PyObject *args);
156 static PyObject *PyUi_hide(
PyUi *
self);
157 static PyObject *PyUi_isVisible(
PyUi *
self);
159 static PyObject *PyUi_getPropertyInfo(
PyUi *
self, PyObject *args);
160 static PyObject *PyUi_getProperties(
PyUi *
self, PyObject *args);
161 static PyObject *PyUi_setProperties(
PyUi *
self, PyObject *args);
166 static PyObject* PyUi_getDouble(
PyUi *
self, PyObject *args, PyObject *kwds);
167 static PyObject* PyUi_getInt(
PyUi *
self, PyObject *args, PyObject *kwds);
168 static PyObject* PyUi_getItem(
PyUi *
self, PyObject *args, PyObject *kwds);
169 static PyObject* PyUi_getText(
PyUi *
self, PyObject *args, PyObject *kwds);
171 static PyObject* PyUi_msgInformation(
PyUi *
self, PyObject *args, PyObject *kwds);
172 static PyObject* PyUi_msgQuestion(
PyUi *
self, PyObject *args, PyObject *kwds);
173 static PyObject* PyUi_msgWarning(
PyUi *
self, PyObject *args, PyObject *kwds);
174 static PyObject* PyUi_msgCritical(
PyUi *
self, PyObject *args, PyObject *kwds);
175 static PyObject* PyUi_msgGeneral(
PyUi *
self, PyObject *args, PyObject *kwds,
int type);
177 static PyObject* PyUi_getExistingDirectory(
PyUi *
self, PyObject *args, PyObject *kwds);
178 static PyObject* PyUi_getOpenFileNames(
PyUi *
self, PyObject *args, PyObject *kwds);
179 static PyObject* PyUi_getOpenFileName(
PyUi *
self, PyObject *args, PyObject *kwds);
180 static PyObject* PyUi_getSaveFileName(
PyUi *
self, PyObject *args, PyObject *kwds);
182 static PyObject* PyUi_createNewAlgoWidget(
PyUi *
self, PyObject *args, PyObject *kwds);
183 static PyObject* PyUi_createNewAlgoWidget2(
PyUi *
self, PyObject *args, PyObject *kwds);
184 static PyObject *PyUi_availableWidgets(
PyUi *
self);
189 static PyGetSetDef PyUi_getseters[];
190 static PyMemberDef PyUi_members[];
191 static PyMethodDef PyUi_methods[];
192 static PyTypeObject PyUiType;
193 static PyModuleDef PyUiModule;
194 static void PyUi_addTpDict(PyObject *tp_dict);
199 #define PyUiItem_Check(op) PyObject_TypeCheck(op, &ito::PythonUi::PyUiItemType)
200 #define PyUi_Check(op) PyObject_TypeCheck(op, &ito::PythonUi::PyUiType)
203 static QHash<QByteArray, QSharedPointer<ito::MethodDescriptionList> > methodDescriptionListStorage;
static PyObject * PyUiItem_info(PyUiItem *self, PyObject *args)
Definition: pythonUi.cpp:1819
static PyObject * PyUiItem_getLayout(PyUiItem *self)
Definition: pythonUi.cpp:2086
Definition: apiFunctionsGraph.cpp:39
static PyObject * PyUiItem_children(PyUiItem *self, PyObject *args, PyObject *kwds)
Definition: pythonUi.cpp:1969
static PyObject * PyUiItem_exists(PyUiItem *self)
Definition: pythonUi.cpp:1897
Definition: pythonUi.h:62
This class provides the possibility to redirect any signal emitted in an user-defined GUI to differen...
Definition: pythonQtSignalMapper.h:169
Definition: pythonUi.h:50
Definition: pythonUi.h:39