itom
Loading...
Searching...
No Matches
ito::PythonFont Class Reference

Classes

struct  PyFont
 

Static Public Member Functions

static void PyFont_dealloc (PyFont *self)
 
static PyObject * PyFont_new (PyTypeObject *type, PyObject *args, PyObject *kwds)
 
static int PyFont_init (PyFont *self, PyObject *args, PyObject *kwds)
 
static PyObject * createPyFont (const QFont &font)
 
static PyObject * PyFont_repr (PyFont *self)
 
static PyObject * PyFont_Reduce (PyFont *self, PyObject *args)
 
static PyObject * PyFont_SetState (PyFont *self, PyObject *args)
 
static PyObject * PyFont_getFamily (PyFont *self, void *closure)
 
static int PyFont_setFamily (PyFont *self, PyObject *value, void *closure)
 
static PyObject * PyFont_getPointSize (PyFont *self, void *closure)
 
static int PyFont_setPointSize (PyFont *self, PyObject *value, void *closure)
 
static PyObject * PyFont_getWeight (PyFont *self, void *closure)
 
static int PyFont_setWeight (PyFont *self, PyObject *value, void *closure)
 
static PyObject * PyFont_getItalic (PyFont *self, void *closure)
 
static int PyFont_setItalic (PyFont *self, PyObject *value, void *closure)
 
static PyObject * PyFont_getUnderline (PyFont *self, void *closure)
 
static int PyFont_setUnderline (PyFont *self, PyObject *value, void *closure)
 
static PyObject * PyFont_getStrikeOut (PyFont *self, void *closure)
 
static int PyFont_setStrikeOut (PyFont *self, PyObject *value, void *closure)
 
static PyObject * PyFont_isFamilyInstalled (PyFont *self, PyObject *args, PyObject *kwds)
 
static PyObject * PyFont_installedFontFamilies (PyFont *self)
 
static void PyFont_addTpDict (PyObject *tp_dict)
 

Static Public Attributes

static PyMethodDef PyFont_methods []
 
static PyGetSetDef PyFont_getseters []
 
static PyTypeObject PyFontType
 
static PyModuleDef PyFontModule
 

Member Data Documentation

◆ PyFont_getseters

PyGetSetDef ito::PythonFont::PyFont_getseters
static
Initial value:
= {
{"family", (getter)PyFont_getFamily, (setter)PyFont_setFamily, font_getFamily_doc, NULL},
{"pointSize", (getter)PyFont_getPointSize, (setter)PyFont_setPointSize, font_getPointSize_doc, NULL},
{"weight", (getter)PyFont_getWeight, (setter)PyFont_setWeight, font_getWeight_doc, NULL},
{"italic", (getter)PyFont_getItalic, (setter)PyFont_setItalic, font_getItalic_doc, NULL},
{"underline", (getter)PyFont_getUnderline, (setter)PyFont_setUnderline, font_getUnderline_doc, NULL},
{"strikeOut", (getter)PyFont_getStrikeOut, (setter)PyFont_setStrikeOut, font_getStrikeOut_doc, NULL},
{NULL}
}

◆ PyFont_methods

PyMethodDef ito::PythonFont::PyFont_methods
static
Initial value:
= {
{"__reduce__", (PyCFunction)PyFont_Reduce, METH_VARARGS, "__reduce__ method for handle pickling commands"},
{"__setstate__", (PyCFunction)PyFont_SetState, METH_VARARGS, "__setstate__ method for handle unpickling commands"},
{ "isFamilyInstalled", (PyCFunction)PyFont_isFamilyInstalled, METH_VARARGS | METH_KEYWORDS | METH_STATIC, pyFont_isFamilyInstalled_DOC },
{ "installedFontFamilies", (PyCFunction)PyFont_installedFontFamilies, METH_NOARGS | METH_STATIC, pyFont_installedFontFamilies_DOC },
{NULL}
}

◆ PyFontModule

PyModuleDef ito::PythonFont::PyFontModule
static
Initial value:
= {
PyModuleDef_HEAD_INIT, "font", "Font object.", -1,
NULL, NULL, NULL, NULL, NULL
}

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