PythonQtWrapper_QTextListFormat.h
30 lines
| 1.2 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QTEXTLISTFORMAT_H | ||
#define PYTHONQTWRAPPER_QTEXTLISTFORMAT_H | ||||
#include <qtextformat.h> | ||||
#include <QObject> | ||||
#include <QVariant> | ||||
#include <qbrush.h> | ||||
#include <qcolor.h> | ||||
#include <qpen.h> | ||||
#include <qtextformat.h> | ||||
#include <qvector.h> | ||||
class PythonQtWrapper_QTextListFormat : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
Q_ENUMS(Style ) | ||||
enum Style{ | ||||
ListDisc = QTextListFormat::ListDisc, ListCircle = QTextListFormat::ListCircle, ListSquare = QTextListFormat::ListSquare, ListDecimal = QTextListFormat::ListDecimal, ListLowerAlpha = QTextListFormat::ListLowerAlpha, ListUpperAlpha = QTextListFormat::ListUpperAlpha, ListStyleUndefined = QTextListFormat::ListStyleUndefined}; | ||||
public slots: | ||||
QTextListFormat* new_QTextListFormat(); | ||||
void delete_QTextListFormat(QTextListFormat* obj) { delete obj; } | ||||
int indent(QTextListFormat* theWrappedObject) const; | ||||
bool isValid(QTextListFormat* theWrappedObject) const; | ||||
void setIndent(QTextListFormat* theWrappedObject, int indent); | ||||
void setStyle(QTextListFormat* theWrappedObject, QTextListFormat::Style style); | ||||
QTextListFormat::Style style(QTextListFormat* theWrappedObject) const; | ||||
}; | ||||
#endif // PYTHONQTWRAPPER_QTEXTLISTFORMAT_H | ||||