|
|
#include "PythonQtWrapper_QItemSelectionRange.h"
|
|
|
|
|
|
#include <PythonQtSignalReceiver.h>
|
|
|
#include <PythonQtMethodInfo.h>
|
|
|
#include <PythonQtConversion.h>
|
|
|
#include <QVariant>
|
|
|
#include <qabstractitemmodel.h>
|
|
|
#include <qitemselectionmodel.h>
|
|
|
#include <qlist.h>
|
|
|
|
|
|
QItemSelectionRange* PythonQtWrapper_QItemSelectionRange::new_QItemSelectionRange()
|
|
|
{
|
|
|
return new QItemSelectionRange(); }
|
|
|
|
|
|
QItemSelectionRange* PythonQtWrapper_QItemSelectionRange::new_QItemSelectionRange(const QItemSelectionRange& other)
|
|
|
{
|
|
|
return new QItemSelectionRange(other); }
|
|
|
|
|
|
QItemSelectionRange* PythonQtWrapper_QItemSelectionRange::new_QItemSelectionRange(const QModelIndex& index)
|
|
|
{
|
|
|
return new QItemSelectionRange(index); }
|
|
|
|
|
|
QItemSelectionRange* PythonQtWrapper_QItemSelectionRange::new_QItemSelectionRange(const QModelIndex& topLeft, const QModelIndex& bottomRight)
|
|
|
{
|
|
|
return new QItemSelectionRange(topLeft, bottomRight); }
|
|
|
|
|
|
QItemSelectionRange PythonQtWrapper_QItemSelectionRange::intersected(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const
|
|
|
{
|
|
|
return ( theWrappedObject->intersected(other));
|
|
|
}
|
|
|
|
|
|
int PythonQtWrapper_QItemSelectionRange::top(QItemSelectionRange* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->top());
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QItemSelectionRange::contains(QItemSelectionRange* theWrappedObject, int row, int column, const QModelIndex& parentIndex) const
|
|
|
{
|
|
|
return ( theWrappedObject->contains(row, column, parentIndex));
|
|
|
}
|
|
|
|
|
|
int PythonQtWrapper_QItemSelectionRange::height(QItemSelectionRange* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->height());
|
|
|
}
|
|
|
|
|
|
int PythonQtWrapper_QItemSelectionRange::right(QItemSelectionRange* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->right());
|
|
|
}
|
|
|
|
|
|
QModelIndex PythonQtWrapper_QItemSelectionRange::topLeft(QItemSelectionRange* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->topLeft());
|
|
|
}
|
|
|
|
|
|
QModelIndex PythonQtWrapper_QItemSelectionRange::bottomRight(QItemSelectionRange* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->bottomRight());
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QItemSelectionRange::intersects(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const
|
|
|
{
|
|
|
return ( theWrappedObject->intersects(other));
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QItemSelectionRange::contains(QItemSelectionRange* theWrappedObject, const QModelIndex& index) const
|
|
|
{
|
|
|
return ( theWrappedObject->contains(index));
|
|
|
}
|
|
|
|
|
|
int PythonQtWrapper_QItemSelectionRange::left(QItemSelectionRange* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->left());
|
|
|
}
|
|
|
|
|
|
int PythonQtWrapper_QItemSelectionRange::bottom(QItemSelectionRange* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->bottom());
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QItemSelectionRange::operator_equal(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const
|
|
|
{
|
|
|
return ( (*theWrappedObject)== other);
|
|
|
}
|
|
|
|
|
|
QModelIndex PythonQtWrapper_QItemSelectionRange::parent(QItemSelectionRange* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->parent());
|
|
|
}
|
|
|
|
|
|
int PythonQtWrapper_QItemSelectionRange::width(QItemSelectionRange* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->width());
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QItemSelectionRange::isValid(QItemSelectionRange* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->isValid());
|
|
|
}
|
|
|
|
|
|
QList<QModelIndex > PythonQtWrapper_QItemSelectionRange::indexes(QItemSelectionRange* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->indexes());
|
|
|
}
|
|
|
|
|
|
const QAbstractItemModel* PythonQtWrapper_QItemSelectionRange::model(QItemSelectionRange* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->model());
|
|
|
}
|
|
|
|
|
|
QString PythonQtWrapper_QItemSelectionRange::toString(QItemSelectionRange* obj) {
|
|
|
QString result;
|
|
|
QDebug d(&result);
|
|
|
d << *obj;
|
|
|
return result;
|
|
|
}
|
|
|
|
|
|
|