PythonQtWrapper_QTabWidget.h
80 lines
| 3.6 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QTABWIDGET_H | ||
#define PYTHONQTWRAPPER_QTABWIDGET_H | ||||
#include <qtabwidget.h> | ||||
#include <QObject> | ||||
#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 <qsize.h> | ||||
#include <qsizepolicy.h> | ||||
#include <qstyle.h> | ||||
#include <qstyleoption.h> | ||||
#include <qtabbar.h> | ||||
#include <qtabwidget.h> | ||||
#include <qwidget.h> | ||||
class PythonQtWrapper_QTabWidget : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QTabWidget* new_QTabWidget(QWidget* parent = 0); | ||||
void delete_QTabWidget(QTabWidget* obj) { delete obj; } | ||||
int addTab(QTabWidget* theWrappedObject, QWidget* widget, const QIcon& icon, const QString& label); | ||||
int addTab(QTabWidget* theWrappedObject, QWidget* widget, const QString& arg__2); | ||||
void clear(QTabWidget* theWrappedObject); | ||||
QWidget* cornerWidget(QTabWidget* theWrappedObject, Qt::Corner corner = Qt::TopRightCorner) const; | ||||
int count(QTabWidget* theWrappedObject) const; | ||||
int currentIndex(QTabWidget* theWrappedObject) const; | ||||
QWidget* currentWidget(QTabWidget* theWrappedObject) const; | ||||
Qt::TextElideMode elideMode(QTabWidget* theWrappedObject) const; | ||||
QSize iconSize(QTabWidget* theWrappedObject) const; | ||||
int indexOf(QTabWidget* theWrappedObject, QWidget* widget) const; | ||||
int insertTab(QTabWidget* theWrappedObject, int index, QWidget* widget, const QIcon& icon, const QString& label); | ||||
int insertTab(QTabWidget* theWrappedObject, int index, QWidget* widget, const QString& arg__3); | ||||
bool isTabEnabled(QTabWidget* theWrappedObject, int index) const; | ||||
QSize minimumSizeHint(QTabWidget* theWrappedObject) const; | ||||
void removeTab(QTabWidget* theWrappedObject, int index); | ||||
void setCornerWidget(QTabWidget* theWrappedObject, QWidget* w, Qt::Corner corner = Qt::TopRightCorner); | ||||
void setElideMode(QTabWidget* theWrappedObject, Qt::TextElideMode arg__1); | ||||
void setIconSize(QTabWidget* theWrappedObject, const QSize& size); | ||||
void setTabEnabled(QTabWidget* theWrappedObject, int index, bool arg__2); | ||||
void setTabIcon(QTabWidget* theWrappedObject, int index, const QIcon& icon); | ||||
void setTabPosition(QTabWidget* theWrappedObject, QTabWidget::TabPosition arg__1); | ||||
void setTabShape(QTabWidget* theWrappedObject, QTabWidget::TabShape s); | ||||
void setTabText(QTabWidget* theWrappedObject, int index, const QString& arg__2); | ||||
void setTabToolTip(QTabWidget* theWrappedObject, int index, const QString& tip); | ||||
void setTabWhatsThis(QTabWidget* theWrappedObject, int index, const QString& text); | ||||
void setUsesScrollButtons(QTabWidget* theWrappedObject, bool useButtons); | ||||
QSize sizeHint(QTabWidget* theWrappedObject) const; | ||||
QIcon tabIcon(QTabWidget* theWrappedObject, int index) const; | ||||
QTabWidget::TabPosition tabPosition(QTabWidget* theWrappedObject) const; | ||||
QTabWidget::TabShape tabShape(QTabWidget* theWrappedObject) const; | ||||
QString tabText(QTabWidget* theWrappedObject, int index) const; | ||||
QString tabToolTip(QTabWidget* theWrappedObject, int index) const; | ||||
QString tabWhatsThis(QTabWidget* theWrappedObject, int index) const; | ||||
bool usesScrollButtons(QTabWidget* theWrappedObject) const; | ||||
QWidget* widget(QTabWidget* theWrappedObject, int index) const; | ||||
}; | ||||
#endif // PYTHONQTWRAPPER_QTABWIDGET_H | ||||