|
|
#ifndef PYTHONQTWRAPPER_QTABBAR_H
|
|
|
#define PYTHONQTWRAPPER_QTABBAR_H
|
|
|
|
|
|
#include <qtabbar.h>
|
|
|
#include <QObject>
|
|
|
|
|
|
#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 PythonQtWrapper_QTabBar : public QObject
|
|
|
{ Q_OBJECT
|
|
|
public:
|
|
|
public slots:
|
|
|
QTabBar* new_QTabBar(QWidget* parent = 0);
|
|
|
void delete_QTabBar(QTabBar* obj) { delete obj; }
|
|
|
int addTab(QTabBar* theWrappedObject, const QIcon& icon, const QString& text);
|
|
|
int addTab(QTabBar* theWrappedObject, const QString& text);
|
|
|
int count(QTabBar* theWrappedObject) const;
|
|
|
int currentIndex(QTabBar* theWrappedObject) const;
|
|
|
bool drawBase(QTabBar* theWrappedObject) const;
|
|
|
Qt::TextElideMode elideMode(QTabBar* theWrappedObject) const;
|
|
|
QSize iconSize(QTabBar* theWrappedObject) const;
|
|
|
int insertTab(QTabBar* theWrappedObject, int index, const QIcon& icon, const QString& text);
|
|
|
int insertTab(QTabBar* theWrappedObject, int index, const QString& text);
|
|
|
bool isTabEnabled(QTabBar* theWrappedObject, int index) const;
|
|
|
QSize minimumSizeHint(QTabBar* theWrappedObject) const;
|
|
|
void removeTab(QTabBar* theWrappedObject, int index);
|
|
|
void setDrawBase(QTabBar* theWrappedObject, bool drawTheBase);
|
|
|
void setElideMode(QTabBar* theWrappedObject, Qt::TextElideMode arg__1);
|
|
|
void setIconSize(QTabBar* theWrappedObject, const QSize& size);
|
|
|
void setShape(QTabBar* theWrappedObject, QTabBar::Shape shape);
|
|
|
void setTabData(QTabBar* theWrappedObject, int index, const QVariant& data);
|
|
|
void setTabEnabled(QTabBar* theWrappedObject, int index, bool arg__2);
|
|
|
void setTabIcon(QTabBar* theWrappedObject, int index, const QIcon& icon);
|
|
|
void setTabText(QTabBar* theWrappedObject, int index, const QString& text);
|
|
|
void setTabTextColor(QTabBar* theWrappedObject, int index, const QColor& color);
|
|
|
void setTabToolTip(QTabBar* theWrappedObject, int index, const QString& tip);
|
|
|
void setTabWhatsThis(QTabBar* theWrappedObject, int index, const QString& text);
|
|
|
void setUsesScrollButtons(QTabBar* theWrappedObject, bool useButtons);
|
|
|
QTabBar::Shape shape(QTabBar* theWrappedObject) const;
|
|
|
QSize sizeHint(QTabBar* theWrappedObject) const;
|
|
|
int tabAt(QTabBar* theWrappedObject, const QPoint& pos) const;
|
|
|
QVariant tabData(QTabBar* theWrappedObject, int index) const;
|
|
|
QIcon tabIcon(QTabBar* theWrappedObject, int index) const;
|
|
|
QRect tabRect(QTabBar* theWrappedObject, int index) const;
|
|
|
QString tabText(QTabBar* theWrappedObject, int index) const;
|
|
|
QColor tabTextColor(QTabBar* theWrappedObject, int index) const;
|
|
|
QString tabToolTip(QTabBar* theWrappedObject, int index) const;
|
|
|
QString tabWhatsThis(QTabBar* theWrappedObject, int index) const;
|
|
|
bool usesScrollButtons(QTabBar* theWrappedObject) const;
|
|
|
};
|
|
|
|
|
|
#endif // PYTHONQTWRAPPER_QTABBAR_H
|
|
|
|