##// END OF EJS Templates
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes...
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@70 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r34:5daedfb035c8
Show More
PythonQtWrapper_QScrollArea.h
119 lines | 4.7 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QSCROLLAREA_H
#define PYTHONQTWRAPPER_QSCROLLAREA_H
#include <qscrollarea.h>
#include <QObject>
#include <PythonQt.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 <qrect.h>
#include <qregion.h>
#include <qscrollarea.h>
#include <qscrollbar.h>
#include <qsize.h>
#include <qsizepolicy.h>
#include <qstyle.h>
#include <qwidget.h>
class PythonQtShell_QScrollArea : public QScrollArea
{
public:
PythonQtShell_QScrollArea(QWidget* parent = 0):QScrollArea(parent),_wrapper(NULL) {};
virtual void actionEvent(QActionEvent* arg__1);
virtual void changeEvent(QEvent* arg__1);
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* arg__1);
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* arg__1);
virtual void keyReleaseEvent(QKeyEvent* arg__1);
virtual void languageChange();
virtual void leaveEvent(QEvent* arg__1);
virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) 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 scrollContentsBy(int dx, int dy);
virtual void showEvent(QShowEvent* arg__1);
virtual void tabletEvent(QTabletEvent* arg__1);
virtual void timerEvent(QTimerEvent* arg__1);
virtual bool viewportEvent(QEvent* arg__1);
virtual void wheelEvent(QWheelEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QScrollArea : public QScrollArea
{ public:
inline void promoted_resizeEvent(QResizeEvent* arg__1) { QScrollArea::resizeEvent(arg__1); }
inline bool promoted_focusNextPrevChild(bool next) { return QScrollArea::focusNextPrevChild(next); }
inline void promoted_scrollContentsBy(int dx, int dy) { QScrollArea::scrollContentsBy(dx, dy); }
inline bool promoted_eventFilter(QObject* arg__1, QEvent* arg__2) { return QScrollArea::eventFilter(arg__1, arg__2); }
inline bool promoted_event(QEvent* arg__1) { return QScrollArea::event(arg__1); }
};
class PythonQtWrapper_QScrollArea : public QObject
{ Q_OBJECT
public:
public slots:
QScrollArea* new_QScrollArea(QWidget* parent = 0);
void delete_QScrollArea(QScrollArea* obj) { delete obj; }
void setWidget(QScrollArea* theWrappedObject, QWidget* widget);
void resizeEvent(QScrollArea* theWrappedObject, QResizeEvent* arg__1);
Qt::Alignment alignment(QScrollArea* theWrappedObject) const;
QSize sizeHint(QScrollArea* theWrappedObject) const;
bool focusNextPrevChild(QScrollArea* theWrappedObject, bool next);
void ensureVisible(QScrollArea* theWrappedObject, int x, int y, int xmargin = 50, int ymargin = 50);
QWidget* widget(QScrollArea* theWrappedObject) const;
void scrollContentsBy(QScrollArea* theWrappedObject, int dx, int dy);
void ensureWidgetVisible(QScrollArea* theWrappedObject, QWidget* childWidget, int xmargin = 50, int ymargin = 50);
bool eventFilter(QScrollArea* theWrappedObject, QObject* arg__1, QEvent* arg__2);
bool widgetResizable(QScrollArea* theWrappedObject) const;
bool event(QScrollArea* theWrappedObject, QEvent* arg__1);
void setAlignment(QScrollArea* theWrappedObject, Qt::Alignment arg__1);
void setWidgetResizable(QScrollArea* theWrappedObject, bool resizable);
QWidget* takeWidget(QScrollArea* theWrappedObject);
};
#endif // PYTHONQTWRAPPER_QSCROLLAREA_H