List of all members | Public Member Functions
QTabWidgetProto Class Reference

#include <qtabwidgetproto.h>

Inheritance diagram for QTabWidgetProto:
QObject QScriptable

Public Member Functions

 QTabWidgetProto (QObject *parent)
 
Q_INVOKABLE int addTab (QWidget *page, const QIcon &icon, const QString &label)
 
Q_INVOKABLE int addTab (QWidget *page, const QString &label)
 
Q_INVOKABLE void clear ()
 
Q_INVOKABLE QWidgetcornerWidget (int corner=1) const
 
Q_INVOKABLE int count () const
 
Q_INVOKABLE int currentIndex () const
 
Q_INVOKABLE QWidgetcurrentWidget () const
 
Q_INVOKABLE int elideMode () const
 
Q_INVOKABLE QSize iconSize () const
 
Q_INVOKABLE int indexOf (QWidget *w) const
 
Q_INVOKABLE int insertTab (int index, QWidget *page, const QIcon &icon, const QString &label)
 
Q_INVOKABLE int insertTab (int index, QWidget *page, const QString &label)
 
Q_INVOKABLE bool isTabEnabled (int index) const
 
Q_INVOKABLE void removeTab (int index)
 
Q_INVOKABLE void setCornerWidget (QWidget *widget, int corner=1)
 
Q_INVOKABLE void setElideMode (int)
 
Q_INVOKABLE void setIconSize (const QSize &size)
 
Q_INVOKABLE void setTabEnabled (int index, bool enable)
 
Q_INVOKABLE void setTabIcon (int index, const QIcon &icon)
 
Q_INVOKABLE void setTabPosition (int position)
 
Q_INVOKABLE void setTabShape (int s)
 
Q_INVOKABLE void setTabText (int index, const QString &label)
 
Q_INVOKABLE void setTabToolTip (int index, const QString &tip)
 
Q_INVOKABLE void setTabWhatsThis (int index, const QString &text)
 
Q_INVOKABLE void setUsesScrollButtons (bool useButtons)
 
Q_INVOKABLE QIcon tabIcon (int index) const
 
Q_INVOKABLE int tabPosition () const
 
Q_INVOKABLE int tabShape () const
 
Q_INVOKABLE QString tabText (int index) const
 
Q_INVOKABLE QString tabToolTip (int index) const
 
Q_INVOKABLE QString tabWhatsThis (int index) const
 
Q_INVOKABLE bool usesScrollButtons () const
 
Q_INVOKABLE QWidgetwidget (int index) const
 

Constructor & Destructor Documentation

◆ QTabWidgetProto()

QTabWidgetProto::QTabWidgetProto ( QObject parent)

Member Function Documentation

◆ addTab() [1/2]

int QTabWidgetProto::addTab ( QWidget page,
const QIcon &  icon,
const QString &  label 
)

◆ addTab() [2/2]

int QTabWidgetProto::addTab ( QWidget page,
const QString &  label 
)

◆ clear()

void QTabWidgetProto::clear ( )

◆ cornerWidget()

QWidget * QTabWidgetProto::cornerWidget ( int  corner = 1) const

◆ count()

int QTabWidgetProto::count ( ) const

◆ currentIndex()

int QTabWidgetProto::currentIndex ( ) const

◆ currentWidget()

QWidget * QTabWidgetProto::currentWidget ( ) const

◆ elideMode()

int QTabWidgetProto::elideMode ( ) const

◆ iconSize()

QSize QTabWidgetProto::iconSize ( ) const

◆ indexOf()

int QTabWidgetProto::indexOf ( QWidget w) const

◆ insertTab() [1/2]

int QTabWidgetProto::insertTab ( int  index,
QWidget page,
const QIcon &  icon,
const QString &  label 
)

◆ insertTab() [2/2]

int QTabWidgetProto::insertTab ( int  index,
QWidget page,
const QString &  label 
)

◆ isTabEnabled()

bool QTabWidgetProto::isTabEnabled ( int  index) const

◆ removeTab()

void QTabWidgetProto::removeTab ( int  index)

◆ setCornerWidget()

void QTabWidgetProto::setCornerWidget ( QWidget widget,
int  corner = 1 
)

◆ setElideMode()

void QTabWidgetProto::setElideMode ( int  mode)

◆ setIconSize()

void QTabWidgetProto::setIconSize ( const QSize &  size)

◆ setTabEnabled()

void QTabWidgetProto::setTabEnabled ( int  index,
bool  enable 
)

◆ setTabIcon()

void QTabWidgetProto::setTabIcon ( int  index,
const QIcon &  icon 
)

◆ setTabPosition()

void QTabWidgetProto::setTabPosition ( int  position)

◆ setTabShape()

void QTabWidgetProto::setTabShape ( int  s)

◆ setTabText()

void QTabWidgetProto::setTabText ( int  index,
const QString &  label 
)

◆ setTabToolTip()

void QTabWidgetProto::setTabToolTip ( int  index,
const QString &  tip 
)

◆ setTabWhatsThis()

void QTabWidgetProto::setTabWhatsThis ( int  index,
const QString &  text 
)

◆ setUsesScrollButtons()

void QTabWidgetProto::setUsesScrollButtons ( bool  useButtons)

◆ tabIcon()

QIcon QTabWidgetProto::tabIcon ( int  index) const

◆ tabPosition()

int QTabWidgetProto::tabPosition ( ) const

◆ tabShape()

int QTabWidgetProto::tabShape ( ) const

◆ tabText()

QString QTabWidgetProto::tabText ( int  index) const

◆ tabToolTip()

QString QTabWidgetProto::tabToolTip ( int  index) const

◆ tabWhatsThis()

QString QTabWidgetProto::tabWhatsThis ( int  index) const

◆ usesScrollButtons()

bool QTabWidgetProto::usesScrollButtons ( ) const

◆ widget()

QWidget * QTabWidgetProto::widget ( int  index) const

The documentation for this class was generated from the following files:

Generated on Fri Apr 9 2021 xTuple ERP Programmer Reference, Version 6.0.0 doxygen 1.8.17