コード例 #1
0
extern "C" {static void dealloc_QIRProximityReading(sipSimpleWrapper *);}
static void dealloc_QIRProximityReading(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QIRProximityReading(sipGetAddress(sipSelf),0);
    }
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QIRProximityReading[] = {{54, 255, 1}};


static PyMethodDef methods_QIRProximityReading[] = {
    {SIP_MLNAME_CAST(sipName_reflectance), meth_QIRProximityReading_reflectance, METH_VARARGS, SIP_MLDOC_CAST(doc_QIRProximityReading_reflectance)},
    {SIP_MLNAME_CAST(sipName_setReflectance), meth_QIRProximityReading_setReflectance, METH_VARARGS, SIP_MLDOC_CAST(doc_QIRProximityReading_setReflectance)}
};


pyqt5ClassTypeDef sipTypeDef_QtSensors_QIRProximityReading = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QIRProximityReading,
        {0}
    },
    {
コード例 #2
0
}


/* Call the instance's destructor. */
extern "C" {static void release_QCameraFocus(void *, int);}
static void release_QCameraFocus(void *,int)
{
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QCameraFocus[] = {{162, 0, 1}};


static PyMethodDef methods_QCameraFocus[] = {
    {SIP_MLNAME_CAST(sipName_customFocusPoint), meth_QCameraFocus_customFocusPoint, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraFocus_customFocusPoint)},
    {SIP_MLNAME_CAST(sipName_digitalZoom), meth_QCameraFocus_digitalZoom, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraFocus_digitalZoom)},
    {SIP_MLNAME_CAST(sipName_focusMode), meth_QCameraFocus_focusMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraFocus_focusMode)},
    {SIP_MLNAME_CAST(sipName_focusPointMode), meth_QCameraFocus_focusPointMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraFocus_focusPointMode)},
    {SIP_MLNAME_CAST(sipName_focusZones), meth_QCameraFocus_focusZones, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraFocus_focusZones)},
    {SIP_MLNAME_CAST(sipName_isAvailable), meth_QCameraFocus_isAvailable, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraFocus_isAvailable)},
    {SIP_MLNAME_CAST(sipName_isFocusModeSupported), meth_QCameraFocus_isFocusModeSupported, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraFocus_isFocusModeSupported)},
    {SIP_MLNAME_CAST(sipName_isFocusPointModeSupported), meth_QCameraFocus_isFocusPointModeSupported, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraFocus_isFocusPointModeSupported)},
    {SIP_MLNAME_CAST(sipName_maximumDigitalZoom), meth_QCameraFocus_maximumDigitalZoom, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraFocus_maximumDigitalZoom)},
    {SIP_MLNAME_CAST(sipName_maximumOpticalZoom), meth_QCameraFocus_maximumOpticalZoom, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraFocus_maximumOpticalZoom)},
    {SIP_MLNAME_CAST(sipName_opticalZoom), meth_QCameraFocus_opticalZoom, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraFocus_opticalZoom)},
    {SIP_MLNAME_CAST(sipName_setCustomFocusPoint), meth_QCameraFocus_setCustomFocusPoint, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraFocus_setCustomFocusPoint)},
    {SIP_MLNAME_CAST(sipName_setFocusMode), meth_QCameraFocus_setFocusMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraFocus_setFocusMode)},
    {SIP_MLNAME_CAST(sipName_setFocusPointMode), meth_QCameraFocus_setFocusPointMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraFocus_setFocusPointMode)},
    {SIP_MLNAME_CAST(sipName_zoomTo), meth_QCameraFocus_zoomTo, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraFocus_zoomTo)}
};
コード例 #3
0
            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_tlp_GlAbstractPolygon[] = {{23, 255, 1}};


