##// 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_QTabBar.h
164 lines | 7.5 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QTABBAR_H
#define PYTHONQTWRAPPER_QTABBAR_H
#include <qtabbar.h>
#include <QObject>
#include <PythonQt.h>
#include <QIcon>
#include <QVariant>
#include <qaction.h>
#include <qbitmap.h>
#include <qbytearray.h>
#include <qcolor.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 <qstyleoption.h>
#include <qtabbar.h>
#include <qwidget.h>
class PythonQtShell_QTabBar : public QTabBar
{
public:
PythonQtShell_QTabBar(QWidget* parent = 0):QTabBar(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 showEvent(QShowEvent* arg__1);
virtual void tabInserted(int index);
virtual void tabLayoutChange();
virtual void tabRemoved(int index);
virtual QSize tabSizeHint(int index) const;
virtual void tabletEvent(QTabletEvent* arg__1);
virtual void timerEvent(QTimerEvent* arg__1);
virtual void wheelEvent(QWheelEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QTabBar : public QTabBar
{ public:
inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { QTabBar::mouseMoveEvent(arg__1); }
inline void promoted_tabInserted(int index) { QTabBar::tabInserted(index); }
inline void promoted_paintEvent(QPaintEvent* arg__1) { QTabBar::paintEvent(arg__1); }
inline bool promoted_event(QEvent* arg__1) { return QTabBar::event(arg__1); }
inline void promoted_keyPressEvent(QKeyEvent* arg__1) { QTabBar::keyPressEvent(arg__1); }
inline void promoted_mousePressEvent(QMouseEvent* arg__1) { QTabBar::mousePressEvent(arg__1); }
inline void promoted_tabLayoutChange() { QTabBar::tabLayoutChange(); }
inline void promoted_showEvent(QShowEvent* arg__1) { QTabBar::showEvent(arg__1); }
inline void promoted_resizeEvent(QResizeEvent* arg__1) { QTabBar::resizeEvent(arg__1); }
inline void promoted_tabRemoved(int index) { QTabBar::tabRemoved(index); }
inline void promoted_changeEvent(QEvent* arg__1) { QTabBar::changeEvent(arg__1); }
inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { QTabBar::mouseReleaseEvent(arg__1); }
inline QSize promoted_tabSizeHint(int index) const { return QTabBar::tabSizeHint(index); }
};
class PythonQtWrapper_QTabBar : public QObject
{ Q_OBJECT
public:
public slots:
QTabBar* new_QTabBar(QWidget* parent = 0);
void delete_QTabBar(QTabBar* obj) { delete obj; }
void setElideMode(QTabBar* theWrappedObject, Qt::TextElideMode arg__1);
void mouseMoveEvent(QTabBar* theWrappedObject, QMouseEvent* arg__1);
void tabInserted(QTabBar* theWrappedObject, int index);
int tabAt(QTabBar* theWrappedObject, const QPoint& pos) const;
bool drawBase(QTabBar* theWrappedObject) const;
QTabBar::Shape shape(QTabBar* theWrappedObject) const;
void paintEvent(QTabBar* theWrappedObject, QPaintEvent* arg__1);
void setIconSize(QTabBar* theWrappedObject, const QSize& size);
int count(QTabBar* theWrappedObject) const;
void setShape(QTabBar* theWrappedObject, QTabBar::Shape shape);
bool event(QTabBar* theWrappedObject, QEvent* arg__1);
void setTabText(QTabBar* theWrappedObject, int index, const QString& text);
void keyPressEvent(QTabBar* theWrappedObject, QKeyEvent* arg__1);
void mousePressEvent(QTabBar* theWrappedObject, QMouseEvent* arg__1);
void setTabEnabled(QTabBar* theWrappedObject, int index, bool arg__2);
QString tabWhatsThis(QTabBar* theWrappedObject, int index) const;
QSize iconSize(QTabBar* theWrappedObject) const;
void tabLayoutChange(QTabBar* theWrappedObject);
int insertTab(QTabBar* theWrappedObject, int index, const QIcon& icon, const QString& text);
QIcon tabIcon(QTabBar* theWrappedObject, int index) const;
void showEvent(QTabBar* theWrappedObject, QShowEvent* arg__1);
QColor tabTextColor(QTabBar* theWrappedObject, int index) const;
Qt::TextElideMode elideMode(QTabBar* theWrappedObject) const;
void removeTab(QTabBar* theWrappedObject, int index);
QSize minimumSizeHint(QTabBar* theWrappedObject) const;
void setTabToolTip(QTabBar* theWrappedObject, int index, const QString& tip);
QString tabToolTip(QTabBar* theWrappedObject, int index) const;
void resizeEvent(QTabBar* theWrappedObject, QResizeEvent* arg__1);
void tabRemoved(QTabBar* theWrappedObject, int index);
void setUsesScrollButtons(QTabBar* theWrappedObject, bool useButtons);
void changeEvent(QTabBar* theWrappedObject, QEvent* arg__1);
QVariant tabData(QTabBar* theWrappedObject, int index) const;
QRect tabRect(QTabBar* theWrappedObject, int index) const;
bool isTabEnabled(QTabBar* theWrappedObject, int index) const;
int addTab(QTabBar* theWrappedObject, const QString& text);
QSize sizeHint(QTabBar* theWrappedObject) const;
int addTab(QTabBar* theWrappedObject, const QIcon& icon, const QString& text);
void mouseReleaseEvent(QTabBar* theWrappedObject, QMouseEvent* arg__1);
QSize tabSizeHint(QTabBar* theWrappedObject, int index) const;
bool usesScrollButtons(QTabBar* theWrappedObject) const;
void setTabIcon(QTabBar* theWrappedObject, int index, const QIcon& icon);
int insertTab(QTabBar* theWrappedObject, int index, const QString& text);
QString tabText(QTabBar* theWrappedObject, int index) const;
void setDrawBase(QTabBar* theWrappedObject, bool drawTheBase);
void setTabTextColor(QTabBar* theWrappedObject, int index, const QColor& color);
void setTabData(QTabBar* theWrappedObject, int index, const QVariant& data);
void setTabWhatsThis(QTabBar* theWrappedObject, int index, const QString& text);
int currentIndex(QTabBar* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QTABBAR_H