##// END OF EJS Templates
added experimental compacting to avoid generation of hundreds of files that all include the same stuff...
added experimental compacting to avoid generation of hundreds of files that all include the same stuff git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@128 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r92:f97ec94c87a9
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 bool promoted_event(QEvent* arg__1) { return QTabBar::event(arg__1); }
inline void promoted_paintEvent(QPaintEvent* arg__1) { QTabBar::paintEvent(arg__1); }
inline void promoted_tabLayoutChange() { QTabBar::tabLayoutChange(); }
inline void promoted_resizeEvent(QResizeEvent* arg__1) { QTabBar::resizeEvent(arg__1); }
inline void promoted_changeEvent(QEvent* arg__1) { QTabBar::changeEvent(arg__1); }
inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { QTabBar::mouseMoveEvent(arg__1); }
inline void promoted_tabRemoved(int index) { QTabBar::tabRemoved(index); }
inline void promoted_keyPressEvent(QKeyEvent* arg__1) { QTabBar::keyPressEvent(arg__1); }
inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { QTabBar::mouseReleaseEvent(arg__1); }
inline QSize promoted_tabSizeHint(int index) const { return QTabBar::tabSizeHint(index); }
inline void promoted_tabInserted(int index) { QTabBar::tabInserted(index); }
inline void promoted_showEvent(QShowEvent* arg__1) { QTabBar::showEvent(arg__1); }
inline void promoted_mousePressEvent(QMouseEvent* arg__1) { QTabBar::mousePressEvent(arg__1); }
};
class PythonQtWrapper_QTabBar : public QObject
{ Q_OBJECT
public:
public slots:
QTabBar* new_QTabBar(QWidget* parent = 0);
void delete_QTabBar(QTabBar* obj) { delete obj; }
void setTabIcon(QTabBar* theWrappedObject, int index, const QIcon& icon);
void setDrawBase(QTabBar* theWrappedObject, bool drawTheBase);
QSize iconSize(QTabBar* theWrappedObject) const;
bool event(QTabBar* theWrappedObject, QEvent* arg__1);
bool usesScrollButtons(QTabBar* theWrappedObject) const;
QColor tabTextColor(QTabBar* theWrappedObject, int index) const;
void setTabData(QTabBar* theWrappedObject, int index, const QVariant& data);
int currentIndex(QTabBar* theWrappedObject) const;
void setTabWhatsThis(QTabBar* theWrappedObject, int index, const QString& text);
void paintEvent(QTabBar* theWrappedObject, QPaintEvent* arg__1);
void setIconSize(QTabBar* theWrappedObject, const QSize& size);
QSize sizeHint(QTabBar* theWrappedObject) const;
QVariant tabData(QTabBar* theWrappedObject, int index) const;
QSize minimumSizeHint(QTabBar* theWrappedObject) const;
QString tabToolTip(QTabBar* theWrappedObject, int index) const;
void setTabToolTip(QTabBar* theWrappedObject, int index, const QString& tip);
void tabLayoutChange(QTabBar* theWrappedObject);
void resizeEvent(QTabBar* theWrappedObject, QResizeEvent* arg__1);
Qt::TextElideMode elideMode(QTabBar* theWrappedObject) const;
void changeEvent(QTabBar* theWrappedObject, QEvent* arg__1);
void setTabTextColor(QTabBar* theWrappedObject, int index, const QColor& color);
int insertTab(QTabBar* theWrappedObject, int index, const QString& text);
void mouseMoveEvent(QTabBar* theWrappedObject, QMouseEvent* arg__1);
int addTab(QTabBar* theWrappedObject, const QString& text);
int addTab(QTabBar* theWrappedObject, const QIcon& icon, const QString& text);
void removeTab(QTabBar* theWrappedObject, int index);
int tabAt(QTabBar* theWrappedObject, const QPoint& pos) const;
void tabRemoved(QTabBar* theWrappedObject, int index);
void setUsesScrollButtons(QTabBar* theWrappedObject, bool useButtons);
void keyPressEvent(QTabBar* theWrappedObject, QKeyEvent* arg__1);
QTabBar::Shape shape(QTabBar* theWrappedObject) const;
void mouseReleaseEvent(QTabBar* theWrappedObject, QMouseEvent* arg__1);
void setShape(QTabBar* theWrappedObject, QTabBar::Shape shape);
void setTabEnabled(QTabBar* theWrappedObject, int index, bool arg__2);
void setElideMode(QTabBar* theWrappedObject, Qt::TextElideMode arg__1);
bool drawBase(QTabBar* theWrappedObject) const;
QRect tabRect(QTabBar* theWrappedObject, int index) const;
bool isTabEnabled(QTabBar* theWrappedObject, int index) const;
QString tabText(QTabBar* theWrappedObject, int index) const;
QIcon tabIcon(QTabBar* theWrappedObject, int index) const;
QSize tabSizeHint(QTabBar* theWrappedObject, int index) const;
int count(QTabBar* theWrappedObject) const;
void tabInserted(QTabBar* theWrappedObject, int index);
QString tabWhatsThis(QTabBar* theWrappedObject, int index) const;
void showEvent(QTabBar* theWrappedObject, QShowEvent* arg__1);
int insertTab(QTabBar* theWrappedObject, int index, const QIcon& icon, const QString& text);
void setTabText(QTabBar* theWrappedObject, int index, const QString& text);
void mousePressEvent(QTabBar* theWrappedObject, QMouseEvent* arg__1);
};
#endif // PYTHONQTWRAPPER_QTABBAR_H