static PyMethodDef methods_tlp_GlAbstractPolygon[] = {
    {SIP_MLNAME_CAST(sipName_clearGenerated), meth_tlp_GlAbstractPolygon_clearGenerated, METH_VARARGS, SIP_MLDOC_CAST(doc_tlp_GlAbstractPolygon_clearGenerated)},
    {SIP_MLNAME_CAST(sipName_draw), meth_tlp_GlAbstractPolygon_draw, METH_VARARGS, SIP_MLDOC_CAST(doc_tlp_GlAbstractPolygon_draw)},
    {SIP_MLNAME_CAST(sipName_getFillColor), meth_tlp_GlAbstractPolygon_getFillColor, METH_VARARGS, SIP_MLDOC_CAST(doc_tlp_GlAbstractPolygon_getFillColor)},
    {SIP_MLNAME_CAST(sipName_getFillMode), meth_tlp_GlAbstractPolygon_getFillMode, METH_VARARGS, SIP_MLDOC_CAST(doc_tlp_GlAbstractPolygon_getFillMode)},
    {SIP_MLNAME_CAST(sipName_getHideOutlineLod), meth_tlp_GlAbstractPolygon_getHideOutlineLod, METH_VARARGS, SIP_MLDOC_CAST(doc_tlp_GlAbstractPolygon_getHideOutlineLod)},
    {SIP_MLNAME_CAST(sipName_getLightingMode), meth_tlp_GlAbstractPolygon_getLightingMode, METH_VARARGS, SIP_MLDOC_CAST(doc_tlp_GlAbstractPolygon_getLightingMode)},
    {SIP_MLNAME_CAST(sipName_getOutlineColor), meth_tlp_GlAbstractPolygon_getOutlineColor, METH_VARARGS, SIP_MLDOC_CAST(doc_tlp_GlAbstractPolygon_getOutlineColor)},
    {SIP_MLNAME_CAST(sipName_getOutlineMode), meth_tlp_GlAbstractPolygon_getOutlineMode, METH_VARARGS, SIP_MLDOC_CAST(doc_tlp_GlAbstractPolygon_getOutlineMode)},
    {SIP_MLNAME_CAST(sipName_getOutlineSize), meth_tlp_GlAbstractPolygon_getOutlineSize, METH_VARARGS, SIP_MLDOC_CAST(doc_tlp_GlAbstractPolygon_getOutlineSize)},
    {SIP_MLNAME_CAST(sipName_getPolygonMode), meth_tlp_GlAbstractPolygon_getPolygonMode, METH_VARARGS, SIP_MLDOC_CAST(doc_tlp_GlAbstractPolygon_getPolygonMode)},
    {SIP_MLNAME_CAST(sipName_getTextureName), meth_tlp_GlAbstractPolygon_getTextureName, METH_VARARGS, SIP_MLDOC_CAST(doc_tlp_GlAbstractPolygon_getTextureName)},
    {SIP_MLNAME_CAST(sipName_getXML), meth_tlp_GlAbstractPolygon_getXML, METH_VARARGS, SIP_MLDOC_CAST(doc_tlp_GlAbstractPolygon_getXML)},
    {SIP_MLNAME_CAST(sipName_recomputeBoundingBox), meth_tlp_GlAbstractPolygon_recomputeBoundingBox, METH_VARARGS, SIP_MLDOC_CAST(doc_tlp_GlAbstractPolygon_recomputeBoundingBox)},
    {SIP_MLNAME_CAST(sipName_setFillColor), meth_tlp_GlAbstractPolygon_setFillColor, METH_VARARGS, SIP_MLDOC_CAST(doc_tlp_GlAbstractPolygon_setFillColor)},
    {SIP_MLNAME_CAST(sipName_setFillColors), meth_tlp_GlAbstractPolygon_setFillColors, METH_VARARGS, SIP_MLDOC_CAST(doc_tlp_GlAbstractPolygon_setFillColors)},
    {SIP_MLNAME_CAST(sipName_setFillMode), meth_tlp_GlAbstractPolygon_setFillMode, METH_VARARGS, SIP_MLDOC_CAST(doc_tlp_GlAbstractPolygon_setFillMode)},
コード例 #4
0
            sipCpp = new QDomCharacterData(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QDomCharacterData[] = {{13, 255, 1}};


static PyMethodDef methods_QDomCharacterData[] = {
    {SIP_MLNAME_CAST(sipName_appendData), meth_QDomCharacterData_appendData, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomCharacterData_appendData)},
    {SIP_MLNAME_CAST(sipName_data), meth_QDomCharacterData_data, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomCharacterData_data)},
    {SIP_MLNAME_CAST(sipName_deleteData), meth_QDomCharacterData_deleteData, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomCharacterData_deleteData)},
    {SIP_MLNAME_CAST(sipName_insertData), meth_QDomCharacterData_insertData, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomCharacterData_insertData)},
    {SIP_MLNAME_CAST(sipName_length), meth_QDomCharacterData_length, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomCharacterData_length)},
    {SIP_MLNAME_CAST(sipName_nodeType), meth_QDomCharacterData_nodeType, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomCharacterData_nodeType)},
    {SIP_MLNAME_CAST(sipName_replaceData), meth_QDomCharacterData_replaceData, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomCharacterData_replaceData)},
    {SIP_MLNAME_CAST(sipName_setData), meth_QDomCharacterData_setData, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomCharacterData_setData)},
    {SIP_MLNAME_CAST(sipName_substringData), meth_QDomCharacterData_substringData, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomCharacterData_substringData)}
};

