##// END OF EJS Templates
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well...
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@52 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r16:c68e0aff542c
Show More
PythonQtWrapper_QTextTable.h
45 lines | 1.9 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QTEXTTABLE_H
#define PYTHONQTWRAPPER_QTEXTTABLE_H
#include <qtexttable.h>
#include <QObject>
#include <QTextCursor>
#include <QTextFrame>
#include <QVariant>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qlist.h>
#include <qobject.h>
#include <qtextcursor.h>
#include <qtextdocument.h>
#include <qtextformat.h>
#include <qtextobject.h>
#include <qtexttable.h>
class PythonQtWrapper_QTextTable : public QObject
{ Q_OBJECT
public:
public slots:
QTextTable* new_QTextTable(QTextDocument* doc);
void delete_QTextTable(QTextTable* obj) { delete obj; }
QTextTableCell cellAt(QTextTable* theWrappedObject, const QTextCursor& c) const;
QTextTableCell cellAt(QTextTable* theWrappedObject, int position) const;
QTextTableCell cellAt(QTextTable* theWrappedObject, int row, int col) const;
int columns(QTextTable* theWrappedObject) const;
QTextTableFormat format(QTextTable* theWrappedObject) const;
void insertColumns(QTextTable* theWrappedObject, int pos, int num);
void insertRows(QTextTable* theWrappedObject, int pos, int num);
void mergeCells(QTextTable* theWrappedObject, const QTextCursor& cursor);
void mergeCells(QTextTable* theWrappedObject, int row, int col, int numRows, int numCols);
void removeColumns(QTextTable* theWrappedObject, int pos, int num);
void removeRows(QTextTable* theWrappedObject, int pos, int num);
void resize(QTextTable* theWrappedObject, int rows, int cols);
QTextCursor rowEnd(QTextTable* theWrappedObject, const QTextCursor& c) const;
QTextCursor rowStart(QTextTable* theWrappedObject, const QTextCursor& c) const;
int rows(QTextTable* theWrappedObject) const;
void setFormat(QTextTable* theWrappedObject, const QTextTableFormat& format);
void splitCell(QTextTable* theWrappedObject, int row, int col, int numRows, int numCols);
};
#endif // PYTHONQTWRAPPER_QTEXTTABLE_H