##// 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_QAbstractSlider.h
68 lines | 2.9 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QABSTRACTSLIDER_H
#define PYTHONQTWRAPPER_QABSTRACTSLIDER_H
#include <qabstractslider.h>
#include <QObject>
#include <QVariant>
#include <qabstractslider.h>
#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 <qrect.h>
#include <qregion.h>
#include <qsize.h>
#include <qsizepolicy.h>
#include <qstyle.h>
#include <qwidget.h>
class PythonQtWrapper_QAbstractSlider : public QObject
{ Q_OBJECT
public:
Q_ENUMS(SliderAction )
enum SliderAction{
SliderNoAction = QAbstractSlider::SliderNoAction, SliderSingleStepAdd = QAbstractSlider::SliderSingleStepAdd, SliderSingleStepSub = QAbstractSlider::SliderSingleStepSub, SliderPageStepAdd = QAbstractSlider::SliderPageStepAdd, SliderPageStepSub = QAbstractSlider::SliderPageStepSub, SliderToMinimum = QAbstractSlider::SliderToMinimum, SliderToMaximum = QAbstractSlider::SliderToMaximum, SliderMove = QAbstractSlider::SliderMove};
public slots:
QAbstractSlider* new_QAbstractSlider(QWidget* parent = 0);
void delete_QAbstractSlider(QAbstractSlider* obj) { delete obj; }
bool hasTracking(QAbstractSlider* theWrappedObject) const;
bool invertedAppearance(QAbstractSlider* theWrappedObject) const;
bool invertedControls(QAbstractSlider* theWrappedObject) const;
bool isSliderDown(QAbstractSlider* theWrappedObject) const;
int maximum(QAbstractSlider* theWrappedObject) const;
int minimum(QAbstractSlider* theWrappedObject) const;
Qt::Orientation orientation(QAbstractSlider* theWrappedObject) const;
int pageStep(QAbstractSlider* theWrappedObject) const;
void setInvertedAppearance(QAbstractSlider* theWrappedObject, bool arg__1);
void setInvertedControls(QAbstractSlider* theWrappedObject, bool arg__1);
void setMaximum(QAbstractSlider* theWrappedObject, int arg__1);
void setMinimum(QAbstractSlider* theWrappedObject, int arg__1);
void setPageStep(QAbstractSlider* theWrappedObject, int arg__1);
void setRange(QAbstractSlider* theWrappedObject, int min, int max);
void setSingleStep(QAbstractSlider* theWrappedObject, int arg__1);
void setSliderDown(QAbstractSlider* theWrappedObject, bool arg__1);
void setSliderPosition(QAbstractSlider* theWrappedObject, int arg__1);
void setTracking(QAbstractSlider* theWrappedObject, bool enable);
int singleStep(QAbstractSlider* theWrappedObject) const;
int sliderPosition(QAbstractSlider* theWrappedObject) const;
void triggerAction(QAbstractSlider* theWrappedObject, QAbstractSlider::SliderAction action);
int value(QAbstractSlider* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QABSTRACTSLIDER_H