PyDoc_STRVAR(doc_QDomCharacterData, "\1QDomCharacterData()\n"
    "QDomCharacterData(QDomCharacterData)");


pyqt5ClassTypeDef sipTypeDef_QtXml_QDomCharacterData = {
コード例 #5
0
extern "C" {static void dealloc_QOpenGLContextGroup(sipSimpleWrapper *);}
static void dealloc_QOpenGLContextGroup(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QOpenGLContextGroup(sipGetAddress(sipSelf),0);
    }
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QOpenGLContextGroup[] = {{162, 0, 1}};


static PyMethodDef methods_QOpenGLContextGroup[] = {
    {SIP_MLNAME_CAST(sipName_currentContextGroup), meth_QOpenGLContextGroup_currentContextGroup, METH_VARARGS, SIP_MLDOC_CAST(doc_QOpenGLContextGroup_currentContextGroup)},
    {SIP_MLNAME_CAST(sipName_shares), meth_QOpenGLContextGroup_shares, METH_VARARGS, SIP_MLDOC_CAST(doc_QOpenGLContextGroup_shares)}
};


pyqt5ClassTypeDef sipTypeDef_QtGui_QOpenGLContextGroup = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QOpenGLContextGroup,
        {0}
    },
    {
コード例 #6
0
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QQmlParserStatus, &a0))
        {
            sipCpp = new sipQQmlParserStatus(*a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QQmlParserStatus[] = {
    {SIP_MLNAME_CAST(sipName_classBegin), meth_QQmlParserStatus_classBegin, METH_VARARGS, SIP_MLDOC_CAST(doc_QQmlParserStatus_classBegin)},
    {SIP_MLNAME_CAST(sipName_componentComplete), meth_QQmlParserStatus_componentComplete, METH_VARARGS, SIP_MLDOC_CAST(doc_QQmlParserStatus_componentComplete)}
};

PyDoc_STRVAR(doc_QQmlParserStatus, "\1QQmlParserStatus()\n"
    "QQmlParserStatus(QQmlParserStatus)");


pyqt5ClassTypeDef sipTypeDef_QtQml_QQmlParserStatus = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QQmlParserStatus,
コード例 #7
0
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QTextTableCell[] = {
    {(void *)slot_QTextTableCell___ne__, ne_slot},
    {(void *)slot_QTextTableCell___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QTextTableCell[] = {
    {SIP_MLNAME_CAST(sipName_column), meth_QTextTableCell_column, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextTableCell_column)},
    {SIP_MLNAME_CAST(sipName_columnSpan), meth_QTextTableCell_columnSpan, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextTableCell_columnSpan)},
    {SIP_MLNAME_CAST(sipName_firstCursorPosition), meth_QTextTableCell_firstCursorPosition, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextTableCell_firstCursorPosition)},
    {SIP_MLNAME_CAST(sipName_format), meth_QTextTableCell_format, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextTableCell_format)},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QTextTableCell_isValid, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextTableCell_isValid)},
    {SIP_MLNAME_CAST(sipName_lastCursorPosition), meth_QTextTableCell_lastCursorPosition, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextTableCell_lastCursorPosition)},
    {SIP_MLNAME_CAST(sipName_row), meth_QTextTableCell_row, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextTableCell_row)},
    {SIP_MLNAME_CAST(sipName_rowSpan), meth_QTextTableCell_rowSpan, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextTableCell_rowSpan)},
    {SIP_MLNAME_CAST(sipName_setFormat), meth_QTextTableCell_setFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextTableCell_setFormat)},
    {SIP_MLNAME_CAST(sipName_tableCellFormatIndex), meth_QTextTableCell_tableCellFormatIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextTableCell_tableCellFormatIndex)}
};

