PythonQtWrapper_QAbstractSlider.h
134 lines
| 5.9 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QABSTRACTSLIDER_H | ||
#define PYTHONQTWRAPPER_QABSTRACTSLIDER_H | ||||
#include <qabstractslider.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #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> | ||||
florianlink
|
r24 | class PythonQtShell_QAbstractSlider : public QAbstractSlider | ||
{ | ||||
public: | ||||
PythonQtShell_QAbstractSlider(QWidget* parent = 0):QAbstractSlider(parent),_wrapper(NULL) {}; | ||||
virtual void actionEvent(QActionEvent* arg__1); | ||||
virtual void changeEvent(QEvent* e); | ||||
virtual void childEvent(QChildEvent* arg__1); | ||||
virtual void closeEvent(QCloseEvent* arg__1); | ||||
virtual void contextMenuEvent(QContextMenuEvent* arg__1); | ||||
virtual void customEvent(QEvent* arg__1); | ||||
virtual int devType() const; | ||||
virtual void dragEnterEvent(QDragEnterEvent* arg__1); | ||||
virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); | ||||
virtual void dragMoveEvent(QDragMoveEvent* arg__1); | ||||
virtual void dropEvent(QDropEvent* arg__1); | ||||
virtual void enterEvent(QEvent* arg__1); | ||||
virtual bool event(QEvent* e); | ||||
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||||
virtual void focusInEvent(QFocusEvent* arg__1); | ||||
virtual bool focusNextPrevChild(bool next); | ||||
virtual void focusOutEvent(QFocusEvent* arg__1); | ||||
virtual int heightForWidth(int arg__1) const; | ||||
virtual void hideEvent(QHideEvent* arg__1); | ||||
virtual void inputMethodEvent(QInputMethodEvent* arg__1); | ||||
virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; | ||||
virtual void keyPressEvent(QKeyEvent* ev); | ||||
virtual void keyReleaseEvent(QKeyEvent* arg__1); | ||||
virtual void languageChange(); | ||||
virtual void leaveEvent(QEvent* arg__1); | ||||
virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; | ||||
virtual QSize minimumSizeHint() const; | ||||
virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); | ||||
virtual void mouseMoveEvent(QMouseEvent* arg__1); | ||||
virtual void mousePressEvent(QMouseEvent* arg__1); | ||||
virtual void mouseReleaseEvent(QMouseEvent* arg__1); | ||||
virtual void moveEvent(QMoveEvent* arg__1); | ||||
virtual QPaintEngine* paintEngine() const; | ||||
virtual void paintEvent(QPaintEvent* arg__1); | ||||
virtual void resizeEvent(QResizeEvent* arg__1); | ||||
virtual void showEvent(QShowEvent* arg__1); | ||||
virtual QSize sizeHint() const; | ||||
virtual void sliderChange(QAbstractSlider::SliderChange change); | ||||
virtual void tabletEvent(QTabletEvent* arg__1); | ||||
virtual void timerEvent(QTimerEvent* arg__1); | ||||
virtual void wheelEvent(QWheelEvent* e); | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
class PythonQtPublicPromoter_QAbstractSlider : public QAbstractSlider | ||||
{ public: | ||||
florianlink
|
r28 | inline bool promoted_event(QEvent* e) { return QAbstractSlider::event(e); } | ||
inline void promoted_wheelEvent(QWheelEvent* e) { QAbstractSlider::wheelEvent(e); } | ||||
florianlink
|
r73 | inline void promoted_changeEvent(QEvent* e) { QAbstractSlider::changeEvent(e); } | ||
inline void promoted_timerEvent(QTimerEvent* arg__1) { QAbstractSlider::timerEvent(arg__1); } | ||||
inline void promoted_keyPressEvent(QKeyEvent* ev) { QAbstractSlider::keyPressEvent(ev); } | ||||
florianlink
|
r24 | }; | ||
florianlink
|
r13 | 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; } | ||||
florianlink
|
r73 | void setMinimum(QAbstractSlider* theWrappedObject, int arg__1); | ||
florianlink
|
r24 | void setTracking(QAbstractSlider* theWrappedObject, bool enable); | ||
florianlink
|
r73 | int pageStep(QAbstractSlider* theWrappedObject) const; | ||
florianlink
|
r24 | void setRange(QAbstractSlider* theWrappedObject, int min, int max); | ||
florianlink
|
r73 | void setSliderDown(QAbstractSlider* theWrappedObject, bool arg__1); | ||
florianlink
|
r24 | void setSingleStep(QAbstractSlider* theWrappedObject, int arg__1); | ||
bool event(QAbstractSlider* theWrappedObject, QEvent* e); | ||||
florianlink
|
r73 | int value(QAbstractSlider* theWrappedObject) const; | ||
florianlink
|
r13 | bool invertedControls(QAbstractSlider* theWrappedObject) const; | ||
florianlink
|
r73 | void wheelEvent(QAbstractSlider* theWrappedObject, QWheelEvent* e); | ||
bool hasTracking(QAbstractSlider* theWrappedObject) const; | ||||
florianlink
|
r13 | int maximum(QAbstractSlider* theWrappedObject) const; | ||
Qt::Orientation orientation(QAbstractSlider* theWrappedObject) const; | ||||
florianlink
|
r73 | bool isSliderDown(QAbstractSlider* theWrappedObject) const; | ||
void setMaximum(QAbstractSlider* theWrappedObject, int arg__1); | ||||
florianlink
|
r28 | void triggerAction(QAbstractSlider* theWrappedObject, QAbstractSlider::SliderAction action); | ||
florianlink
|
r24 | int minimum(QAbstractSlider* theWrappedObject) const; | ||
florianlink
|
r73 | bool invertedAppearance(QAbstractSlider* theWrappedObject) const; | ||
florianlink
|
r28 | void setSliderPosition(QAbstractSlider* theWrappedObject, int arg__1); | ||
florianlink
|
r73 | void changeEvent(QAbstractSlider* theWrappedObject, QEvent* e); | ||
int sliderPosition(QAbstractSlider* theWrappedObject) const; | ||||
void timerEvent(QAbstractSlider* theWrappedObject, QTimerEvent* arg__1); | ||||
void setInvertedControls(QAbstractSlider* theWrappedObject, bool arg__1); | ||||
void setPageStep(QAbstractSlider* theWrappedObject, int arg__1); | ||||
void keyPressEvent(QAbstractSlider* theWrappedObject, QKeyEvent* ev); | ||||
florianlink
|
r28 | void setInvertedAppearance(QAbstractSlider* theWrappedObject, bool arg__1); | ||
florianlink
|
r73 | int singleStep(QAbstractSlider* theWrappedObject) const; | ||
florianlink
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QABSTRACTSLIDER_H | ||||