#ifndef PYTHONQTWRAPPER_QTEXTFRAMEFORMAT_H #define PYTHONQTWRAPPER_QTEXTFRAMEFORMAT_H #include #include #include #include #include #include #include #include class PythonQtWrapper_QTextFrameFormat : public QObject { Q_OBJECT public: Q_ENUMS(Position BorderStyle ) enum Position{ InFlow = QTextFrameFormat::InFlow, FloatLeft = QTextFrameFormat::FloatLeft, FloatRight = QTextFrameFormat::FloatRight}; enum BorderStyle{ BorderStyle_None = QTextFrameFormat::BorderStyle_None, BorderStyle_Dotted = QTextFrameFormat::BorderStyle_Dotted, BorderStyle_Dashed = QTextFrameFormat::BorderStyle_Dashed, BorderStyle_Solid = QTextFrameFormat::BorderStyle_Solid, BorderStyle_Double = QTextFrameFormat::BorderStyle_Double, BorderStyle_DotDash = QTextFrameFormat::BorderStyle_DotDash, BorderStyle_DotDotDash = QTextFrameFormat::BorderStyle_DotDotDash, BorderStyle_Groove = QTextFrameFormat::BorderStyle_Groove, BorderStyle_Ridge = QTextFrameFormat::BorderStyle_Ridge, BorderStyle_Inset = QTextFrameFormat::BorderStyle_Inset, BorderStyle_Outset = QTextFrameFormat::BorderStyle_Outset}; public slots: QTextFrameFormat* new_QTextFrameFormat(); void delete_QTextFrameFormat(QTextFrameFormat* obj) { delete obj; } qreal border(QTextFrameFormat* theWrappedObject) const; QBrush borderBrush(QTextFrameFormat* theWrappedObject) const; QTextFrameFormat::BorderStyle borderStyle(QTextFrameFormat* theWrappedObject) const; qreal bottomMargin(QTextFrameFormat* theWrappedObject) const; QTextLength height(QTextFrameFormat* theWrappedObject) const; bool isValid(QTextFrameFormat* theWrappedObject) const; qreal leftMargin(QTextFrameFormat* theWrappedObject) const; qreal margin(QTextFrameFormat* theWrappedObject) const; qreal padding(QTextFrameFormat* theWrappedObject) const; QTextFormat::PageBreakFlags pageBreakPolicy(QTextFrameFormat* theWrappedObject) const; QTextFrameFormat::Position position(QTextFrameFormat* theWrappedObject) const; qreal rightMargin(QTextFrameFormat* theWrappedObject) const; void setBorder(QTextFrameFormat* theWrappedObject, qreal border); void setBorderBrush(QTextFrameFormat* theWrappedObject, const QBrush& brush); void setBorderStyle(QTextFrameFormat* theWrappedObject, QTextFrameFormat::BorderStyle style); void setBottomMargin(QTextFrameFormat* theWrappedObject, qreal margin); void setHeight(QTextFrameFormat* theWrappedObject, const QTextLength& height); void setHeight(QTextFrameFormat* theWrappedObject, qreal height); void setLeftMargin(QTextFrameFormat* theWrappedObject, qreal margin); void setMargin(QTextFrameFormat* theWrappedObject, qreal margin); void setPadding(QTextFrameFormat* theWrappedObject, qreal padding); void setPageBreakPolicy(QTextFrameFormat* theWrappedObject, QTextFormat::PageBreakFlags flags); void setPosition(QTextFrameFormat* theWrappedObject, QTextFrameFormat::Position f); void setRightMargin(QTextFrameFormat* theWrappedObject, qreal margin); void setTopMargin(QTextFrameFormat* theWrappedObject, qreal margin); void setWidth(QTextFrameFormat* theWrappedObject, const QTextLength& length); void setWidth(QTextFrameFormat* theWrappedObject, qreal width); qreal topMargin(QTextFrameFormat* theWrappedObject) const; QTextLength width(QTextFrameFormat* theWrappedObject) const; }; #endif // PYTHONQTWRAPPER_QTEXTFRAMEFORMAT_H