PyDoc_STRVAR(doc_QTextTableCell, "\1QTextTableCell()\n"
             "QTextTableCell(QTextTableCell)");

コード例 #8
0
        const QOpenGLPixelTransferOptions* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QOpenGLPixelTransferOptions, &a0))
        {
            sipCpp = new QOpenGLPixelTransferOptions(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QOpenGLPixelTransferOptions[] = {
    {SIP_MLNAME_CAST(sipName_alignment), meth_QOpenGLPixelTransferOptions_alignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QOpenGLPixelTransferOptions_alignment)},
    {SIP_MLNAME_CAST(sipName_imageHeight), meth_QOpenGLPixelTransferOptions_imageHeight, METH_VARARGS, SIP_MLDOC_CAST(doc_QOpenGLPixelTransferOptions_imageHeight)},
    {SIP_MLNAME_CAST(sipName_isLeastSignificantBitFirst), meth_QOpenGLPixelTransferOptions_isLeastSignificantBitFirst, METH_VARARGS, SIP_MLDOC_CAST(doc_QOpenGLPixelTransferOptions_isLeastSignificantBitFirst)},
    {SIP_MLNAME_CAST(sipName_isSwapBytesEnabled), meth_QOpenGLPixelTransferOptions_isSwapBytesEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QOpenGLPixelTransferOptions_isSwapBytesEnabled)},
    {SIP_MLNAME_CAST(sipName_rowLength), meth_QOpenGLPixelTransferOptions_rowLength, METH_VARARGS, SIP_MLDOC_CAST(doc_QOpenGLPixelTransferOptions_rowLength)},
    {SIP_MLNAME_CAST(sipName_setAlignment), meth_QOpenGLPixelTransferOptions_setAlignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QOpenGLPixelTransferOptions_setAlignment)},
    {SIP_MLNAME_CAST(sipName_setImageHeight), meth_QOpenGLPixelTransferOptions_setImageHeight, METH_VARARGS, SIP_MLDOC_CAST(doc_QOpenGLPixelTransferOptions_setImageHeight)},
    {SIP_MLNAME_CAST(sipName_setLeastSignificantByteFirst), meth_QOpenGLPixelTransferOptions_setLeastSignificantByteFirst, METH_VARARGS, SIP_MLDOC_CAST(doc_QOpenGLPixelTransferOptions_setLeastSignificantByteFirst)},
    {SIP_MLNAME_CAST(sipName_setRowLength), meth_QOpenGLPixelTransferOptions_setRowLength, METH_VARARGS, SIP_MLDOC_CAST(doc_QOpenGLPixelTransferOptions_setRowLength)},
    {SIP_MLNAME_CAST(sipName_setSkipImages), meth_QOpenGLPixelTransferOptions_setSkipImages, METH_VARARGS, SIP_MLDOC_CAST(doc_QOpenGLPixelTransferOptions_setSkipImages)},
    {SIP_MLNAME_CAST(sipName_setSkipPixels), meth_QOpenGLPixelTransferOptions_setSkipPixels, METH_VARARGS, SIP_MLDOC_CAST(doc_QOpenGLPixelTransferOptions_setSkipPixels)},
    {SIP_MLNAME_CAST(sipName_setSkipRows), meth_QOpenGLPixelTransferOptions_setSkipRows, METH_VARARGS, SIP_MLDOC_CAST(doc_QOpenGLPixelTransferOptions_setSkipRows)},
    {SIP_MLNAME_CAST(sipName_setSwapBytesEnabled), meth_QOpenGLPixelTransferOptions_setSwapBytesEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QOpenGLPixelTransferOptions_setSwapBytesEnabled)},
    {SIP_MLNAME_CAST(sipName_skipImages), meth_QOpenGLPixelTransferOptions_skipImages, METH_VARARGS, SIP_MLDOC_CAST(doc_QOpenGLPixelTransferOptions_skipImages)},
    {SIP_MLNAME_CAST(sipName_skipPixels), meth_QOpenGLPixelTransferOptions_skipPixels, METH_VARARGS, SIP_MLDOC_CAST(doc_QOpenGLPixelTransferOptions_skipPixels)},
    {SIP_MLNAME_CAST(sipName_skipRows), meth_QOpenGLPixelTransferOptions_skipRows, METH_VARARGS, SIP_MLDOC_CAST(doc_QOpenGLPixelTransferOptions_skipRows)},
