SourceForge.net Logo
PythonQt
Public Member Functions | Public Attributes | List of all members
PythonQtPropertyData Struct Reference

#include <PythonQtProperty.h>

Public Member Functions

 PythonQtPropertyData ()
 
bool callSetter (PyObject *wrapper, PyObject *newValue)
 
PyObjectcallGetter (PyObject *wrapper)
 
bool callReset (PyObject *wrapper)
 Call the freset method in Python, bound to the wrapper object. More...
 

Public Attributes

QByteArray cppType
 
PyObjectfget
 
PyObjectfset
 
PyObjectfdel
 
PyObjectfreset
 
PyObjectnotify
 
PyObjectdoc
 
bool designable
 
bool scriptable
 
bool stored
 
bool user
 
bool constant
 
bool final
 

Detailed Description

Definition at line 46 of file PythonQtProperty.h.

Constructor & Destructor Documentation

PythonQtPropertyData::PythonQtPropertyData ( )
inline

Definition at line 48 of file PythonQtProperty.h.

References constant, designable, doc, fdel, fget, freset, fset, notify, scriptable, stored, and user.

48  {
49  fget = NULL;
50  fset = NULL;
51  fdel = NULL;
52  freset = NULL;
53  notify = NULL;
54  doc = NULL;
55  designable = true;
56  scriptable = true;
57  stored = true;
58  user = false;
59  constant = false;
60  final = false;
61  }

Member Function Documentation

PyObject* PythonQtPropertyData::callGetter ( PyObject wrapper)

Call the fget method in Python, bound to the wrapper object. Returns the return value of the call (with a new ref).

bool PythonQtPropertyData::callReset ( PyObject wrapper)

Call the freset method in Python, bound to the wrapper object.

bool PythonQtPropertyData::callSetter ( PyObject wrapper,
PyObject newValue 
)

Call the fset method in Python, bound to the wrapper object. Returns true if successful

Member Data Documentation

bool PythonQtPropertyData::constant

Definition at line 87 of file PythonQtProperty.h.

Referenced by PythonQtPropertyData().

QByteArray PythonQtPropertyData::cppType

Definition at line 74 of file PythonQtProperty.h.

bool PythonQtPropertyData::designable

Definition at line 83 of file PythonQtProperty.h.

Referenced by PythonQtPropertyData().

PyObject* PythonQtPropertyData::doc

Definition at line 81 of file PythonQtProperty.h.

Referenced by PythonQtPropertyData().

PyObject* PythonQtPropertyData::fdel

Definition at line 78 of file PythonQtProperty.h.

Referenced by PythonQtPropertyData().

PyObject* PythonQtPropertyData::fget

Definition at line 76 of file PythonQtProperty.h.

Referenced by PythonQtPropertyData().

bool PythonQtPropertyData::final

Definition at line 88 of file PythonQtProperty.h.

PyObject* PythonQtPropertyData::freset

Definition at line 79 of file PythonQtProperty.h.

Referenced by PythonQtPropertyData().

PyObject* PythonQtPropertyData::fset

Definition at line 77 of file PythonQtProperty.h.

Referenced by PythonQtPropertyData().

PyObject* PythonQtPropertyData::notify

Definition at line 80 of file PythonQtProperty.h.

Referenced by PythonQtPropertyData().

bool PythonQtPropertyData::scriptable

Definition at line 84 of file PythonQtProperty.h.

Referenced by PythonQtPropertyData().

bool PythonQtPropertyData::stored

Definition at line 85 of file PythonQtProperty.h.

Referenced by PythonQtPropertyData().

bool PythonQtPropertyData::user

Definition at line 86 of file PythonQtProperty.h.

Referenced by PythonQtPropertyData().


The documentation for this struct was generated from the following file: