##// END OF EJS Templates
- added hasOwner method to manage ownership more nicely...
- added hasOwner method to manage ownership more nicely - added force flag to make delete() work - added check for hasOwner git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@51 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r15:ae998290bf19
Show More
PythonQtWrapper_QTextTableFormat.h
36 lines | 1.5 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QTEXTTABLEFORMAT_H
#define PYTHONQTWRAPPER_QTEXTTABLEFORMAT_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_QTextTableFormat : public QObject
{ Q_OBJECT
public:
public slots:
QTextTableFormat* new_QTextTableFormat();
void delete_QTextTableFormat(QTextTableFormat* obj) { delete obj; }
Qt::Alignment alignment(QTextTableFormat* theWrappedObject) const;
qreal cellPadding(QTextTableFormat* theWrappedObject) const;
qreal cellSpacing(QTextTableFormat* theWrappedObject) const;
void clearColumnWidthConstraints(QTextTableFormat* theWrappedObject);
QVector<QTextLength > columnWidthConstraints(QTextTableFormat* theWrappedObject) const;
int columns(QTextTableFormat* theWrappedObject) const;
int headerRowCount(QTextTableFormat* theWrappedObject) const;
bool isValid(QTextTableFormat* theWrappedObject) const;
void setAlignment(QTextTableFormat* theWrappedObject, Qt::Alignment alignment);
void setCellPadding(QTextTableFormat* theWrappedObject, qreal padding);
void setCellSpacing(QTextTableFormat* theWrappedObject, qreal spacing);
void setColumnWidthConstraints(QTextTableFormat* theWrappedObject, const QVector<QTextLength >& constraints);
void setColumns(QTextTableFormat* theWrappedObject, int columns);
void setHeaderRowCount(QTextTableFormat* theWrappedObject, int count);
};
#endif // PYTHONQTWRAPPER_QTEXTTABLEFORMAT_H