コード例 #9
0
        const QTextOption* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QTextOption, &a0))
        {
            sipCpp = new QTextOption(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QTextOption[] = {
    {SIP_MLNAME_CAST(sipName_alignment), meth_QTextOption_alignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextOption_alignment)},
    {SIP_MLNAME_CAST(sipName_flags), meth_QTextOption_flags, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextOption_flags)},
    {SIP_MLNAME_CAST(sipName_setAlignment), meth_QTextOption_setAlignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextOption_setAlignment)},
    {SIP_MLNAME_CAST(sipName_setFlags), meth_QTextOption_setFlags, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextOption_setFlags)},
    {SIP_MLNAME_CAST(sipName_setTabArray), meth_QTextOption_setTabArray, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextOption_setTabArray)},
    {SIP_MLNAME_CAST(sipName_setTabStop), meth_QTextOption_setTabStop, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextOption_setTabStop)},
    {SIP_MLNAME_CAST(sipName_setTabs), meth_QTextOption_setTabs, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextOption_setTabs)},
    {SIP_MLNAME_CAST(sipName_setTextDirection), meth_QTextOption_setTextDirection, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextOption_setTextDirection)},
    {SIP_MLNAME_CAST(sipName_setUseDesignMetrics), meth_QTextOption_setUseDesignMetrics, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextOption_setUseDesignMetrics)},
    {SIP_MLNAME_CAST(sipName_setWrapMode), meth_QTextOption_setWrapMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextOption_setWrapMode)},
    {SIP_MLNAME_CAST(sipName_tabArray), meth_QTextOption_tabArray, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextOption_tabArray)},
    {SIP_MLNAME_CAST(sipName_tabStop), meth_QTextOption_tabStop, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextOption_tabStop)},
    {SIP_MLNAME_CAST(sipName_tabs), meth_QTextOption_tabs, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextOption_tabs)},
    {SIP_MLNAME_CAST(sipName_textDirection), meth_QTextOption_textDirection, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextOption_textDirection)},
    {SIP_MLNAME_CAST(sipName_useDesignMetrics), meth_QTextOption_useDesignMetrics, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextOption_useDesignMetrics)},
    {SIP_MLNAME_CAST(sipName_wrapMode), meth_QTextOption_wrapMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextOption_wrapMode)}