##// 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_QProgressBar.cpp
120 lines | 3.1 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QProgressBar.h"
#include <QVariant>
#include <qaction.h>
#include <qbitmap.h>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qcursor.h>
#include <qevent.h>
#include <qfont.h>
#include <qicon.h>
#include <qinputcontext.h>
#include <qkeysequence.h>
#include <qlayout.h>
#include <qlist.h>
#include <qlocale.h>
#include <qobject.h>
#include <qpaintdevice.h>
#include <qpaintengine.h>
#include <qpainter.h>
#include <qpalette.h>
#include <qpoint.h>
#include <qprogressbar.h>
#include <qrect.h>
#include <qregion.h>
#include <qsize.h>
#include <qsizepolicy.h>
#include <qstyle.h>
#include <qstyleoption.h>
#include <qwidget.h>
QProgressBar* PythonQtWrapper_QProgressBar::new_QProgressBar(QWidget* parent)
{
return new QProgressBar(parent); }
Qt::Alignment PythonQtWrapper_QProgressBar::alignment(QProgressBar* theWrappedObject) const
{
return theWrappedObject->alignment();
}
QString PythonQtWrapper_QProgressBar::format(QProgressBar* theWrappedObject) const
{
return theWrappedObject->format();
}
bool PythonQtWrapper_QProgressBar::invertedAppearance(QProgressBar* theWrappedObject)
{
return theWrappedObject->invertedAppearance();
}
bool PythonQtWrapper_QProgressBar::isTextVisible(QProgressBar* theWrappedObject) const
{
return theWrappedObject->isTextVisible();
}
int PythonQtWrapper_QProgressBar::maximum(QProgressBar* theWrappedObject) const
{
return theWrappedObject->maximum();
}
int PythonQtWrapper_QProgressBar::minimum(QProgressBar* theWrappedObject) const
{
return theWrappedObject->minimum();
}
QSize PythonQtWrapper_QProgressBar::minimumSizeHint(QProgressBar* theWrappedObject) const
{
return theWrappedObject->minimumSizeHint();
}
Qt::Orientation PythonQtWrapper_QProgressBar::orientation(QProgressBar* theWrappedObject) const
{
return theWrappedObject->orientation();
}
void PythonQtWrapper_QProgressBar::setAlignment(QProgressBar* theWrappedObject, Qt::Alignment alignment)
{
theWrappedObject->setAlignment(alignment);
}
void PythonQtWrapper_QProgressBar::setFormat(QProgressBar* theWrappedObject, const QString& format)
{
theWrappedObject->setFormat(format);
}
void PythonQtWrapper_QProgressBar::setInvertedAppearance(QProgressBar* theWrappedObject, bool invert)
{
theWrappedObject->setInvertedAppearance(invert);
}
void PythonQtWrapper_QProgressBar::setTextDirection(QProgressBar* theWrappedObject, QProgressBar::Direction textDirection)
{
theWrappedObject->setTextDirection(textDirection);
}
void PythonQtWrapper_QProgressBar::setTextVisible(QProgressBar* theWrappedObject, bool visible)
{
theWrappedObject->setTextVisible(visible);
}
QSize PythonQtWrapper_QProgressBar::sizeHint(QProgressBar* theWrappedObject) const
{
return theWrappedObject->sizeHint();
}
QString PythonQtWrapper_QProgressBar::text(QProgressBar* theWrappedObject) const
{
return theWrappedObject->text();
}
QProgressBar::Direction PythonQtWrapper_QProgressBar::textDirection(QProgressBar* theWrappedObject)
{
return theWrappedObject->textDirection();
}
int PythonQtWrapper_QProgressBar::value(QProgressBar* theWrappedObject) const
{
return theWrappedObject->value();
}